When parsing, if we encounter a blacklisted image, add the image to the output anyway...
authorRob Church <robchurch@users.mediawiki.org>
Tue, 4 Jul 2006 03:40:37 +0000 (03:40 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Tue, 4 Jul 2006 03:40:37 +0000 (03:40 +0000)
includes/Parser.php

index 6cac69b..2674479 100644 (file)
@@ -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" );