Jump to content

User:Dfrg.msc/monobook.js

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Ladsgroup (talk | contribs) at 22:39, 18 May 2022 (Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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]]

// [[User:Zocky/PicturePopups.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js' 
             + '&action=raw&ctype=text/javascript');

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

mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');
// [[User:Lupin/popups.js]]

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

//<pre><nowiki> Admin-like RC Patrol tools

function winc(s) {
    s = s.replace(/^\[\[/, '').replace(/\]\]$/, '');
    document.write('<script type="text/javascript" src="'
             + 'http://en.wikipedia.org/w/index.php?title=' + s
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}

winc('[[User:Voice_of_All/Addtabs/monobook.js]]'); // Helper tools   
winc('[[User:Cactus.man/Scripts/MoreTabs.js]]');         // Additional tabs for user & project pages 
winc('[[User:Voice_of_All/Revert/monobook.js]]'); // Diff page links 
winc('[[User:Voice_of_All/Deletion/monobook.js]]'); // AfD/PfD/Copyvio and tagging tabs
winc('[[User:VoA/monobook.js]]'); // Admin-like RC Patrol tools

//</nowiki></pre>[[Category:Wikipedians who use RC script ]]