Jump to content

User:Shardsofmetal/monobook.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.
// <syntaxhighlight lang=javascript>

// In order to keep this file clean, everything in here is included from another file.

// This function is used to include scripts from other Wikipedia pages in mine.  I got it from 
// [User:Quarl/monobook.js]]. 

// Include scripts from the [[de:]]

function deImportScript(s) {
    document.write('<scr' + 'ipt type="text/javascript" src="' 
             + 'http://de.wikipedia.org/w/index.php?title=' + s
             + '&action=raw&ctype=text/javascript&dontcountme=s"></scr' 
             + 'ipt>');
}

deImportScript('Benutzer:ASM/quickedit.js');
importScript('User:Lupin/popups.js'); // Popups, of course
importScript('User:Shardsofmetal/monobook.js/Status_switcher.js');
importScript('User:Lupin/recent2.js');
importScript('User:Lupin/editcount.js');
popupEditCounterTool='custom';
popupEditCounterUrl='http://wiki.riteme.site/wiki/User:$1?ectarget=$1';

// </syntaxhighlight>