mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-13 17:27:20 +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 |
||
---|---|---|
.. | ||
api | ||
pagers | ||
parser | ||
special | ||
VariableGenerator | ||
Views | ||
AbuseFilter.php | ||
AbuseFilterChangesList.php | ||
AbuseFilterHooks.php | ||
AbuseFilterModifyLogFormatter.php | ||
AbuseFilterPreAuthenticationProvider.php | ||
AbuseFilterRightsLogFormatter.php | ||
AbuseFilterRunner.php | ||
AbuseFilterSuppressLogFormatter.php | ||
AbuseFilterVariableHolder.php | ||
AbuseLogHitFormatter.php | ||
AFComputedVariable.php | ||
TableDiffFormatterFullContext.php |