User:Raidriar/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.
if(typeof(twinkleoff) === 'undefined') twinkleoff=false;
if(typeof(localadmin) === 'undefined') localadmin=false;
if (twinkleoff != 'true')
{
// Gives some useful links on user, user talk and user contribution pages
// by [[m:user:Hoo man]] <//meta.wikimedia.org/wiki/User:Hoo_man/useful_links.js>
// [[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');
// TWINKLE
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:AzaToth/morebits.js&action=raw&ctype=text/javascript');
// try
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:PiRSquared17/twinkle.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');
/* Make user groups more obvious when viewing user pages */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Splarka/sysopdectector.js&action=raw&ctype=text/javascript');
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Liangent/userhighlighter.js&action=raw&ctype=text/javascript");
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");
mw.loader.load('//incubator.wikimedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');
mw.loader.load("//www.wikidata.org/w/index.php?title=MediaWiki:Gadget-quickeditcounter.js&action=raw&ctype=text/javascript");
// Counts active sysops and links to stewardry
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;
if (localadmin != 'true') {
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
// <nowiki>
if(typeof(taggerConfig) == 'undefined') taggerConfig = {};
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')];
}
taggerConfig.tags = {};
taggerConfig.editSummary = {};
taggerConfig.tags[1] = '{{' + speedyTemplate + "|No meaningful content / sin contenido significativo -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[1]] = 'Requesting deletion. The reason for requesting deletion is 鈥?no meaningful content';
taggerConfig.tags[2] = '{{' + speedyTemplate + "|Nonsense, test / disparates, ensayo -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[2]] = 'Requesting deletion. The reason for requesting deletion is- nonsense, test / disparates, ensayo';
taggerConfig.tags[3] = '{{' + speedyTemplate + "|Vandalism / vandalismo -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[3]] = 'Requesting deletion. The reason for requesting deletion is 鈥?vandalism';
taggerConfig.tags[4] = '{{' + speedyTemplate + "|Outside of the scope of the project / fuera del alcance del proyecto -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[4]] = 'Requesting deletion. The reason for requesting deletion is 鈥?out of scope';
taggerConfig.tags[5] = '{{' + speedyTemplate + "|Spam / correo no deseado -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[5]] = 'Requesting deletion. The reason for requesting deletion is 鈥?spam';
taggerConfig.tags[6] = '{{' + speedyTemplate + "|Copyright violation / violaci贸n de derechos de autor -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[6]] = 'Requesting deletion. The reason for requesting deletion is 鈥?copyright violation';
taggerConfig.tags[7] = '{{' + speedyTemplate + "|Local page of a Commons file / p谩gina local de un archivo en Commons -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[7]] = 'Requesting deletion. The reason for requesting deletion is 鈥?this file exists on Commons';
taggerConfig.tags[8] = '{{' + speedyTemplate + "|Author Request/Blanked by author / suprimida por autor -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[8]] = 'Requesting deletion. The reason for requesting deletion is 鈥?author request/blanked by author';
taggerConfig.tags[9] = '{{' + speedyTemplate + "|Blank -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[9]] = 'Requesting deletion. The reason for requesting deletion is 鈥?Blank';
taggerConfig.tags[10] = '{{' + speedyTemplate + "|No useful content -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[10]] = 'Requesting deletion. The reason for requesting deletion is 鈥?No useable content';
taggerConfig.tags[11] = '{{' + speedyTemplate + "|Non notable content -- <small>'''[[User:Pratyya Ghosh|<span style=\"color:green;font-family:Comic Sans MS\">Pr<font color=\"red\">at</font><font color=\"blue\">yya</font></span>]]''' <sup>[[User_talk:Pratyya Ghosh|<span style=\"color:orange;font-family:Verdana\">'''(Hello!)'''</span>]]</sup> ~~" + "~" + "~~ </small>}}";
taggerConfig.editSummary[taggerConfig.tags[11]] = 'Requesting deletion. The reason for requesting deletion is 鈥?Non notable content';
taggerConfig.tags.other = 'Others (edit summary is mandatory)';
taggerConfig.customTagDefault = '{{' + speedyTemplate;
}
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');