|
|
| !("autoconfirmed" in user_groups) & | | !"confirmed" in user_groups & |
| (article_namespace == 0) &
| | page_namespace == 0 & |
| (lcase(added_lines) rlike "(<img|<a href|([^\[]|\[\[)http://[\S]*?\.(jpe?g|png|gif|bmp))") & | | ( |
| !(lcase(removed_lines) rlike "(<img|<a href|([^\[]|\[\[)http://[\S]*?\.(jpe?g|png|gif|bmp))") &
| | urls := "data:image|<img|<a href|([^\[]|\[\[(File:|Image:)?)https?://[\S]*?\.(jpe?g|png|gif|bmp)"; |
| !(rcount("external ?(media|image|audio|video)|<ref>|{{cite",lcase(added_lines)) > rcount("external ?(media|image|audio|video)|<ref>|{{cite",lcase(removed_lines)))
| | templates := "(?i)external ?(media|image|audio|video)|<ref>|{{cite"; |
| | added_lines irlike urls & |
| | !removed_lines irlike urls & |
| | ( |
| | rcount( templates, lcase(added_lines) ) <= |
| | rcount( templates, lcase(removed_lines) ) |
| | ) |
| | ) |