User:松/Drafts/Extension:AbuseFilter/Rules format: Difference between revisions
User:松/Drafts/Extension:AbuseFilter/Rules format (view source)
Revision as of 06:30, 1 August 2020
, 3 years agoTranslation code removal
(Translation code removal) |
(Translation code removal) |
||
Line 926:
* <translate><!--T:388--> <tvar|1><code>A | B & C</code></> is equivalent to <tvar|2><code>(A | B) & C</code></>, not to <tvar|3><code>A | (B & C)</code></>.</translate> <translate><!--T:389--> In particular, both <tvar|1><code>true | true '''& false'''</code></> and <tvar|2><code>true | false '''& false'''</code></> evaluates to <tvar|3><code>false</code></>.</translate>
▲== Condition counting == <!--T:390-->
The condition limit is (more or less) tracking the number of comparison operators + number of function calls entered.
Further explanation on how to reduce conditions used can be found at {{ll|Extension:AbuseFilter/Conditions}}.
== Exclusions ==
Although the AbuseFilter examine function will identify "rollback" actions as edits, the AbuseFilter will not evaluate rollback actions for matching.
▲Although the AbuseFilter examine function will identify "rollback" actions as edits, the AbuseFilter will not evaluate rollback actions for matching.</translate><ref>[[phab:T24713|T24713 - <translate><!--T:395--> rollback not matched by AF</translate>]]</ref>
▲== Useful links == <!--T:396-->
* [https://php.net/reference.pcre.pattern.syntax
* [[m:Edit filters benefiting to various local Wikiprojects|
▲* [https://php.net/reference.pcre.pattern.syntax <translate><!--T:397--> PCRE pattern syntax</translate>]
▲* [[m:Edit filters benefiting to various local Wikiprojects|<translate><!--T:398--> Edit filters benefiting to various local Wikiprojects</translate>]]
* {{ll|Extension:AbuseFilter/Conditions}}
▲== Notes == <!--T:399-->
<references/>
|