Content deleted Content added
Ohconfucius (talk | contribs) attempt at bug fix |
Ohconfucius (talk | contribs) realigned to test script |
||
Line 64:
regex(/(\|\s?title\s*\=\s*)Login ?(?=[|}\n])/gi, '$1ACTUAL ARTICLE TITLE BELONGS HERE');
regex(/(\|\s?publisher=)\|\s?via\s*\=\s*(\w+)(?=\s*[|}])/gi, '$1$2');
//Remove COinS corrupting templates from CS1 citations
Line 155:
// removing english language parameters
regex(/[ ]?\{\{en[- ]icon\}\}/gi, "");
regex(/\|[ ]*?language[ ]*?=[ ]*?en(?:-\w{2}|glish|)(?=[\s
regex(/(\|[ ]*?language[ ]*?=[ ]*?)\{\{(\w{2})(?:[- ](?:icon|UK|GB|US)|)\}\}/gi, ""); // removing icon template from within "|language=" parameter
|