Jump to content

User:Retro/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Retro (talk | contribs) at 23:46, 21 May 2019 (Undid revision 898187747 by Retro (talk) Nope. Huh.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// Make page tabs avois going directly to a redirect page's target
if ($("#p-namespaces a")[0].className.includes('mw-redirect')) $("#p-namespaces a")[0].href += '?redirect=no';
if ($("#ca-view a")[0].className.includes('mw-redirect')) $("#ca-view a")[0].href += '?redirect=no';

importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]
importScript('User:Ucucha/HarvErrors.js'); // [[User:Lingzhi/reviewsourcecheck]]
importScript('User:Lingzhi/reviewsourcecheck.js');

// importScript('User:Retro/scripts/unicategorize.js');
mw.loader.load("//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:HarJIT/Scripts/unicategorise.js");