mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
1bac110205
This was used to dynamically generate *_restriction_* variables. However, it had two big problems: - We only have i18n for 'create', 'move', 'edit', and 'upload' (the default value of the global); other restrictions would show missing messages in various pages. - We had to access the global state in various points. This change also makes some code in AbuseFilterVariableHolder simpler, and also allows us to make AbuseFilterTest a unit test. Change-Id: I321ad6e07f8243200af67a581b6e485970efd3ce |
||
---|---|---|
.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 |