move "continue" statement. Broken position broke mImages and thus flaggedrevs.
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 17 Aug 2008 00:20:47 +0000 (00:20 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 17 Aug 2008 00:20:47 +0000 (00:20 +0000)
includes/parser/Parser.php

index 7de7291..20b22e1 100644 (file)
@@ -1725,10 +1725,10 @@ class Parser
                                                $s .= $prefix . $this->armorLinks( $this->makeImage( $nt, $text, $holders ) ) . $trail;
 
                                                wfProfileOut( __METHOD__."-image" );
-                                               continue;
                                        }
                                        $this->mOutput->addImage( $nt->getDBkey() );
                                        wfProfileOut( __METHOD__."-image" );
+                                       continue;
 
                                }