mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Add debug logging for edits presumably prevented by other extensions
Bug: T211680 Change-Id: I0c9ac09044122521f67ffaf38a92e42b20f3ea43
This commit is contained in:
parent
f49719c0f4
commit
634742324e
|
@ -169,6 +169,14 @@ class AbuseFilterHooks {
|
|||
) {
|
||||
$startTime = microtime( true );
|
||||
|
||||
if ( !$status->isOK() ) {
|
||||
// Investigate what happens if we skip filtering here (T211680)
|
||||
LoggerFactory::getInstance( 'AbuseFilter' )->info(
|
||||
'Status is already not OK',
|
||||
[ 'status' => (string)$status ]
|
||||
);
|
||||
}
|
||||
|
||||
$filterResult = self::filterEdit( $context, $user, $content, $summary, $slot );
|
||||
|
||||
if ( !$filterResult->isOK() ) {
|
||||
|
|
Loading…
Reference in a new issue