User:PerfektesChaos/js/fixCentralAuthLocalLinks

From mediawiki.org

JavaScript hackdget to overcome a link problem on Special:CentralAuth.

Internal (local) links collected on this global page are not adapted to display context.

OBSOLETE since cause has been fixed during 2014.

Motivation[edit]

In February 2013 bugzilla:45412 has been submitted.

No move is visible to eliminate the problem at the root, on server side, where a few statements would be sufficient.

Since the second anniversary is to be celebrated soon, 2015 has been opened by offering some polyfill now.

Effect[edit]

All links in block reason column which were local in project context are diverted to the originating wiki, slightly polished. Successful correction is indicated by turning the colour from red (might happen to have been blue sometimes) into green.

Invocation[edit]

Since you will need global exploration not only on your home wiki, as you might find yourself suddenly on meta wiki, it is recommended to

mw.loader.load("//www.mediawiki.org/w/index.php?title=User:PerfektesChaos/js/fixCentralAuthLocalLinks.js&action=raw&ctype=text/javascript");

Codes[edit]

Source code
ResourceLoader
Namespaces -1 * CentralAuth