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