Jump to content

User:Retro/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 1997kB (talk | contribs) at 02:07, 21 May 2019 (1997kB moved page User:E to the Pi times i/common.js to User:Retro/common.js: Automatically moved page while renaming the user "E to the Pi times i" to "Retro"). 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');