|
|
| (article_namespace == 0) & | | (article_namespace == 0) & |
| (action == "edit") & | | (action == "edit") & |
| /* !(summary rlike '\b(bola vrátená)') & */ | | /* !(summary rlike '\b(bola vrátená)') & */ |
| ( | | ( |
| d1 := 'cas\.sk|topky\.sk|pluska\.sk|bleskovky\.sk'; | | d := |
| d2 := 'blesk\.cz|ahaonline\.cz|showbiz\.cz';
| | 'cas\.sk|topky\.sk|pluska\.sk|bleskovky\.sk' + |
| d3 := 'dailymail\.co\.uk';
| | '|blesk\.cz|ahaonline\.cz|showbiz\.cz' + |
| d4 := 'youtube\.com|youtu\.be|(?<!sites\.)(?<!books\.)google\.';
| | /* '|dailymail\.co\.uk' + */ |
| re := '(?i)<ref\b[^<>/]*>[^<>]*(//|\.)(' + d1 + '|' + d2 + '|' + d3 + '|' + d4 + ')\b'; | | '|youtube\.com|youtu\.be|(?<!sites\.)(?<!books\.)google\.' + |
| | ''; |
| | re := '(?i)<ref\b[^<>/]*>[^<>]*(//|\.)(' + d + ')\b'; |
| /* ((added_lines rlike re) & !(removed_lines rlike re)) */ | | /* ((added_lines rlike re) & !(removed_lines rlike re)) */ |
| (rcount(re, added_lines) > rcount(re, removed_lines)) | | (rcount(re, added_lines) > rcount(re, removed_lines)) |
| ) | | ) |