From 6757b518c1b8ac64d5a2d0ddd063ae0957cb0774 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Tue, 4 Jul 2006 03:40:37 +0000 Subject: [PATCH] When parsing, if we encounter a blacklisted image, add the image to the output anyway, otherwise the imagelinks table is not quite correct. --- includes/Parser.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/Parser.php b/includes/Parser.php index 6cac69bb63..2674479866 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -1575,6 +1575,9 @@ class Parser wfProfileOut( "$fname-image" ); continue; + } else { + # We still need to record the image's presence on the page + $this->mOutput->addImage( $nt->getDBkey() ); } wfProfileOut( "$fname-image" ); -- 2.20.1