Wikipedia talk:Edit filter/Instructions

Latest comment: 14 years ago by Asndb in topic No instructions

No instructions

edit

Decided to try to create a filter so I went to these "instructions." I am aware that the filter is new and this page may be preliminary material but without an under coinstruction tag or similar notice it is something of a mind fuck. Where do we add the filter? What makes up the filter content? How is it constructed? Where are examples? This page is giant "huh?".--Fuhghettaboutit (talk) 01:04, 23 April 2009 (UTC)Reply

I added some instructions on this page on May 8. Also, looking at the existing filters might help. — AlexSm 14:52, 21 May 2009 (UTC)Reply
These "instructions" still assume that the reader already knows how a filter is created (when that is what is supposed to be being taught here), there is nothing here which actually explains how this is done, explains the functions of any of the terms used, or even explains where to begin learning about these things. For example, a reader may know what a regular expression is, but how are they supposed to know how to integrate it into the rest of the filter's code, or even which codes to use? Even the linked rules page doesn't actually explain what anything does or reveal how to use anything to produce any kind of desired effect.Asndb (talk) 22:44, 19 September 2010 (UTC)Reply

contains_any or in

edit

What should be used to optimize filters: contains_any or multiple "string" in var statements? The latter one is used in m:Special:AbuseFilter/15 which has an average run time of 0ms. I expected contains_any to be faster, but now I'm not sure. --Erwin (talk) 10:19, 21 May 2009 (UTC)Reply

I would expect contains_any to be at least not slower than in. Considering that the code would look better, I think the choice is obvious. I suspect some people simply are not aware of contains_any since it's located in a different section than in. — AlexSm 14:52, 21 May 2009 (UTC)Reply

MediaWiki

edit

Why this page isn't on mediawikiwiki? --Nemo bis (talk) 19:33, 10 August 2009 (UTC)Reply

AbuseFilter actions

edit

I'm evaluating Extension:AbuseFilter for use on our internal wiki, and trying to learn how it all works. When configuring a filter, under Actions taken when matched, I see a Flag the edit in the abuse log checkbox, but it's disabled (greyed out) so I can't click on it to clear the checkbox, and I can't figure out how to enable it. Is there any way to enable this option so I can clear the checkbox and prevent posting a triggered event to the Abuse log? Or is it designed to always log, and then optionally do one or more other actions?

--obliquemotion (talk) 18:25, 11 June 2010 (UTC)Reply