Functions calls consume one condition from the limit for every function parameter. This is obviously wrong, and it means that e.g. contains_any(foo, 'a', 'b', 'c') is more expensive than 'a' in foo | 'b' in foo | 'c' in foo, even though it's faster.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/AbuseFilter | master | +33 -3 | Improve how the number of conditions is counted |
Related Objects
Related Objects
Event Timeline
Comment Actions
I've since learned that this has gotten painstakingly documented at https://www.mediawiki.org/wiki/Extension:AbuseFilter/Conditions. I'll archive the page and document the new simpler rules later.
Comment Actions
Change 282477 had a related patch set uploaded (by Bartosz Dziewoński):
Improve how the number of conditions is counted