User:Schniggendiller/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.
/* audio warning in case an en edit conflict ([[de:WP:Fragen zur Wikipedia/Archiv/2012/Woche 01#Pieps]]) */
if (mw.config.get ("wgAction") == "submit")
{
$(
function ()
{
if ($(".mw-explainconflict").length > 0)
{
var audio = document.createElement ("audio");
audio.src = "//upload.wikimedia.org/wikipedia/commons/c/c5/Beatfrequency.ogg";
audio.play();
}
});
}
/* [[:de:Benutzer:PerfektesChaos/js/pageLinkHelper]] */
mw.loader.load( "//en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/pageLinkHelper/r.js&action=raw&bcache=1&maxage=604800&ctype=text/javascript",
"text/javascript" );
// This tool can tag pages with a few clicks (which is much faster than editing the whole page per Hand).
// by [[m:user:Hoo man]] <https://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Tagger>
//<nowiki>
if(typeof window.taggerConfig === 'undefined') window.taggerConfig = {};
taggerConfig.tags = [];
taggerConfig.editSummary = [];
taggerConfig.tags[1] = '{{delete|nonsense --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[1]] = '+[[Template:Delete]]';
taggerConfig.tags[2] = '{{delete|no article --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[2]] = '+[[Template:Delete]]';
taggerConfig.tags[3] = '{{delete|spam --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[3]] = '+[[Template:Delete]]';
taggerConfig.tags[4] = '{{sdelete|spam --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[4]] = '+[[Template:Sdelete]]';
taggerConfig.tags[5] = '{{delete|cross-wiki spam --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[5]] = '+[[Template:Delete]]';
taggerConfig.tags[6] = '{{delete|cross-wiki vandalism --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[6]] = '+[[Template:Delete]]';
taggerConfig.tags[7] = '{{delete|local page for a Commons file --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[7]] = '+[[Template:Delete]]';
taggerConfig.tags[8] = '{{delete|blanked by author --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[8]] = '+[[Template:Delete]]';
taggerConfig.tags[9] = '{{delete|no useful content --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[9]] = '+[[Template:Delete]]';
taggerConfig.tags[10] = '{{delete|out of scope for this project --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[10]] = '+[[Template:Delete]]';
taggerConfig.tags[11] = '{{delete|not a translation --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[11]] = '+[[Template:Delete]]';
taggerConfig.tags[12] = '{{delete|Harassment and stalking against [[:de:User:Schmitty]] by [[meta:List of globally banned users#Currently banned by the Wikimedia Foundation|globally banned]] User [[Special:CentralAuth/Styron111|Styron111]]. --~~~~}}';
taggerConfig.editSummary[taggerConfig.tags[12]] = '+[[Template:Delete]]';
taggerConfig.tags[13] = '{{Nicht archivieren}}';
taggerConfig.editSummary[taggerConfig.tags[13]] = '+[[Vorlage:Nicht archivieren]]';
//</nowiki>
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
/* [[d:User:Yair rand/WikidataInfo.js]] */
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");
/* [[:de:Benutzer:PerfektesChaos/js/lintHint]] */
// Erstelle ein benutzerdefiniertes object:
var meineLintHints = { };
// Spezifiziere einige Komponenten für das object.
meineLintHints.rooms = "*";
// Kommuniziere das benutzerdefinierte object:
mw.hook( "lintHint.config" ).fire( meineLintHints );
// Zum Schluss lade das Gadget:
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript" );
/* script to finish requests at m:SRG */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:ASammour/test.js&action=raw&ctype=text/javascript');
/* modifying the navigation box: new link "Spam" */
jQuery(document).ready(function() {
mw.loader.using("mediawiki.util",
function() {
mw.util.addPortletLink("p-navigation",
"/w/index.php?title=Special:Log/spamblacklist/"
+ mw.util.wikiUrlencode(mw.config.get("wgRelevantUserName")),
"Spam",
"n-spam",
"zeige das Spamblacklist-Logbuch dieses Benutzers",
"#n-mainpage-description",
null);
});
});
/* modifying the navigation box: new link "CentralAuth" */
jQuery(document).ready(function() {
mw.loader.using("mediawiki.util",
function() {
mw.util.addPortletLink("p-navigation",
"/w/index.php?title=m:Special:CentralAuth/"
+ mw.util.wikiUrlencode(mw.config.get("wgRelevantUserName")),
"CentralAuth",
"n-ca",
"gehe zur Benutzerkontenverwaltung dieses Benutzers",
"#n-spam",
null);
});
});
/* modifying the navigation box: new link "GlobalBlock" */
jQuery(document).ready(function() {
mw.loader.using("mediawiki.util",
function() {
mw.util.addPortletLink("p-navigation",
"/w/index.php?title=m:Special:GlobalBlock/"
+ mw.util.wikiUrlencode(mw.config.get("wgRelevantUserName")),
"Global Block",
"n-gb",
"diese IP global sperren",
"#n-ca",
null);
});
});
/* [[de:Benutzer:PerfektesChaos/js/logidTooltip]] */
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/logidTooltip/r.js&action=raw&ctype=text/javascript" );
/* smart rollback & mass revert ([[m:User:Hoo man/Scripts/Smart rollback]]) */
// [[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');
// Shows the number of active (one log entry in the last 7 days, or as configured) sysops, uses data from the toolserver
// by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Active_sysops>
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.markWikisGS = true;
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Ladsgroup/CheckUserHelper.js&action=raw&ctype=text/javascript');
//* Mass Delete tool
mw.loader.load('//www.mediawiki.org/w/index.php?title=User:Infinite0694/Mass Delete tool.js&action=raw&ctype=text/javascript');
// Mark locked users
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:GeneralNotability/mark-locked.js&action=raw&ctype=text/javascript');
//* Mass Block tool
mw.loader.load('//www.mediawiki.org/w/index.php?title=User:Infinite0694/Mass_blocking_tool.js&action=raw&ctype=text/javascript');