User:PerfektesChaos/js/fixCentralAuthLocalLinks.js
< User:PerfektesChaos | 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.
/// fixCentralAuthLocalLinks.js
// Fix relative links in [[Special:CentralAuth]].
// Bugzilla:45412 Phabricator:T47412 Submitted 2013-02-26
// Links in block reason on [[Special:CentralAuth]]
// link to the local wiki, not the one the block was issued on.
// ResourceLoader: compatible; dependencies: NONE
/// 2018-06-24 PerfektesChaos@de.wikipedia
/// Fingerprint: #0#0#
/// [[mw:User:PerfektesChaos/js/fixCentralAuthLocalLinks]]
/// <nowiki>
/*jshint bitwise:true, curly:true, eqeqeq:true, latedef:true,
laxbreak:true, strict:true, trailing:true, undef:true,
unused:true, white:false */
/*global window:false */
( function () {
"use strict";
var scream;
if ( typeof window.console === "object" ) {
scream = "OBSOLETED script loaded: [[mw:User:PerfektesChaos/js/fixCentralAuthLocalLinks]]";
if ( typeof window.console.warn === "function" ) {
window.console.warn( scream );
} else if ( typeof window.console.log === "function" ) {
window.console.log( scream );
}
}
}() );
/// EOF </nowiki> fixCentralAuthLocalLinks.js