diff --git a/includes/SpamBlacklistHooks.php b/includes/SpamBlacklistHooks.php index 511f46f7..84ba330c 100644 --- a/includes/SpamBlacklistHooks.php +++ b/includes/SpamBlacklistHooks.php @@ -43,7 +43,7 @@ class SpamBlacklistHooks implements // Try getting the update directly $updater = $context->getWikiPage()->getCurrentUpdate(); $pout = $updater->getParserOutputForMetaData(); - } catch ( PreconditionException $exception ) { + } catch ( PreconditionException | LogicException $exception ) { $services = MediaWikiServices::getInstance(); $stashedEdit = $services->getPageEditStash()->checkCache( $title,