Go to file
Daimona Eaytoy d8d4750e6a Simplify action arrays
The current form is awkward. They're all like
[ actionname => [ 'action' => actionname, 'parameters' => params ] ]
This is greatly confusing since adds a nesting level, and just
duplicates the actionname information (also, we actually never retrieve
it from the internal array). Instead, change all of them to be
[ actionname => params ]
which is a lot shorter and clearer (and easier to handle).
A similar case is handled in I8134ecc41fbecdbed99faf406e9e3ca91b6123b9
(see PS 8..10).

Change-Id: I34c040dbeb3ab01158fb3db22496def6ccaf72d9
2019-07-05 10:00:48 +02:00
.phan Migrate to new phan 2019-03-16 09:41:23 +00:00
db_patches Drop afl_log_id 2019-06-28 17:55:55 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-07-03 22:42:37 +02:00
includes Simplify action arrays 2019-07-05 10:00:48 +02:00
maintenance Add missing type hint to SpecialPage::execute() 2019-05-16 14:31:54 +00:00
modules Simplify by using mw.util.getUrl 2019-07-03 08:43:40 +02:00
tests Simplify action arrays 2019-07-05 10:00:48 +02:00
.eslintrc.json build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 15:44:45 -07:00
.gitignore build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-03 15:44:45 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Merge "Don't use wgLang and wgContLang" 2019-03-17 09:53:16 +00:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Add aliases for Serbian language 2018-12-24 02:16:55 +00:00
abusefilter.tables.pg.sql Drop afl_log_id 2019-06-28 17:55:55 +00:00
abusefilter.tables.sql Drop afl_log_id 2019-06-28 17:55:55 +00:00
abusefilter.tables.sqlite.sql Drop afl_log_id 2019-06-28 17:55:55 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Updating mediawiki/mediawiki-phan-config to 0.6.1 2019-06-10 05:02:04 +00:00
COPYING
extension.json Use MediaWiki\Block\DatabaseBlock instead of Block 2019-05-31 16:08:19 +01:00
Gruntfile.js build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-06 13:56:54 -07:00
hooks.txt Add a parameter to generate(User|Title)Vars hooks to specify context 2019-03-22 16:06:17 +01:00
package-lock.json build: Updating npm dependencies for security issues 2019-06-07 20:12:00 +00:00
package.json build: Updating npm dependencies for security issues 2019-06-07 20:12:00 +00:00