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

Content deleted Content added
+daily telegraph australia
tweak
Line 197:
txt.value=txt.value.replace(/(?:\|\s?publisher\s?\=\s?\[\[The standard\|hk standard\]\])(?=[\s]*[\|\}])/gi, '|work=The Standard |___location=Hong Kong ');
txt.value=txt.value.replace(/(?:\|\s?publisher\s?\=\s?the age)(?=[\s]*[\|\}])/gi, '|work=The Age |___location=Australia');
txt.value=txt.value.replace(/(?:\|\s?(work|publisher)\s?\=\s?\[?\[?(?:nz |new zealand )herald\]?\]?)/gi, '|work=The New Zealand Herald');
 
//returns 'work=' for traditional media not requiring ___location dab