Jump to content

User:Mann Mann/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mann Mann (talk | contribs) at 16:48, 19 August 2022 (WP:REFLINKS). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:IceWelder/citationstyle.js'); // Backlink: [[User:IceWelder/citationstyle.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Andy M. Wang/pageswap.js'); // Backlink: [[User:Andy M. Wang/pageswap.js]]
importScript('User:TheTVExpert/rmCloser.js'); // Backlink: [[User:TheTVExpert/rmCloser.js]]
// Add [[WP:Reflinks]] launcher in the toolbox on left
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://69.142.160.183/~dispenser/cgi-bin/reflinks.py?lang=" + mw.config.get('wgContentLanguage')
  + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpPreview", // updated tool URL as of 27 December 2020
  "Reflinks"  // link label
)});