Условия:
(документация) | action == 'edit' &
(!'user' in user_groups | user_editcount < 10) &
(old_size > 0 | article_namespace > 0 | length(new_text) > 150) &
!added_links & count('[[', added_lines) < 4 &
(
(long := "[a-zа-я\d]{40}";
lcase(added_lines) rlike long
&! lcase(removed_lines) rlike long
&! contains_any(lcase(new_wikitext),
'кислот','щелоч','лекарств','химич','hash','хеш','committed identity','<math>','tox')
&! contains_any(lcase(added_lines),'[[image:','[[file:','.jpg','http://')
)
|
(m1 := "([а-яА-Я]{1,3})\1{5}";
m2 := "([^_:*'&~|=}{a-fA-F\d-]{1,3})\1{9}";
m3 := "([^_:*'&~|=}{<>-]{4,30})\1{3}";
add := rmwhitespace(added_lines);
(add rlike m1 &! rmwhitespace(removed_lines) rlike m1)|
(add rlike m2 &! rmwhitespace(removed_lines) rlike m2)|
(add rlike m3 &! rmwhitespace(removed_lines) rlike m3
&! (added_lines contains '\n{|' & added_lines contains '\n|}')
& rcount('(!![^!]|\|\|[^|])', add) < 3
& count('\n!', added_lines) < 3
)
)
)
& ! 'begin_of_the_skype_highlighting' in added_lines
& ! contains_any(article_text,'Климат Москвы')
& ! contains_any(new_wikitext,'самое длинное слово')
|
Инструменты: | Экспортировать этот фильтр в другую вики
|