User:Shardsofmetal/monobook.js
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.
If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
// <pre> // In order to keep this file clean, everything in here is included from another file. // Scripts that I didn't write are subpages of monobook.js. // If I write any scripts (I will need to learn javascript first), they will be direct subpages // of my user page. // This function is used to include scripts from other Wikipedia pages in mine. I got it from // [User:Quarl/monobook.js]]. function winc(s) { s = s.replace(/^\[\[/, '').replace(/\]\]$/, ''); document.write('<scr' + 'ipt type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=' + s + '&action=raw&ctype=text/javascript&dontcountme=s"></scr' + 'ipt>'); } // Include scripts from the [[de:]] function dinc(s) { s = s.replace(/^\[\[/, '').replace(/\]\]$/, ''); 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>'); } winc('[[User:Shardsofmetal/monobook.js/AddLiLink.js]]'); winc('[[User:Shardsofmetal/monobook.js/Addlink.js]]'); winc('[[User:Shardsofmetal/monobook.js/Purge.js]]'); //winc('[[User:Shardsofmetal/monobook.js/Floating_sidebar.js]]'); winc('[[User:Shardsofmetal/monobook.js/Fix_diff.js]]'); //winc('[[User:Shardsofmetal/monobook.js/Autolink.js]]'); winc('[[User:Where/commentLocalize.js]]'); winc('[[User:Ais523/votesymbols.js]]'); // Seems to work now dinc('Benutzer:ASM/quickedit.js'); winc('[[User:Ais523/editcount.js]]'); // Count a user's edits winc('[[User:Lupin/popups.js]]'); // Popups, of course winc('[[User:Shardsofmetal/monobook.js/Status_switcher.js]]'); //winc('[[User:Shardsofmetal/monobook.js/Duplicate_tabs.js]]'); winc('[[User:Shardsofmetal/monobook.js/Revert.js]]'); winc('[[User:Lupin/recent2.js]]'); winc('[[User:Lupin/editcount.js]]'); winc('[[User:Zocky/PicturePopups.js]]'); winc('[[User:Interiot/js/RealTitle.js]]'); // Make titles with lowercase initial letters display lowercase popupEditCounterTool='custom'; popupEditCounterUrl='http://en.wikipedia.org/wiki/User:$1?ectarget=$1'; //</pre>