Content deleted Content added
Ohconfucius (talk | contribs) metacritic |
Ohconfucius (talk | contribs) repetition of "the", stop removal of "editor" parameter |
||
Line 126:
// removing blank or redundant parameters
regex(/(?:\|[ ]*(?:accessdate|agency|archive(?:date|url)|arxiv|asin|at|author(-?link|-mask|-name-separator|-separator|\d|\d-link|link\d?|)|bibcode|chapter|chapter-url|coauthors?|contribution(?:-url|)|date|deadurl|display-authors|doi|doi-inactive|doibroken|edition|editor(?:-first|-last|-link|\d|\d-first|\d-last|\d-link
regex(/\|[ ]*deadurl[ ]*=[ ]*yes[ ]*/gi, ''); //rem default "deadurl=yes"
Line 391:
// removing artefacts (outside of citation templates)
regex(/([\w]+\'\')\.(?:co(?:m|m?\.\w{2})|\.\w{2})[ ]/gi, '$1. ');
regex(/\bthe ((?:'''?|)the )/gi, '$1');
// removing other artefacts
|