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

Content deleted Content added
additions per User:Dawnseeker2000
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 13:
'(?:wsj(?:\\.com|)|Wall (?:Street|Str?\\.?) Journal)': 'The Wall Street Journal',
'newsday(?:\\.com)': 'Newsday',
'(?:nydailynews(?:\\.com|)|(?:New York|NY|n\\. ?y\\.) Daily ?News)': 'Daily News (New York) Daily News',
'(?:ny|n\\. ?y\\.) ?post(?:\\.com|)': 'New York Post',
'(?:New York |NY ?|)observer(?:\\.com)': 'The New York Observer',
Line 20:
'(?:the|)boston(?:globe|)\\.com': 'The Boston Globe',
'the boston globe': 'The Boston Globe',
'(?:the ?|)bostonheraldboston ?herald(?:\\.com|)': 'Boston Herald',
'the boston herald': 'Boston Herald',
'(?:the ?|)Brussels ?Times(?:\\.com|)': 'The Brussels Times',
'washington ?post(?:\\.com|)': 'The Washington Post',
Line 130 ⟶ 129:
'Sunday Telegraph': 'The Sunday Telegraph',
'(?:(?:the|)Timesonline.co(?:\\.uk|m)|(?:the ?|)Times ?on-?line)': 'The Times',
'Thetimes\\.co(?:m|\\.uk)': 'The Times',
'TheSundaytimes(?:\\.co\\.uk|)': 'The Sunday Times',
'inews(?:\\.co\\.uk|)': 'The i (newspaper)Paper',
'touringcartimes(?:\\.com|)': 'Touring Car Times',
'times ?of ?malta(?:\\.com|)': 'The Times (Malta)',
Line 152 ⟶ 151:
'(?:(?:London|)evening|)standard\\.co\\.uk': 'Evening Standard',
'(?:the |)(?:London |)evening standard': 'Evening Standard',
'(?:london|the)[- ]?gazette(?:\\.com|\\.co\\.uk|))': 'The London Gazette',
'Birmingham ?mail(?:\\.co\\.uk|)': 'Birmingham Mail',
'Peterbrough ?today(?:\\.co\\.uk|)': 'Peterbrough Telegraph',
'blackpool ?gazette(?:\\.co\\.uk|)': 'Blackpool Gazette',
'gazettelive(?:\\.co\\.uk|)': 'Teesside Live',
'(?:the |)express ?and ?star(?:\\.com|\\.co\\.uk|)': 'Express & Star',
'(?:irish ?|)independent\\.ie': 'Irish Independent',
Line 178:
'(?:the ?|)malay ?mail(?: ?online|)(?:\\.com|)': 'Malay Mail',
'(?:the |)business[\\- ]standard(?:\\.com|)': 'Business Standard |___location=India',
'tbsnews\\.net': 'The Business Standard |___location=Bangladesh',
'(?:the |)deccan ?chronicle(?:\\.com|)': 'Deccan Chronicle',
'(?:the |)deccan ?herald(?:\\.com|)': 'Deccan Herald',
Line 223 ⟶ 224:
'pakobserver(?:\\.net|)': 'Pakistan Observer',
'pakistan ?today(?:\\.com\\.pk|)': 'Pakistan Today',
'nation\\.sc': 'Seychelles Nation',
 
 
'Atlantic ?Sun(?:\\.com|)': 'Atlantic Sun',
Line 233 ⟶ 237:
'Daily ?Maverick(?:\\.co\\.za|)': 'Daily Maverick',
'DailyNews(?:\\.co\\.za)': 'Daily News (Durban)',
'Dailymirror\\.lk': 'Daily Mirror |___location=Sri Lanka',
'Financial ?Mail(?:\\.co\\.za|)': 'Financial Mail',
'(?:greengazette|gics)(?:\\.co\\.za|)': 'Government Gazette of South Africa',
Line 243 ⟶ 248:
'the m&g online': 'Mail & Guardian',
'Monserrat ?reporter(?:\\.com|)': 'The Monserrat Reporter',
'guardian\\.co\\.tt': 'Trinidad and Tobago Guardian',
'Trinidad[- ]guardian(?:\\.co\\.tt|)': 'Trinidad and Tobago Guardian',
'guampdn(?:\\.com|)': 'Pacific Daily News',
'thenassauguardian(?:\\.com|)': 'The Nassau Guardian',
Line 269 ⟶ 276:
'(?:The ?|)borneo ?Post(?:\\.com|)': 'The Borneo Post',
'(?:The ?|)China ?Post(?:\\.com(?:\\.tw|)|)': 'China Post',
'Caixin(?:global|)(?:\\.com|)': 'Caixin',
'Chinadaily(?:\\.com\\.cn|)': 'China Daily',
'China ?daily ?asia(?:\\.com|)': 'China Daily',
Line 311 ⟶ 318:
 
