User:Ohconfucius/script/Sources.js: Difference between revisions

Content deleted Content added
fix
Gannett
Line 150:
txt.value=txt.value.replace(/(?:\|\s?(newspaper|work|publisher)\s*\=\s*(John Fairfax (and Sons Ltd\.?|Holdings)|Fairfax(?: Media( Limited)| Digital| newspapers)))(?=[\s\.]*[\|\}])/gi, '');
txt.value=txt.value.replace(/(?:\|\s?(newspaper|work|publisher)\s*\=\s*\[\[(John Fairfax (and Sons Ltd\.?|Holdings)|Fairfax(?: Media( Limited)| Digital| newspapers))\]\])(?=[\s\.]*[\|\}])/gi, '');
txt.value=txt.value.replace(/(?:\|\s?publisher\s*\=\s*(Associated Newspapers|Cond[eé] Nast Publications|Daily Mail and General Trust|Gannett(?: Company|)|(Guardian|Telegraph) Media Group|(?:Guardian|Independent) News (?:and|&) Media|Hearst (?:Corporation|Magazines)|Imdb Inc\.?|IDG|IPC Media|MTV Networks|(The |)(?:Washington Post|(?:New York|Seattle) Times) Company|News (?:Corporation|International|Limited)|Prometheus Global Media|Rovi Corporation|Tribune Company|Trinity Mirror|Times Newspapers (?:Limited|Ltd.?)|Nielsen (?: Media Research|Business Media)|Viacom|Time (?:Warner ?|)))(,? Inc\.?| Ltd.?|)(?=[\s\.]*[\|\}])/gi, '');
txt.value=txt.value.replace(/(?:\|\s?publisher\s*\=\s*\[\[(Associated Newspapers|Cond[eé] Nast Publications|Daily Mail and General Trust|Gannett Company|(Guardian|Telegraph) Media Group|(?:Guardian|Independent) News (?:and|&) Media|Hearst (?:Corporation|Magazines)|Imdb Inc\.?|IDG|IPC Media|MTV Networks|(The |)(?:Washington Post|(?:New York|Seattle) Times) Company|News (?:Corporation|International|Limited)|Prometheus Global Media|Rovi Corporation|Tribune Company|Trinity Mirror|Times Newspapers (?:Limited|Ltd.?)|Nielsen (?: Media Research|Business Media)|Viacom|Time (?:Warner ?|)))(,? Inc\.?| Ltd.?|)(?:\|[^\]\}]*|)\]\](?=[\s\.]*[\|\}])/gi, '');