From: Rob Church Date: Tue, 4 Jul 2006 03:40:37 +0000 (+0000) Subject: When parsing, if we encounter a blacklisted image, add the image to the output anyway... X-Git-Tag: 1.31.0-rc.0~56428 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6757b518c1b8ac64d5a2d0ddd063ae0957cb0774;p=lhc%2Fweb%2Fwiklou.git When parsing, if we encounter a blacklisted image, add the image to the output anyway, otherwise the imagelinks table is not quite correct. --- 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" );