|
|
| (article_namespace == 0) & | | (article_namespace == 0) & |
| (action == "edit") & | | (action == "edit") & |
| /* !(summary rlike '\b(bola vrátená)') & */ | | /* !(summary rlike '\b(bola vrátená)') & */ |
| ( | | ( |
| d := | | d := |
| 'cas\.sk|topky\.sk|pluska\.sk|plusden\.sk|bleskovky\.sk' + | | 'cas\.sk|topky\.sk|pluska\.sk|plusden\.sk|bleskovky\.sk' + |
| '|blesk\.cz|ahaonline\.cz|showbiz\.cz' + | | '|blesk\.cz|ahaonline\.cz|showbiz\.cz' + |
| /* '|dailymail\.co\.uk' + */ | | /* '|dailymail\.co\.uk' + */ |
| '|youtube\.com|youtu\.be|(?<!sites\.)(?<!books\.)(?<!news\.)google\.' + | | '|youtube\.com|youtu\.be|(?<!sites\.)(?<!books\.)(?<!news\.)(?<!support\.)google\.' + |
| ''; | | ''; |
| re := '(?i)<ref\b[^<>/]*>[^<>]*(//|\.)(' + d + ')\b'; | | 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)) |
| ) | | ) |