Jump to content

User:Shirulashem/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Shirulashem (talk | contribs) at 01:48, 21 January 2009 (more). 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:AzaToth/twinkle.js');

importScript('User:Lupin/recent2.js');

importScript('User:Mr.Z-man/refToolbar.js');

// [[User:Henrik/live-edit-counter]]
// importScript('User:Henrik/js/live-edit-counter.js');

importScript('User:Ioeth/friendly.js');

/** Checklinks toolbox item ***************************************************
 * 
 *  Description: Adds an item in toolbox portlet that runs the checklinks tool 
 *               on the viewed page.
 *  Maintainers: [[User:Dispenser]]
 *  Installation: Copy and paste following code into you /monobook.js
 *  <nowiki>         {{subst:js|User:Dispenser/Link checker/toolbox.js}}
 *  </nowiki>
 */
function checklinks(){
    addPortletLink('p-tb', 'http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=' + wgContentLanguage + ':' + wgPageName, 'Check external links', 't-checklinks');
    }
if(wgIsArticle){
    addOnloadHook(checklinks);
    }