HomePhabricator

Guard against null $title in TranslateHooks::onAbuseFilterFilterAction

Description

Guard against null $title in TranslateHooks::onAbuseFilterFilterAction

Although it's supposed to be a Title object and documented as such,
this is likely passed null sometimes. There are several places where
AbuseFilter::filterAction is called so just do this check on our side
and see whether this fixes T143073.
Added logging with backtrace for further debugging.

Bug: T143073
Change-Id: I1d011c54fc4c90fb34592b5d59d65176b8c41b88