Go to file
Daimona Eaytoy f49d4e5caa Emit debug logs when filtering without title
We have two situations where we try to execute filters without a title.
However, the code doesn't handle it correctly: some points expect $title
to actually be a Title object, and we also pass it around using a hook
which explicitly says it always pass a Title. This patch adds two debug
points to help understand why we end up with null titles, so that we can
fix it upstream.

Bug: T144265
Change-Id: I35bfc483a0c69a5cbd38eae8ba299189955fa1ec
2018-12-13 20:34:21 +00: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-12-11 22:39:26 +01:00
includes Emit debug logs when filtering without title 2018-12-13 20:34:21 +00:00
maintenance Change throttle selector to restore old functionality, overall improvement 2018-11-14 12:51:36 +01:00
modules ve.init.mw.AbuseFilterSaveErrorHandler: Update to receive entire response 2018-12-07 14:18:12 -05:00
tests Expose text from all slots to AbuseFilter 2018-12-05 09:24:08 -08:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.9.0 2018-11-23 15:50:29 +00: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 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0 2018-11-14 06:30:58 +00: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: Update phan-taint-check-plugin to 1.5.1 2018-12-05 22:18:15 +00:00
COPYING Add COPYING 2014-01-22 21:21:10 +00:00
extension.json Use the updated TitleMove hook to filter move actions 2018-12-04 18:58:04 +01:00
Gruntfile.js Remove obsolete aliases from closures 2018-11-23 15:44:58 +00:00
hooks.txt Add aliases for "_text" and "article_" variables 2018-08-21 16:59:56 +02:00
package.json build: Update npm dev dependencies 2018-12-05 11:44:28 +00:00