Per my understanding the following needs to be done:
1.New pages must have certain templates. 2 This is to force users to follow a certain style guidelines. 3. Admin must have freedom to get around these restrictions if need be.
Based on that, I think, the best solution would be to use Semantic Forms. A far easier solution then the AbuseFilter.
Sent from my iPad
On May 18, 2014, at 10:19 PM, Arcane 21 arcane@live.com wrote:
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.
To: mediawiki-l@lists.wikimedia.org Date: Mon, 19 May 2014 12:53:52 +1000 From: billinghurst@gmail.com Subject: Re: [MediaWiki-l] Validating wiki text before saving
On Sun, 18 May 2014 19:37:25 -0400, Tom tom@hutch4.us wrote:
On May 16, 2014, at 10:01 PM, Max Semenik maxsem.wiki@gmail.com
wrote:
The more I think about it the better I like using this extension as a solution to Larry's question.
AbuseFilter is pretty flexible. There are already rules created and
being
used for missing Category(ies) from page edits. You can deny the save or warn and allow, plus tag the edit.
So all is needed is a filter to check all edits for a url with the
wiki's
domain name. A gentle reminder, you do not need to use this syntax with
an
example of what to use. Or the hard road, not allowed please use this.
Tom _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
An advantage of such an approach is that you can provide very specific, direct and customised information and guidance. English Wikisource has an abuse filter that checks a namespace for specific template that is required to be present, and where it is not, then guidance is given on the format, and links to specific help pages.
https://en.wikisource.org/wiki/Special:AbuseFilter/1 In fact this was created as a filter before we even thought about its use in abuse settings.
Sometimes it would nice to be able to cascade filters, or exclude on the basis of a previous filter, however, that is not yet possible.
Regards, Billinghurst
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l