User:ShifaYT/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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal.js&action=raw&ctype=text/javascript');
// [[File:Krinkle_RTRC.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Useful_links>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.js&action=raw&ctype=text/javascript');
// custom config of useful_links.js :
if(typeof(usefulLinksConfig) == 'undefined') usefulLinksConfig = {};
usefulLinksConfig.useFoldedMenu = true;
usefulLinksTools = {
// Global contribs guc
globalContribs: {
url: '//guc.toolforge.org/?user=$1',
linkText: 'Global user contributions guc'
},
stalktoy: {
url: '//meta.toolforge.org/stalktoy/$1',
linkText: 'Stalk toy'
},
crossactivity: {
url: '///meta2.toolforge.org/crossactivity/$1',
linkText: 'CrossActivity'
},
stewardry: {
url: '//meta.toolforge.org/stewardry/?wiki=' + mw.config.get( 'wgDBname' ) + '&sysop=1',
linkText: 'Stewardry'
},};
// <https://meta.wikimedia.org/wiki/MoreMenu>
if(mw.loader.getState('ext.gadget.dropdown-menus') === null) {
if(mw.loader.getState('ext.gadget.MoreMenu') === null) {
// No local module available on wiki, load directly from metawiki.
mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js');
} else {
// for meta.wikimedia.org
mw.loader.load('ext.gadget.MoreMenu');
}
} else {
// Load local module (wikidata.org).
mw.loader.load('ext.gadget.dropdown-menus');
}
//Pour un lien dans le menu latéral
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tulsi Bhagat/swviewer.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');
if(typeof(activeSysopsConfig) == 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisActiveSysops = true;
activeSysopsConfig.markWikisGS = true;
activeSysopsConfig.lastAction = 1296000; // 15 days
// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert)
// by [[m:user:Hoo man]] <https://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Smart_rollback>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {};
smartRollbackConfig.editSummaries = {};
smartRollbackConfig.editSummaries[0] = 'reverting vandalism ([[m:User:Hoo_man/Scripts/Smart_rollback|smart rollback]])';
smartRollbackConfig.editSummaries[1] = 'rv vandalisme ([[m:User:Hoo_man/Scripts/Smart_rollback|smart rollback]])';
// XReport - fast reporting - [[User:TenWhile6/XReport]]
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:TenWhile6/XReport.js&action=raw&ctype=text/javascript');