//News business politics magazines
'Bloomberg(?:\\.com\\.magazine)': 'Bloomberg Markets',
'Businessweek(?:\\.com| magazine|)': 'Bloomberg BusinessWeek',
'Counterpunch(?:\\.org|)': 'CounterPunch',
Line 317 ⟶ 325:
'Essence(?:\\.com| magazine)': 'Essence (magazine)',
'Forbes(?:\\.com| magazine)': 'Forbes',
'Fortune(?:(?:\\.cnn|)\\.com| magazine)': 'Fortune (magazine)',
'Foreignaffairs(?:\\.com|)': 'Foreign Affairs',
'Foreign ?policy(?:\\.com| \\(?magazine\)?\)|)': 'Foreign Policy',
'Maclean\'?s(?:\\.ca| Canada|)': 'Maclean\'s',
'Mother ?jones(?:\\.com| magazine|)': 'Mother Jones (magazine)',
Line 329 ⟶ 337:
'Spectator(?:\\.co\\.uk|)': 'The Spectator',
'Time(?:\\.com| magazine| \\(magazine\\)|)': 'Time (magazine)',
'Life(?:\\.com| magazine| \\(magazine\\)|)': 'Life (magazine)',
'The ?atlantic(?:\\.com| magazine)': 'The Atlantic',
'The ?nation(?:\\.com| magazine)': 'The Nation',
Line 360 ⟶ 368:
'digitalspy(?:\\.co\\.uk|\\.com(?:\\.au|)|\\.ie)': 'Digital Spy',
'(?:Quartz(?: magazine|)|qz.com)': 'Quartz (publication)',
'reason(?: magazine|)(?:\\.com|)': 'Reason (magazine)',
// 'salonaxios(?:\\.com|)': 'SalonAxios (website)',
'Slate(?:\\.com|\\.fr| magazine|)': 'Slate (magazine)',
'salon(?:\\.com)': 'Salon.com',
'The ?Cut(?:\\.com| \(New York\))': 'The Cut (publication)',
'theregister(?:\\.co\\.uk|\\.com|)': 'The Register',
'theweekinchess(?:\\.com|)': 'The Week in Chess',
Line 370 ⟶ 380:
'Alt ?Press(?:\\.com|)': 'Alternative Press',
'American ?way ?mag(?:azine|)(?:\\.com|)': 'American Way',
'Apollo[\\- ]?magazine(?:\\.com|)': 'Apollo (magazine)',
'Art ?and ?Antiques mag(?:azine|)(?:\\.com|)': 'Art & Antiques',
'Art ?in ?America ?magazine(?:\\.com|)': 'Art in America',
Line 386 ⟶ 396:
'Bookforum(?:\\.com|)': 'Bookforum',
'Border ?Crossings ?mag(?:azine|)(?:\\.com|)': 'Border Crossings',
'Brick ?mag(?:azine|)(?:\\.com|)': 'Brick (magazine)',
'notesandqueries(?:\\.ca|)': 'Canadian Notes & Queries',
'asiancha(?:\\.com|)': 'Cha: An Asian Literary Journal',
'Chapman-pub(?:\\.co\\.uk)': 'Chapman',
'Clashmusic(?:\\.com|)': 'Clash (magazine)',
'crq(?:\\.org\\.uk|)|Classic Record Collector': 'Classical Recordings Quarterly',
'Contemporary[\\- ]?mag(?:azine|)(?:\\.com|)': 'Contemporary',
'Drowned ?in ?Sound(?:\\.com|)': 'Drowned in Sound',
'Esquire(?:[- ]?magazine|\\.com)': 'Esquire (magazine)',
'Exclaim(?:\\.ca|)': 'Exclaim!',
'Flash ?Art ?online(?:\\.com|)': 'Flash Art',
Line 411 ⟶ 421:
'cadencejazzmagazine(?:\\.com|)': 'Cadence Magazine',
'cashbox(?:\\.com| magazine)': 'Cashbox',
'coda(?: ?magazine|1958)(?:\\.com|)': 'CODACoda (magazine)',
'decibel ?magazine(?:\\.com|)': 'Decibel (magazine)',
'dj ?mag(?:\\.com|)': 'DJ Mag',
'downbeat(?: ?magazine|)(?:\\.com|)': 'DownBeat',
'fanfaremag(?:\\.com|)': 'Fanfare (magazine)',
'jazzjournal(?:\\.com|)': 'Jazz Journal',
'jazz ?times(?:\\.com| magazine)': 'JazzTimes',
Line 424 ⟶ 434:
'Lapham\'s ?Quarterly(?:\\.org|)': 'Lapham\'s Quarterly',
'Lesinrocks(?:\\.com|)': 'Les Inrockuptibles',
'Limelight(?:\\.com\\.au)': 'Limelight (magazine)',
'Literary ?Review(?:\\.co\\.uk)': 'Literary Review',
'Maxim ?(?:\\.com|\\.co\\.uk|Magazine)': 'Maxim (magazine)',
'Meanjin(?:\\.com|)': 'Meanjin',
'Melodic(?:\\.net|)(?:\\.com|)': 'Melodic (magazine)',
Line 432 ⟶ 442:
'Mixonline(?:\\.com|)': 'Mix (magazine)',
'Modern ?Painters(?:\\.com)': 'Modern Painters',
'Mojo(?:4music\\.com| magazine)': 'Mojo (magazine)',
'Muse ?mag(?:azine|)(?:\\.hk)': 'Muse (Hong Kong magazine)',
'musicOMH\\.com': 'musicOMH',
'MusicRadar\\.com': 'MusicRadar',
Line 440 ⟶ 450:
'New ?Welsh ?Review(?:\\.com|)': 'New Welsh Review',
'(?:NME(?:\\.com|)|New Musical Express)': 'NME',
'Opera(?:\\.co\\.uk)': 'Opera (British magazine)',
'Opera ?Canada(?:\\.ca|)': 'Opera Canada',
'Opera ?News(?:\\.com|)': 'Opera News',
'Oxford ?Poetry\\.co\\.uk': 'Oxford Poetry',
'Paste(?:(?: ?magazine|)\\.com|)': 'Paste (magazine)',
'Pitchfork\\.com': 'Pitchfork',
'Playboy(?:\\.com|\\.co\\.uk| Magazine)': 'Playboy',
'Pshares(?:\\.org|)': 'Ploughshares',
'Poetry ?magazine(?:\\.org|)': 'Poetry (magazine)',
'Poetry ?Ireland\\.ie': 'Poetry Ireland Review',
'Poetry(?:\\.co\\.uk)': 'Poetry London',
Line 457 ⟶ 467:
'record ?collector ?mag(?:\\.com|azine|)': 'Record Collector',
'Rolling ?stone(?:\\.com(?:\\.\\w{2}|)| magazine)': 'Rolling Stone',
'Shape ?(?:magazine|)(?:\\.com|)': 'Shape (magazine)',
'sound ?on ?sound(?:\\.com|)': 'Sound on Sound',
'Spin ?(?:magazine|)(?:\\.com|)': 'Spin (magazine)',
'Sputnikmusic(?:\\.com|)': 'Sputnikmusic',
'Standpoint ?mag(?:azine|)(?:\\.co\\.uk|)': 'Standpoint',
Line 488 ⟶ 498:
'auto ?sport(?:\\.com|)': 'Autosport',
'badger ?gp(?:\\.com|)': 'Badger GP',
'civilserviceworld(?:\\.com| magazine)': 'Civil Service World',
'cosmopolitan(?:\\.com| magazine)': 'Cosmopolitan',
'elle(?:uk|)(?:\\.com|\\.\\w{2,3}| magazine)': 'Elle',
Line 497 ⟶ 508:
'ForeGeorgia(?:\\.com|)': 'Fore Georgia',
'f1 ?racing(?:\\.co\\.uk| magazine|)': 'F1 Racing',
'glamour(?:\\.com|\\.\\w{2,3}| magazine)': 'Glamour (magazine)',
'goal(?:\\.com|)': 'Goal (website)',
'GolfCourseNewsInternational(?:\\.com|)': 'Golf Course News International',
Line 513 ⟶ 524:
'arniesKingdom(?:\\.com|)': 'Kingdom magazine',
'Linksmagazine(?:\\.com|)': 'Links',
'management ?today(?:\\.co\\.uk| ?magazine|)': 'Management Today',
'NationalClubGolfer(?:\\.com|)': 'National Club Golfer',
'nuts ?magazine(?:\\.co\\.uk|)': 'Nuts (magazine)',
'Putt ?magazine(?:\\.co\\.uk|)': 'Putt',
'Scoregolf(?:\\.com|)': 'Scoregolf',
'sport[- ]?magazine(?:\\.co\\.uk|)': 'Sport (UK magazine)',
'TheCut(?:\\.co\\.nz|)': 'The Cut (magazine)',
'TodaysGolfer(?:\\.co\\.uk|)': 'Today\'s Golfer',
'thelawyer(?:\\.com|)': 'The Lawyer',
'Hollywood ?Reporter(?:\\.com|)': 'The Hollywood Reporter',
'playbill(?:\\.com|)': 'Playbill',
'variety(?:\\.com| magazine)': 'Variety (magazine)',
'teenvogue(?:\\.com|)': 'Teen Vogue',
'townandcountrymag(?:\\.com|)': 'Town & Country (magazine)',
'legal-forum\\.uchicago\\.edu': 'University of Chicago Legal Forum',
'vogue(?:\\.co\\.uk)': 'British Vogue',
'vogue(?:\\.fr)': 'Vogue ParisFrance',
'vogue(?:\\.(?:com|\\w{2})| magazine)': 'Vogue',
'(?:vanityfair(?:\\.com|)|vf\\.com)': 'Vanity Fair',
'wsc(?:\\.co\\.uk)': 'When Saturday Comes',
'motor ?sport ?magazine(?:\\.com|)': 'Motor Sport',
'nature(?:\\.com|)': 'Nature (journal)',
'Road ?(?:And|&) ?Track(?:\\.com|)': 'Road & Track',
'science(?:\\.com|)': 'Science (journal)',
'scientificamerican(?:\\.com|)': 'Scientific American',
'hi-?fi ?news(?:\\.co\\.uk|)': 'Hi-Fi News & Record Review',
Line 594 ⟶ 607:
'elmundo(?:\\.es)': 'El Mundo (Spain)',
'elmundo(?:\\.com)': 'El Mundo (Colombia)',
'el ?mundo': 'El Mundo',
'elmundodeportivo(?:\\.com|\\.es|)': 'Mundo Deportivo',
'elpais(?:\\.com|\\.es|)': 'El País',
Line 617 ⟶ 631:
'diariodecaracas(?:\\.com)': 'El Diario de Caracas',
'diariovea(?:\\.com\\.ve|)': 'Diario VEA',
'el-nacional(?:\\.com)': 'El Nacional (|___location=Caracas), Venezuela',
'lanacion(?:\\.com\\.ar)': 'La Nación |___location=Argentina',
'lanacion(?:\\.com\\.cl)': 'La Nación |___location=Chile',
'lanacion(?:\\.com\\.py)': 'La Nación |___location=Paraguay',
'lanacion(?:\\.com)': 'La Nación |___location=Costa Rica',
'la ?nacion': 'La Nación',
'talcualdigital(?:\\.com)': 'Tal Cual',
'ultimasnoticias(?:\\.com\\.ve|)': 'Últimas Noticias',
Line 849 ⟶ 868:
'星[岛島]日[報报]': 'Sing Tao Daily |language=zh',
'紐約時報': 'New York Times |language=zh',
'Yahoo 新聞香港': 'Yahoo! News |language=zh',
 
