Jump to content

User:Chrumps/global.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// Kolorowanie nicków
mw.loader.load('https://de.wikipedia.org/wiki/Benutzer:Rzuwig/Gadget-colored-nicknames.js&action=raw&ctype=text/javascript');
 
// Wikidane
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');

if ( mw.config.get( 'wgDBname' ).endsWith( 'wiki' ) ) {
	if ( mw.config.get( 'wgDBname' ) === 'plwiki' ) {
		window.pb$wdCustomSitelinks = [ 'enwiki' ];
	} else {
		window.pb$wdCustomSitelinks = [ 'plwiki' ];
	}
	
	mw.loader.load( '//pl.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Peter_Bowman/wd-link-highlight.js' );	
}