run replaceInternalLinks twice to render links/images in captions of images
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 27 May 2004 01:38:38 +0000 (01:38 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 27 May 2004 01:38:38 +0000 (01:38 +0000)
includes/Parser.php

index e434fb1..d5bbc15 100644 (file)
@@ -586,6 +586,7 @@ class Parser
                $text = $this->doAllQuotes( $text );
                $text = $this->replaceExternalLinks( $text );
                $text = $this->replaceInternalLinks ( $text );
+               $text = $this->replaceInternalLinks ( $text );
                //$text = $this->doTokenizedParser ( $text );
                $text = $this->doTableStuff ( $text ) ;
                $text = $this->magicISBN( $text );