Go to file
Matěj Suchánek 16e71d3985 Cast stashed values to integer
Stash may return false if the value hasn't been set yet. This basically
means 'zero'.

Steps to reproduce: create a new filter and open it. If it doesn't have
any hits, the second message parameter is missing instead of being '0'.

Change-Id: I8f240dd87664ec99a98b843f9e5c4c8c9eed0532
2017-01-02 08:47:13 +00:00
api Allow users with abusefilter-view-private to read private filters via API. 2016-12-24 01:50:01 -05: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. 2017-01-01 09:49:10 +01:00
includes Move AbuseFilterVariableHolder up to /includes 2016-12-18 17:13:06 -08:00
maintenance Make maintenance scripts use $this->requireExtension() 2016-12-12 22:42:00 +00:00
modules Compress PNGs with zopflipng 2016-02-21 00:51:11 +00:00
special Merge "Don't show red diff link" 2016-12-21 10:07:54 +00:00
tests Fix the associativity of boolean logic operators 2016-11-06 20:30:07 -05:00
Views Cast stashed values to integer 2017-01-02 08:47:13 +00:00
.gitignore Expand .gitignore for more editors 2016-11-13 12:49:41 +01:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.jshintignore Add npm entry point 2016-02-29 19:52:23 +00:00
.jshintrc Add npm entry point 2016-02-29 19:52:23 +00:00
AbuseFilter.alias.php Adding $specialPageAliases translations for bengali (bn) 2016-11-27 21:40:29 +00:00
AbuseFilter.hooks.php Don't access protected SpecialPage::getLinkRenderer() 2016-12-07 15:32:41 -08:00
AbuseFilter.php Change some globals to work better with extension registration 2016-06-06 19:53:53 +00:00
abusefilter.tables.pg.sql abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00: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 abuse_filter_log table only uses tinyint not int for namespace ID 2014-03-04 02:24:27 +00:00
composer.json Update mediawiki/mediawiki-codesniffer to 0.5.1 2016-08-23 16:18:27 +02:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Move AbuseFilterVariableHolder up to /includes 2016-12-18 17:13:06 -08:00
Gruntfile.js Activate grunt-banana-checker 2016-12-23 21:04:34 +01:00
hooks.txt (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00
package.json Activate grunt-banana-checker 2016-12-23 21:04:34 +01:00
phpcs.xml Add support for PHP CodeSniffer checks 2016-01-06 09:59:47 -08:00