Go to file
Daimona Eaytoy 2b4ddd1096 Change a long if/elseif to switch
This is done for 3 reasons: 1-the code should hopefully be clearer;
2-FWIW, switch's are a little bit faster than elseifs (roughly 15%); 3-to
fix a bug with coverage driver which says those lines are not covered.
3 is a follow-up of I997576141943959d4602a9f839311108928ec766.

Change-Id: I2d69e421e384cb74a799c5c5f77d041a7e02d4c8
2019-05-25 10:59:37 +02:00
.phan Migrate to new phan 2019-03-16 09:41:23 +00:00
db_patches Fix issues with SQLite 2019-03-01 10:44:58 +01:00
i18n Localisation updates from https://translatewiki.net. 2019-05-20 22:25:24 +02:00
includes Change a long if/elseif to switch 2019-05-25 10:59:37 +02:00
maintenance Add missing type hint to SpecialPage::execute() 2019-05-16 14:31:54 +00:00
modules Restore highlighting of all keywords, functions, etc. 2019-03-29 10:44:02 +01:00
tests Merge "Add tests for various data type casts" 2019-05-24 19:19:20 +00: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 Fix database schema for PostgreSQL 2018-09-29 12:12:52 +02:00
abusefilter.tables.sql
abusefilter.tables.sqlite.sql Fix SQLite syntax errors 2018-06-26 14:50:57 +02: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 Upgrade PHPCS and phan 2019-05-15 19:06:04 +02:00
COPYING
extension.json Add tests for global filters 2019-05-24 16:58:23 +02: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 new method and hook for static variables 2018-12-30 18:15:33 +01:00
package.json build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-06 13:56:54 -07:00