User:Benzband/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Benzband/common.css. |
// [[User:js/urldecoder]]
// Easy pasting of links into wikicode (paste URL then click button to convert to wikilink).
importScript('user:js/urldecoder.js');
// [[User:Ucucha/HarvErrors]]
// Checks Harvard citations links for validity and displays error message for incorrect links, also checks for citations set up to receive links but not linked to.
importScript('User:Ucucha/HarvErrors.js');
inspectText = "+";
showText = "+";
hideText = "-";
// [[User:Writ Keeper/Scripts/commonHistory]]
// Provides in-place diff functionality to recent changes, watchlist, contributions, and page histories.
inspectText = "+";
showText = "+";
hideText = "-";
importScript('User:Writ Keeper/Scripts/commonHistory.js');
// [[User:Equazcion/SidebarHistoryTools]]
// Puts the history page's Toolserver links (plus page logs link) into the sidebar.
importScript('User:Equazcion/SidebarHistoryTools.js');
// [[User:Evad37/duplinks-alt]]
// Highlights in red (first occurrence in green) links that occur more than once in an article.
importScript('User:Evad37/duplinks-alt.js');
// [[User:Δ/Copyvio Detection Candidates.js]]
importScript('User:Δ/Copyvio Detection Candidates.js');
// [[User:Bility/copySectionLink]]
// Adds hidden pilcrow (¶) after editable section titles. Appears on mouse-over and links to section.
importScript('User:Bility/copySectionLink.js');
// [[User:Anomie/ajaxpreview.js]]
// Adds a button to the edit form to preview the current section, with a references section included.
importScript('User:Anomie/ajaxpreview.js');
// [[User:Anomie/rollback-prompt.js]]
// Modifies all "rollback" links to prompt for an edit summary (and prevent accidental rollbacks).
importScript('User:Anomie/rollback-prompt.js');
// [[User:Anomie/useridentifier.js]]
// Add an icon to user pages to display some basic information about the user.
importScript('User:Anomie/useridentifier.js');
// [[Wikipedia:AutoEd]]
// Enables all AutoEd functions
importScript('Wikipedia:AutoEd/complete.js');
// [[Wikipedia:WikiProject User scripts/Scripts/Force edit summary alternative]]
// Flashes edit summary box if no edit summary is provided.
importScript('Wikipedia:WikiProject User scripts/Scripts/Force edit summary alternative');
// [[User:Cameltrader/Advisor]]
// identifies common formatting and stylistic issues by examining the wikitext as you type
importScript('User:Cameltrader/Advisor.js');
// [[User:Equazcion/UniversalTransclusionPreviews]]
// Makes the transclusion preview function (normally only seen when editing Template pages) available while editing any page.
importScript('User:Equazcion/UniversalTransclusionPreviews.js');
// [[User:Salix alba/Citoid]]
// Creates a "Citoid" (used to generate citation templates from a URL) link in the Toolbox. See https://www.mediawiki.org/wiki/Citoid
importScript('User:Salix alba/Citoid.js');
// [[User:Kephir/gadgets/rater]]
// Places a "Rate" button next to the watchlist switch, which brings up a dialog box assisting in assessment of articles with WikiProject banners.
importScript('User:Kephir/gadgets/rater.js');
// [[User:Equazcion/ContribsTabVector]]
// Adds "Contribs" and "Stats" tabs to User and User talk pages.
importScript('User:Equazcion/ContribsTabVector.js');
var contribsTab = true;
var contribsTabStats = true;
var contribsTabName = "Contribs";
var contribsTabStatsName = "Stats";
var contribsTabNumber = 50;
// [[User:Anomie/unwatch.js]]
// Add "unwatch" links to the watchlist.
importScript('User:Anomie/unwatch.js');
// I've forgotten what this does...
mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:ArticleFeedbackv5/"+wgPageName), 'Feedback');
// [[User:Dispenser/Reflinks]]
// Add Reflinks launcher in the toolbox on left.
$(function () {
mw.util.addPortletLink(
"p-tb", // toolbox portlet
"http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
+ "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
"Reflinks" // link label
)}); // [[User:Dispenser/Reflinks]]
/* Ctrl-click (PC) or Command-click (Mac) to open search in new tab */
/* commons.wikimedia.org/wiki/User_talk:Timeshifter/Open_search_in_new_tab.js */
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Timeshifter/Open_search_in_new_tab.js&action=raw&ctype=text/javascript');
/** UNUSED
*
* // User:This, that and the other/friendlywhisperback.js
* // Twinkle whisperback module.
* importScript('User:This, that and the other/friendlywhisperback.js');
*
* // User:Lupin/recent2.js
* // Anti-Vandal Tool. Hits the RSS feed for recent changes every 30 seconds or so and checks for common vandalism.
* importScript('User:Lupin/recent2.js');
*
* // User:Shubinator/DYKcheck
* // Checks Did You Know eligibility.
* importScript('User:Shubinator/DYKcheck.js');
*
* // User:Benzband/CompactTabs.js
* // For compacting Vector tabs. Change name of tabs by activating script and editing names in script source.
* importScript('User:Benzband/CompactTabs.js');
*
* // User:Ais523/catwatch
* // For each category you're watching, shows on Watchlist the page most recently added to the category, as if an edit to the category, at the time it was added.
* importScript('User:Ais523/catwatch.js');
*
* // User:UncleDouggie/smart watchlist.js
* // Provides ability to selectively hide and/or highlight changes in Watchlist display.
* importScript('User:UncleDouggie/smart watchlist.js');
*
* // user:js/watchlist
* // Adds a tab along top of Watchlist toggling display of the messages/options/etc at top of page, plus provides some links to its "Watchlist options" box.
* if (mw.config.get('wgCanonicalSpecialPageName') == 'Watchlist')
* importScript('user:js/watchlist.js');
*
* // User:Dr_pda/prosesize
* // Adds a "Page size" link to the toolbox.
* importScript('User:Dr_pda/prosesize.js');
*
* // User:Anomie/pagestats.js
* // Add view/edit/readability stats and "Check external links" links to the toolbox.
* importScript('User:Anomie/pagestats.js');
*
* // User:Anomie/lastmod
* // Displays "last modified" info at top of page, just under page title.
* importScript('User:Anomie/lastmod.js');
*
* // User:Rcsprinter123/motdtools.js
* // Makes MOTD maintenance easier.
* importScript('User:Rcsprinter123/motdtools.js');
*
* // User:Zhaofeng Li/reFill
* // Adds reFill (open-source replacement of Reflinks) launcher in toolbox.
* mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
*
*/