var AutoEd_baseurl = 'http://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Jonesey95/AutoEd/';
if (location.protocol === 'https:') {
AutoEd_baseurl = 'https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:Jonesey95/AutoEd/';
}
mw.loader.load(AutoEd_baseurl + 'core3.js'); //Imports the "framework" script needed to make this function
//Sets variable configuration
autoEdTag3 = "Add parameter subst template to keep this transclusionless page off of reports, using [[WP:AutoEd|AutoEd]]"; //Tweaks edit summary
autoEdLinkName3 = "AutoEd par template"; //Changes the link name at the top of the page
autoEdLinkHover3 = "AutoEd one-off"; //When user hovers over link
//Set up function
function ReplacePMC(str) { //function to fix pmc= pmid= ol= parameters
//Add parameter subst template
str = str.replace(/\<noinclude\>\'\'\'\<big\>/g, '\<noinclude\>\{\{parameter subst\}\}\'\'\'\<big\>');
return str;
}
function autoEdFunctions3() { //Activates individual modules when "auto ed" tab is clicked
var txt = document.editform.wpTextbox1; //This stays as "Textbox1". Do not increment.
txt.value = ReplacePMC(txt.value);
// txt.value = autoEdWhitespace(txt.value);
}