Would you test on this one:
(article_namespace == 0) /* Only for {{ns:0}} */ & !(user_groups rlike "(sysop|bot|autopatrolled)") /* Not admin, bot, or autopatrolled */ & (action == "edit") /* Must be an "edit" */ & (article_articleid == 0) /* of previously non-existent page */ & !(new_wikitext irlike "^#\s*redirect") /* Must NOT be a redirect */ & (!(new_wikitext irlike "[[\s*Category:.+?]]") /* Must be missing categories */ | !(new_wikitext irlike "{{\s*(Foo|Bar|Baz)")) /* OR none of the templates listed is found */
2014-05-19 5:19 GMT+00:00 Arcane 21 arcane@live.com:
I was wondering if there was a way to make a filter for the following:
New pages must have one of a series of templates (any of the templates will do, as long as at least one is present) and a category of some sort.
This would only apply to users that are not autopatrolled, bots or administrators.
We'd like to have something on our wiki to deter new editors that don't follow the manual of style guidelines and so the filter would be to encourage them to do so, with the hope and intention of encouraging good editing.
I'm not very skilled in the use of AbuseFilter, so if someone could show me an example filter that would fit the above (if possible), it would be appreciated.