Go to file
Daimona Eaytoy 6d54b83f2c Simplify parser methods
Use a single function to check parameters amount, avoid duplication
between keywordIn and keywordContains, use if...elseif instead of
if-else when statements have a return inside, simplify some other logic,
add typehinting, and change method visibility according to use of such
methods.

Change-Id: I22225a5cbbb93679a0e78bf6e15866829167fbf4
2018-10-03 17:19:40 +02:00
db_patches abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
i18n Localisation updates from https://translatewiki.net. 2018-09-26 13:45:01 +02:00
includes Simplify parser methods 2018-10-03 17:19:40 +02:00
maintenance Reduce use of globals in favor of Config 2018-05-02 02:27:26 +00:00
modules Merge "Change events used with the Ace editor" 2018-09-05 17:28:15 +00:00
tests Simplify parser methods 2018-10-03 17:19:40 +02:00
.eslintrc.json Convert Special:AbuseFilter/tools to use OOUI 2018-04-02 16:31:19 +02:00
.gitignore Add phan configuration 2018-04-30 08:32:58 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml Remove the last PHPCS exclusion 2018-09-03 10:42:30 +02:00
.stylelintrc.json build: Bump devDependencies to latest 2018-02-10 21:00:53 +00:00
AbuseFilter.alias.php Use short array syntax in alias file 2017-06-15 14:30:30 +00:00
abusefilter.tables.pg.sql Fix database schema for PostgreSQL 2018-09-29 12:12:52 +02:00
abusefilter.tables.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
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 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0 2018-09-07 06:41:55 +00:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Move all apihelp translatable messages to separate files 2018-09-21 08:21:38 +00:00
Gruntfile.js Move all apihelp translatable messages to separate files 2018-09-21 08:21:38 +00:00
hooks.txt Add aliases for "_text" and "article_" variables 2018-08-21 16:59:56 +02:00
package.json Use pinned npm dev dependency versions 2018-09-04 22:16:32 +00:00