|
|
| count('<ref',added_lines) > count('<ref',removed_lines) & | | count('<ref',added_lines) > count('<ref',removed_lines) |
| added_lines rlike '<ref( name=[^>]+)??>[^>]*(//youtube.com|//google\.|//([a-z]{2,3}\.)?wikipedia\.org/|\[\[:[a-z]{2,3}:[^\]]+\]\])[^>]*</ref>'
| | & ( |
| &! removed_lines rlike '<ref( name=[^>]+)??>[^>]*(//youtube.com|//google\.|//([a-z]{2,3}\.)?wikipedia\.org/|\[\[:[a-z]{2,3}:[^\]]+\]\])[^>]*</ref>' | | set('bad_ref', '<ref( name=[^>]+)??>[^>]*(//youtube.com|//google\.|//([a-z]{2,3}\.)?wikipedia\.org/|\[\[:[a-z]{2,3}:[^\]]+\]\])[^>]*</ref>') |
| &! summary rlike '\b(rvv?\b|revert|vráceny do původního stavu\b|zrušena\b)' | | & added_lines rlike bad_ref |
| | &! removed_lines rlike bad_ref |
| | &! lcase(summary) rlike '\b(rvv?\b|revert|vráceny do původního stavu\b|zrušena\b)' |
| | ) |