Jump to content

User:Alansohn/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alansohn (talk | contribs) at 23:23, 9 August 2011 (add code for 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.
// [[User:Lupin/popups.js]] - please include this line 

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]

importScript('User:AzaToth/twinkle.js');

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

importScript('Wikipedia:AutoEd/basic.js');

popupFixDabs=true

// Add [[WP:Reflinks]] launcher in the toolbox on left
addOnloadHook(function () {
 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
)});