Jump to content

User:Mbch331/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.
// [[File:Krinkle_Global_SUL.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/Global_SUL.js&action=raw&ctype=text/javascript');
 
//No MediaViewer
mw.config.set("wgMediaViewerOnClick", false);

// wikidata in zoekresultaten
mw.loader.load("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");

// [[d:User:Yair rand/WikidataInfo.js]]
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");

//WEF editors
if (["ruwiki"].indexOf(mw.config.get("wgDBname")) === -1) {
    mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_AllEditors.js&action=raw&ctype=text/javascript' );
}

//Userinfo
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PleaseStand/userinfo.js&action=raw&ctype=text/javascript');

//Blocked users
mw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');

//MoreMenu
if ( mw.loader.getState( 'ext.gadget.MoreMenu' ) !== null ) {
    mw.loader.load( 'ext.gadget.MoreMenu' );
} else {
    mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');
}

// [[d:User:Zvpunry/WikibaseEcho.js]]
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Zvpunry/WikibaseEcho.js&action=raw&ctype=text/javascript");
//AutoSuggestSitelink

if ( mw.loader.getState( 'ext.gadget.AutosuggestSitelink' ) !== null ) {
    mw.loader.load( 'ext.gadget.AutosuggestSitelink' );
} else {
    mw.loader.load( 'https://meta.wikimedia.org/w/load.php?modules=ext.gadget.AutosuggestSitelink' );
}

//HotDefaultsort
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/HotDefaultSort.js&action=raw&ctype=text/javascript');