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

Content deleted Content added
m tweak to la times
+2 indian journals
Line 112:
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?Timesofindia.com\]?\]?)(?=[\s]*[\|\}])/gi, '|work=The Times of India');
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?Hindustantimes.com\]?\]?)(?=[\s]*[\|\}])/gi, '|work=Hindustan Times |___location=India');
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?express(?:india\.com| online)\]?\]?)(?=[\s]*[\|\}])/gi, '|work=The Indian Express ');
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?financialexpress(?:\.com|)\]?\]?)(?=[\s]*[\|\}])/gi, '|work=The Financial Express ');
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?(?:the)?hindu.com\]?\]?)(?=[\s]*[\|\}])/gi, '|work=The Hindu |___location=India');
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?deccanchronicle.com\]?\]?)(?=[\s]*[\|\}])/gi, '|work=The Deccan Chronicle |___location=India');
Line 177 ⟶ 179:
txt.value=txt.value.replace(/(?:\|\s?(?:work|publisher)\s?\=\s?)(?:\[\[The Telegraph \(Kolkata\)\|(The Telegraph)\]\])(?=[\s]*[\|\}])/gi, '|work=$1 |___location=Kolkota, India ');
txt.value=txt.value.replace(/(?:\|\s?(?:work|publisher)\s?\=\s?)(?:\[\[The Pioneer \(Indian newspaper\)\|(The Pioneer)\]\])(?=[\s]*[\|\}])/gi, '|work=$1 |___location=India ');
txt.value=txt.value.replace(/(?:\|\s?(?:work|publisher)\s?\=\s?\[\[(?:The |)((?:Indian|Financial) Express)\]\])(?=[\s]*[\|\}])/gi, '|work=The $1 ');
txt.value=txt.value.replace(/(?:\|\s?(?:work|publisher)\s?\=\s?\[\[(Blesk|Hospodářské noviny|Lidové noviny|Mladá fronta DNES|Právo|(?:The |)Prague Post)\]\])(?=[\s]*[\|\}])/gi, '|work=$1 |___location=Czech Republic');