Go to file
Daimona Eaytoy 1bac110205 Remove dependency on $wgRestrictionTypes
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
2020-02-25 23:17:54 +00:00
.phan Migrate to new phan 2019-03-16 09:41:23 +00:00
db_patches Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
i18n Localisation updates from https://translatewiki.net. 2020-02-25 08:51:36 +01:00
includes Remove dependency on $wgRestrictionTypes 2020-02-25 23:17:54 +00:00
maintenance fixOldLogEntries: don't pass empty lists to Database::makeList 2020-02-10 17:24:18 +01:00
modules eslint: Add /mediawiki rules 2020-02-22 15:59:28 +00:00
tests Remove dependency on $wgRestrictionTypes 2020-02-25 23:17:54 +00:00
.eslintrc.json eslint: Add /mediawiki rules 2020-02-22 15:59:28 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview
.phpcs.xml Fix remaining PHPCS issues 2020-01-21 12:36:37 +00:00
.stylelintrc.json
AbuseFilter.alias.php Add aliases for Serbian language 2018-12-24 02:16:55 +00:00
abusefilter.tables.pg.sql Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
abusefilter.tables.sql Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
abusefilter.tables.sqlite.sql Add new schemas for splitting afl_filter 2019-09-22 16:04:45 +00:00
CODE_OF_CONDUCT.md
composer.json build: Updating composer dependencies 2020-01-28 17:51:38 +00:00
COPYING
extension.json Move variable generators to new classes 2020-02-07 19:44:31 +00:00
Gruntfile.js eslint: Add /mediawiki rules 2020-02-22 15:59:28 +00:00
hooks.txt Rename addStaticVars and related hook 2020-02-09 14:29:08 +01:00
package-lock.json build: Updating npm dependencies 2020-02-20 17:23:00 +00:00
package.json build: Updating npm dependencies 2020-02-20 17:23:00 +00:00