User:松/Drafts/Extension:AbuseFilter/Rules format: Difference between revisions
Content added Content deleted
(Translation code removal.) |
|||
Line 593: | Line 593: | ||
=== Performance === |
=== Performance === |
||
⚫ | As noted in the table above, some of these variables can be very slow.While writing filters, remember that the condition limit is '''not''' a good metric of how heavy filters are.For instance, variables like <code>*_recent_contributors</code> or <code>*_links</code> always need a DB query to be computed, while <code>*_pst</code> variables will have to perform parsing of the text, which again is a heavy operation; all these variables should be used very, very carefully. |
||
As noted in the table above, some of these variables can be very slow. |
|||
<translate> |
|||
<!--T:277--> |
|||
While writing filters, remember that the condition limit is '''not''' a good metric of how heavy filters are.</translate> |
|||
<translate> |
|||
<!--T:278--> |
|||
⚫ | For instance, variables like |
||
<translate> |
<translate> |
||
<!--T:279--> |
<!--T:279--> |