Extension talk:AbuseFilter/Rules format/Archive 1

variables overview
is there an overview of those variables like MOVED_TO_TEXT, ADDED_LINES, SUMMARY, USER_GROUPS etc.? -- seth 17:55, 28 January 2009 (UTC)

Note regarding formatting conditions
I don't know if this will help anyone, but I ran into a problem formatting some conditions. I wanted to select all non-minor edits and discovered that, while '= "1"' is honored, '="0"' is not when it comes to asserting actions on live edits, even though testing the filter using that syntax works fine. Therefore, the safest syntax to use is '= true' and '= false'. Again, probably just my duncery, but perhaps it will help someone else. Cheers. Thorncrag 18:47, 6 September 2010 (UTC)


 * Another one I discovered, if you want to apply to file uploads, or to exclude from uploads use something like:  .  Thorncrag 19:57, 7 September 2010 (UTC)


 * Both handy - thanks Thorncrag. --Chriswaterguy 11:42, 7 December 2011 (UTC)

Concatenation
How can I concatenate strings? --Octahedron80 05:32, 13 May 2011 (UTC)
 * You can just use a . So "some text" == "foo bar" is the same as "some text" == "foo" + " bar". 207.71.53.42 21:51, 2 June 2011 (UTC)

No Unicode support
Unicode support is required because the following example in French do not work properly : "testé" regex "\btest\b" Result: True

There is no workaround as the PCRE syntax is not fully supported like the (*UCP) option.

--DavidL (talk) 22:29, 16 April 2012 (UTC)
 * A quick glance at AbuseFilter's code shows that much of it relies on the built-in POSIX regex, though a developer may have a different opinion.--Jasper Deng (talk) 00:03, 17 April 2012 (UTC)

blocked IP
is it possible to add variable that can show the user's IP is blocked or not.

it is helpful for cases that open proxy is blocked but only for ip editing not users editing.

in many cases users because of some limitations in their country (some pages are filtered by isp ,...) they use open proxy for editing in specific articles.

I want to filter which users are new and they use this Block IPs.Reza1615 (talk) 21:37, 16 June 2012 (UTC)