User:Zoolver/vector.js

From Wikipedia, the free encyclopedia
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.
// 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/webreflinks.py?citeweb=checked&lang=" + mw.config.get('wgContentLanguage')
  + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpDiff", // updated tool URL as of 27 December 2020
  "Reflinks"  // link label
)});
importScript( 'User:Enterprisey/archiver.js' ); // Backlink: [[User:Enterprisey/archiver.js]]