Jump to content

User:MSchnitzler2000/common.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.
// kill Visual Editor
importScript('User:Matma Rex/VE killer.js');

// show link to Wikidata page in Wikipedia article
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");

// display oder hide references
mw.loader.load('https://de.wikipedia.org/w/index.php?title=User:Malte_Schierholz/reftoggle.js'
+ '&action=raw&ctype=text/javascript');

// show admins
document.write('<link rel="stylesheet" type="text/css" href="http://tools.wikimedia.de/~chm/monobook/markadmins.css" />');
 
// hide navigation bar
NavigationBarShowDefault = 0;

// add purge button
// [[Benutzer:ParaDox/monobook/purge.js]]
document.write('<SCRIPT SRC="http://de.wikipedia.org/w/index.php?title='
+ 'Benutzer:ParaDox/monobook/purge.js&action=raw&ctype=text/javascript&dontcountme=s">'
+ '<\/SCRIPT>');

// translate Interwiki (de User:Revolus)
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Revolus/monobook.js/sidebartranslate.js&action=raw&ctype=text/javascript');

// print paragraphs  (de User:Revolus)
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Revolus/monobook.js/printsection.js&action=raw&ctype=text/javascript');

// show a list of wiki links in the article and mark multiple links (de User:Dbenzhuser)
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Dbenzhuser/showRedundantLinks.js&action=raw&ctype=text/javascript');

// rollback with comment  (de User:Codeispoetry)
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Codeispoetry/supportFuncs.js&action=raw&ctype=text/javascript');
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:D/monobook/api.js&action=raw&ctype=text/javascript');
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Codeispoetry/rollback.js&action=raw&ctype=text/javascript');

// show time of last activity on user page (de User:Schnark)
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/letzteredit.js&action=raw&ctype=text/javascript');

// import BKL check gadget
mw.loader.load('https://de.wikipedia.org/w/index.php?title=MediaWiki:Gadget-bkl-check.js&action=raw&ctype=text/javascript');

// BKL check only in the article namespace
bklCheckOnlyCheckMainNS = true;

// mark featured articles
if( window.bklCheck )  bklCheck.cat['Category:Featured articles'] = {
className   : 'fa-link',
titleAppend : '',
htmlAppend   : ''
};

// mark good articles
if( window.bklCheck )  bklCheck.cat['Category:Good articles'] = {
className   : 'ga-link',
titleAppend : '',
htmlAppend   : ''
};

// mark deletion candidates
if( window.bklCheck )  bklCheck.cat['Category:All articles proposed for deletion'] = {
className   : 'del-link',
titleAppend : '',
htmlAppend   : ''
};