mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-23 10:18:22 +00:00
a7182acafd
This code was simply caching the AbuseFilter::$tagsToSet property, but this is not necessary. The only tag that can be buffered during edit stashing is the conds limit tag. So we just save whether the conds limit was hit, and apply the tag from a single point afterwards. Also avoid checking whether 'tag' is enabled as an action, since this tag should always be added when applicable. Next step is creating some sort of Watcher service that will do everything on its own: check whether the limit was hit, save this information, and tag the action later. Bug: T265370 Change-Id: I90319a658736fad7d564cb51152061709c230411 |
||
---|---|---|
.phan | ||
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
abusefilter.tables.pg.sql | ||
abusefilter.tables.sql | ||
abusefilter.tables.sqlite.sql | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
hooks.txt | ||
package-lock.json | ||
package.json |