|
|
| (!("autoconfirmed" in user_groups) | (user_editcount < 25)) & | | (!("autoconfirmed" in user_groups) | (user_editcount < 25)) & |
| (article_namespace == 0) & | | (article_namespace == 0) & |
| (action == "edit") & | | (action == "edit") & |
|
| |
|
| /* Nejde o revert */ | | /* Nejde o revert */ |
| !(summary rlike '(?i)\b(bola vrátená|revert|rvv?\.?)\b') & | | !(summary rlike '(?i)\b(bola vrátená|revert|rvv?\.?)\b') & |
|
| |
|
| /* Prírastok obsahuje dlhý blok word znakov */ | | /* Prírastok obsahuje dlhý blok word znakov */ |
| ( | | ( |
| reChar := "[^\W_]"; | | reChar := "[^\W_]"; |
| | /* [_] sa občas vyskytuje namiesto medzery |
| | v cieľoch wl., skopírovaných z URL |
| | */ |
| reLong1 := reChar + "{42}"; | | reLong1 := reChar + "{42}"; |
| reLong2 := reChar + "{38}"; /* kratśia verzia pre výnimky */ | | reLong2 := reChar + "{38}"; /* kratśia verzia pre výnimky */ |
| rePos := reLong1; | | rePos := reLong1; |
| reNeg1 := "(?i)(https?://|filit|(file|image|súbor|obrázok):)[^ ]*?" + reLong2; | | reNeg1 := "(?i)(https?://|filit|(file|image|súbor|obrázok):)[^ ]*?" + reLong2; |
| reNeg2 := "(?i)" + reLong2 + "[^\n|]*\.(jpe?g|png|gif|svg|webp|ogg)"; | | reNeg2 := "(?i)" + reLong2 + "[^\n|]*\.(jpe?g|png|gif|svg|webp|ogg)"; |
| ( | | ( |
| rcount(rePos, added_lines) > rcount(rePos, removed_lines) & | | rcount(rePos, added_lines) > rcount(rePos, removed_lines) & |
| !(rcount(reNeg1, added_lines) > rcount(reNeg1, removed_lines)) & | | !(rcount(reNeg1, added_lines) > rcount(reNeg1, removed_lines)) & |
| !(rcount(reNeg2, added_lines) > rcount(reNeg2, removed_lines)) | | !(rcount(reNeg2, added_lines) > rcount(reNeg2, removed_lines)) |
| ) | | ) |
| ) | | ) |