//Other websites
Line 984 ⟶ 1,003:
'amna(?:\\.gr|)': 'Athens-Macedonian News Agency',
'bernama(?:\\.com|)': 'Bernama',
'Caixinglobal\\.com': 'Caixin',
'Cna\\.com\\.tw': 'Central News Agency (Taiwan)',
'kyodo ?news(?:\\.com|\\.jp|)': 'Kyodo News',
Line 1,000 ⟶ 1,020:
'pti(?:news(?:\\.com|)|)': 'Press Trust of India',
'religionnews(?:\\.com|)': 'Religion News Service',
// 'reuters': 'Reuters', // no longer just a news agency
'(?:ria(?:n\\.com|n?\\.ru|)|RIA ?Novosti)': 'RIA Novosti',
'sputniknews(?:\\.com|)': 'Sputnik News Agency',
Line 1,158 ⟶ 1,178:
'(?:the ?|)football[\\- ]league(?:\\.co\\.uk|)': 'The Football League',
'Formula ?(?:1|One)(?:\\.com| Group| Administration|)': 'Formula One',
'irb(?:\\.com|)': 'World Rugby',
'International Rugby Board': 'World Rugby',
'mlb(?:\\.com|)': 'Major League Baseball',
'minorleaguebaseball(?:\\.com|)': 'Minor League Baseball',
'nba(?:\\.com|)': 'National Basketball Association',
'olympic(?:\\.org|)': 'International Olympic Committee',
'Premierleague(?:\\.com|)': 'Premier League',
'(?:nfl|superbowl)(?:\\.com|)': 'National Football League',
'nhl(?:\\.com|)': 'National Hockey League',
'pga\\.com': 'Professional Golfers\' Association of America',
'pga\\.info': 'Professional Golfers\' Association (Great Britain and Ireland)',
'pgatour(?:\\.com|)': 'PGA Tour',
'england ?rugby(?:\\.com|)': 'Rugby Football Union',
'rsssf(?:\\.comorg|)': 'Rec.Sport.Soccer Statistics FoundationRSSSF',
'ttproleague(?:\\.com|)': 'TT Pro League',
'uefa(?:\\.com|)': 'UEFA',
'wimbledon(?:\\.com)': 'The Championships, Wimbledon',
'worldrugby(?:\\.com)': 'World Rugby',
'thefa(?:\\.com)': 'The Football Association',
 
