mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +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 |
||
---|---|---|
.. | ||
AbuseFilterParserTest.php | ||
AbuseFilterParserTestCase.php | ||
AbuseFilterTest.php | ||
AbuseFilterTokenizerTest.php | ||
AbuseFilterVariableHolderTest.php | ||
AFPDataTest.php |