User:LlamaAl/global.js
Appearance
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.
// UTC clock
mw.loader.load('//incubator.wikimedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');
// [[File:Hoo man/active_sysops.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/active_sysops.js&action=raw&ctype=text/javascript');
// [[File:Hoo man/useful_links.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.js&action=raw&ctype=text/javascript');
// [[File:Hoo man/smart_rollback.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');
// A tool very similar to the Nuke Extension, but with more features
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Sledge_Hammer>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/sledgeHammer.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');
// [[File:Krinkle_CVNSimpleOverlay_wiki.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/CVNSimpleOverlay_wiki.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');
mw.loader.load('//ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
// XWikiRollback
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/xwikirollback.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript');
// [[File:Hoo man/tagger.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
var otherSpeedy = {
'enwikisource': 'sdelete',
'mlwiki': 'SD',
'commonswiki': 'speedy delete',
'mediawikiwiki': 'speedydelete'
};
var speedyTemplate = "delete";
if (mw.config.get('wgDBname') in otherSpeedy) {
speedyTemplate = otherSpeedy[mw.config.get('wgDBname')];
}
// <nowiki>
if(typeof(taggerConfig) == 'undefined') taggerConfig = {};
taggerConfig.tags = {};
taggerConfig.editSummary = {};
taggerConfig.tags[1] = '{{' + speedyTemplate + '|test}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = '+ delete (test)';
taggerConfig.tags[2] = '{{' + speedyTemplate + '|Out of project scope}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = '+ delete (Out of project scope)';
taggerConfig.tags[3] = '{{' + speedyTemplate + '|Blanked by the author}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = '+ delete (blanked by the author)';
taggerConfig.tags[4] = '{{' + speedyTemplate + '|Cross-wiki spam}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = '+ delete (cross-wiki spam)';
taggerConfig.tags[5] = '{{' + speedyTemplate + '|No meaningful content}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = '+ delete (No meaningful content)';
taggerConfig.tags[6] = '{{' + speedyTemplate + '|spam}}';
taggerConfig.editSummary[taggerConfig.tags[6]] = '+ delete (spam)';
taggerConfig.tags[7] = '{{' + speedyTemplate + '|vandalism}}';
taggerConfig.editSummary[taggerConfig.tags[7]] = '+ delete (vandalism)';
taggerConfig.tags[8] = '{{' + speedyTemplate + '|No useful content/Off-topic}}';
taggerConfig.editSummary[taggerConfig.tags[8]] = '+ delete (No useful content/Off-topic)';
taggerConfig.tags.other = 'Others (edit summary is mandatory)';
taggerConfig.customTagDefault = '{{' + speedyTemplate;
// </nowiki>
if(typeof(activeSysopsConfig) == 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisGS = true;
if(typeof(activeSysopsConfig) === 'undefined') activeSysopsConfig = {};
activeSysopsConfig.markWikisActiveSysops = true;
activeSysopsConfig.markWikisGS = true;