User:松/Drafts/Extension:AbuseFilter/Rules format: Difference between revisions

Content added Content deleted
(Translation code removal)
(Translation code removal)
Line 295: Line 295:
|}
|}


==== <translate><!--T:128--> Variables available for some actions</translate> ====
==== Variables available for some actions ====
{{Caution|1=<translate><!--T:444--> Always check that the variables you want to use are available for the current action being filtered, e.g. by using the <tvar|1><code>action</code></> variable.</translate> <translate><!--T:445--> Failing to do so (for instance using <tvar|1><code>accountname</code></> for an edit, or <tvar|2><code>edit_delta</code></> for a deletion) will make any code using the variable in question return false.</translate>}}
{{Caution|1=Always check that the variables you want to use are available for the current action being filtered, e.g. by using the <code>action</code> variable.Failing to do so (for instance using <code>accountname</code> for an edit, or <code>edit_delta</code> for a deletion) will make any code using the variable in question return false.}}


{| class="wikitable sortable"
{| class="wikitable sortable"