Line 1,289 ⟶ 1,309:
'NYSE(?:\\.com|)': 'New York Stock Exchange',
 
'finance\\.yahoo(?:\\.com?|)(?:\\.[\\w]{2}|)': 'Yahoo! Finance',
'green\\.yahoo(?:\\.com?|)(?:\\.[\\w]{2}|)': 'Yahoo! Green',
'sports\\.yahoo(?:\\.com?|)(?:\\.[\\w]{2}|)': 'Yahoo! Sports',
'kids\\.yahoo(?:\\.com?|)(?:\\.[\\w]{2}|)': 'Yahoo! Kids',
'(?:\\w+\\.|)music\\.yahoo(?:\\.com?|)(?:\\.[\\w]{2}|)': 'Yahoo! Music',
'news\\.yahoo(?:\\.com?|)(?:\\.[\\w]{2}|)': 'Yahoo! News',
'yahoo!': 'Yahoo', //
'sina(?:\\.com\\.(?:cn|hk)|)': 'Sina Corp',
'yahoo\\.com': 'Yahoo!',
'google(?:\\.com|)': 'Google',
'msn(?:\\.com|)': 'MSN',
Line 1,354 ⟶ 1,375:
// source names to 'wikiname' - unlinked, unitalicised; outside citation templates (non-italicising)
var re = new RegExp('(<ref[^>]*>[^<\\{]+?[-\\]\\.},;–]\\s+)(?:\\w+\\.|)' + word + '(?: newspaper| online| website|)((?:[,\\.]?[^\\w\' ][^\\]<]*?|)<\\/ref>)', 'gi');
regex(re, newWord2);
// source names to 'wikiname' - unlinked; outside citation templates (deitalicising)
var re = new RegExp('(<ref[^>]*>[^<\\{]+?\\s+)\'\'(?:\\w+\\.|)' + word + '(?: newspaper| online| website|)\'\'([^<]*?<\\/ref>)', 'gi');
regex(re, newWord2);
// source names to unitalicised 'wikiname' - linked, unpiped; outside citation templates
var re = new RegExp('(<ref[^>]*>[^<\\{]+?[-\\]\\.},;–]\\s+\\[\\[)(?:\\w+\\.|)' + word + '(?: newspaper| online| website|)(\\]\\][^<]*?<\\/ref>)', 'gi');
regex(re, newWord2);
// source names to 'wikiname' - linked, unpiped; outside citation templates(deitalicising)
var re = new RegExp('(<ref[^>]*>[^<\\{]+?[-\\]\\.},;–]\\s+)\'\'\\[\\[(?:\\w+\\.|)' + word + '(?: newspaper| online| website|)\\]\\]\'\'([^<]*?<\\/ref>)', 'gi');
regex(re, newWord3); //NOTE: adaptation to re-link is built into 'newWord3'
}