Content deleted Content added
Ohconfucius (talk | contribs) reflist|em30 is now deprecated |
Ohconfucius (talk | contribs) tweak to removing english language parameters |
||
Line 157:
regex(/[ ]?\{\{en[- ]icon\}\}/gi, "");
// removing
regex(/
regex(/\|[ ]*?language[ ]*?=[ ]*?en(?:-\w{2}|glish)(?=\s?\|)/gi, "");
regex(/(\|[ ]*?language[ ]*?=[ ]*?)\{\{(\w{2})(?:[- ](?:icon|UK|GB|US)|)\}\}/gi, ""); // removing icon template from within "|language=" parameter
// eliminating time of day
Line 352 ⟶ 354:
regex(/(\w''\.)indiatimes\.com/gi, '$1');
regex(/- [\w]*\.com[ ]*\|/gi, '|');
regex(/(.) – Google [^ \]]*(\][\.,;]) Books\.google\.\w{2,3}(\.| )/gi, '$1$2Google Books$3');
|