User:Retro/common.js

// 2022-07-15: comment out this section because I'm not sure it's still necessary // Make page tabs avoid 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';

// 2022-07-15: comment out dynamically loaded remote scripts for now // importScript('User:Ucucha/duplinks.js'); // User:Ucucha/duplinks // importScript('User:Ucucha/HarvErrors.js'); // User:Lingzhi/reviewsourcecheck // importScript('User:Lingzhi/reviewsourcecheck.js'); // importScript('Wikipedia:AutoEd/complete.js');

// TODO: finish my update of this script. // 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"); // mw.loader.load("//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Retro/Scripts/unicategorise.js");