User:Natg 19/common.js

mw.loader.load( '/w/index.php?title=User:EnterpriseyBot/delsort.js&action=raw&ctype=text/javascript' ); // Backlink: User:EnterpriseyBot/delsort.js

//importScript('User:Fox Wilson/delsort.js'); // Deletion sorting script WP:FWDS /* User:Qwertyytrewqqwerty/DisamAssist.js */ importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' );// Backlink: User:Qwertyytrewqqwerty/DisamAssist.js

window.popupFixDabs=true; importScript('User:Anomie/linkclassifier.js'); // Linkback: User:Anomie/linkclassifier.js importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: User:Anomie/linkclassifier.css

/*importScript('Wikipedia:AutoEd/core.js'); //Imports the "framework" script needed to make this function autoEdMinor = true; autoEdClick = true; autoEdTag = "Fix wrong list link using AutoEd"; autoEdLinkHover = "Run AutoEd"; autoEdLinkName = "auto ed"; autoEdLinkLocation = "p-cactions"; function autoEdFunctions { //MAIN FUNCTION describes list of fixes //Remove unneeded Template: text from transclusions var txt = document.editform.wpTextbox1; var str = txt.value; str = str.replace(/List of The Twilight Zone episodes/gi, 'List of The Twilight Zone episodes'); str = str.replace(/List of Twilight Zone episodes/gi, 'List of The Twilight Zone episodes'); txt.value = str;

//Replace redirects to Reflist with Reflist //str = str.replace(/)/gi, '{{Reflist$1'); //str = str.replace(/{{[_ ]*(?:Refs|Reference|Ref-list|Listaref|FootnotesSmall)[_ ]*(\||}})/gi, '{{Reflist$1');

//Replace a long version of Reflist with Reflist //str = str.replace(/]*[ ]+class=['"]*references-small['"]*[^<>]*>[\r\n]*[\r\n]*<\/div>/gim, '{{Reflist}}');

//Replace redirects to about with about //str = str.replace(/{{[_ ]*(?:Otheruses4|Four[_ ]+other[_ ]+uses|Otherusesabout|This2)[_ ]*(\||}})/gi, '{{about$1'); }