Jump to content

User:Infovarius/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.
/*********
** On all wikis
*********/
//mw.loader.load('//ru.wikipedia.org/w/index.php?title=User:Js/editsuggest.js&action=raw&ctype=text/javascript');
mw.loader.load('//ru.wikipedia.org/w/index.php?title=User:Alex Smotrov/jump2text.js&action=raw&ctype=text/javascript');
mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');
// fr.wikipedia.org/wiki/MediaWiki:Gadget-MonobookToolbar.js

/**
 * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
 * @see https://meta.wikimedia.org/wiki/TemplateScript
 * @update-token [[File:Pathoschild/templatescript.js]]
 */
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');

mw.loader.load('//tools-static.wmflabs.org/meta/scripts/i18n/ru.js');

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

mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Lucas_Werkmeister/addStatementCountsToCategories.js&action=raw&ctype=text/javascript' );
// </nowiki>

/*********
** On Wikipedia wikis
*********/
if(mw.config.get('wgServerName').indexOf('wikipedia.org') !== -1) {
	mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript'); // [[d:User:Yair rand/WikidataInfo.js]]
	mw.loader.load('//en.wikipedia.org/w/index.php?title=User:WikiBhasha.MSR/WikiBhasha.js&action=raw&ctype=text/javascript');
	mw.loader.load('//www.wikidata.org/w/index.php?title=User:Tpt/interproject.js&action=raw&ctype=text/javascript');
	mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.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") !== 'ruwiki')
    mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_AllEditors.js&action=raw&ctype=text/javascript' );
        // [[File:User:He7d3r/Tools/ScoredRevisions.js]] (workaround for [[phab:T35355]])
    mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:He7d3r/Tools/ScoredRevisions.js&action=raw&ctype=text/javascript');
    mw.loader.load("//fr.wikipedia.org/w/index.php?title=User:TomT0m/extraInterwiki.js&action=raw&ctype=text/javascript");
}

/****
Wikidata Lexemes + Wiktionary 
****/
mw.loader.load("//www.wikidata.org/w/index.php?title=User:TomT0m/LexToWiktionary.js/sandbox.js&oldid=2051468341&action=raw&ctype=text/javascript"); // Gadget to go back and forth from wiktionary to Wikidata lexemes