Go to file
Daimona Eaytoy 1abaff1aac Better handling of keywords and functions
Always run the keyword/function handler, even if there are DUNDEFINED
arguments, so that the handler can perform further validation on the
input and report any error to the user. However, replace DUNDEFINED with
DNULL before running the handler, to avoid special-casing DUNDEFINED in
every handler. If any argument was a DUNDEFINED, we will return
DUNDEFINED anyway.

Also centralize the keyword handling logic to a new method, like it
happens for functions.

Bug: T234339
Change-Id: I875cb77418a39790e91fe5867c49917bfe406ed4
2019-11-08 15:07:20 +01: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. 2019-11-08 09:43:34 +01:00
includes Better handling of keywords and functions 2019-11-08 15:07:20 +01:00
maintenance Remove script for blockautopromote entries 2019-09-09 13:56:56 +02:00
modules ext.abuseFilter.tools.js: Replace deprecated editToken with csrfToken 2019-09-22 01:54:34 +00:00
tests Better handling of keywords and functions 2019-11-08 15:07:20 +01: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 Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-09 18:34:07 +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 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 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json Merge "build: Upgrade mediawiki-phan-config to 0.8.0" 2019-10-19 20:04:47 +00:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Move parser tests back to /unit 2019-09-03 13:23:11 +00: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 hook to determine whether the current action should be filtered 2019-08-13 10:31:29 +02:00
package-lock.json build: Updating grunt-stylelint to 0.11.1 2019-10-20 23:04:43 +00:00
package.json build: Updating grunt-stylelint to 0.11.1 2019-10-20 23:04:43 +00:00