User:Zygimantus/global.js
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* global $, mw, pathoschild */
/*******************
** Scripts on all wikis
*******************/
// Linkback: [[:w:en:User:MusikAnimal/scriptManager]]
mw.loader.load('//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/scriptManager.js');
scriptsToManage = {
"wikidata" : "//www.wikidata.org/w/index.php?action=raw&ctype=text/javascript&title=User:Yair_rand/WikidataInfo.js",
"listsort" : "//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:BrandonXLF/ListSorter.js",
}
// QuickEdit adds a link to the heading of each section to edit the section in a mini editor
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/QuickEdit.js&action=raw&ctype=text/javascript');
// A userscript that puts a dropdown of custom edit summaries underneath the edit summary box
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Enterprisey/CustomSummaryPresets.js&action=raw&ctype=text/javascript');
// a global script that helps identify articles in need of translation by highlighting blue links which do not have an interlanguage link in a –selected language edition
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Ле_Лой/Lacmus.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kaniivel/RefConsolidate_start.js&action=raw&ctype=text/javascript');
// [[Wikipedia:User:js/ajaxPreview.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:js/ajaxPreview.js&action=raw&ctype=text/javascript');
// from here https://en.wikipedia.org/wiki/Wikipedia:Date_formattings
mw.loader.load('//meta.wikipedia.org/w/index.php?title=User:Zygimantus/date.js&action=raw&ctype=text/javascript');
// note: wikEd gadget enabled was required
mw.loader.load('//meta.wikipedia.org/w/index.php?title=User:Zygimantus/datetools.js&action=raw&ctype=text/javascript');
/**
* Forces left-to-right layout and editing on RTL wikis.
* @see https://meta.wikimedia.org/wiki/Force_ltr
* @update-token [[File:pathoschild/forceltr.js]]
*/
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');
/*******************
** Scripts on specific wikis
*******************/
if ( mw.config.get("wgDBname") !== 'eb')
mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');
// if ( mw.config.get("wgDBname") == 'ltwiki')
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Trappist the monk/HarvErrors.js&action=raw&ctype=text/javascript');
if ( mw.config.get("wgDBname") !== 'lvwiki') {
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
// mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');
}