Go to file
Daimona Eaytoy ba9df944c8 Compare with null instead of using $config->has
With I91a9c5cca55e540a6c95b750579c1c369a760b15 we replaced some globals
with Config and, in doing this, we added "$config->has()" to check if a
variable was null. However, "has" will always return true even if the
value is null (it only checks if it exists), and thus we end up showing
a global abusefilter pager even if no central DB is set.

Bug: T195022
Change-Id: I751fdefd29b6af1361021d4343ba67f16c99a037
2018-05-21 12:11:45 +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-05-20 22:44:15 +02:00
includes Compare with null instead of using $config->has 2018-05-21 12:11:45 +02:00
maintenance Reduce use of globals in favor of Config 2018-05-02 02:27:26 +00:00
modules Merge "Use OOUI buttons instead of plain links and Html::errorbox for errors" 2018-05-03 00:41:21 +00:00
tests Add phan configuration 2018-04-30 08:32:58 +00: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 unused wgTitle + remove exception from PHPCS 2018-04-21 10:03:49 +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 PostgreSQL: Add missing columns for AbuseFilter 2018-02-16 19:26:34 +01: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 AbuseFilter SQLite schema 2018-05-19 20:09:51 +00:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md 2017-06-07 08:28:35 +04:30
composer.json Move phan dependency to dev 2018-04-30 14:16:46 +02:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json add grant to view private abusefilter log entries 2018-04-11 08:59:36 +00:00
Gruntfile.js Revert "Revert "Switch editor to Ace and provide syntax highlight"" 2018-03-30 11:10:16 -04:00
hooks.txt (bug 42064) AbuseFilter + EditFilterMergedContent 2013-01-17 11:18:28 +01:00
package.json build: Bump devDependencies to latest 2018-04-04 17:34:02 -07:00