Revert previous change, which broke interwiki links.
authorWil Mahan <wmahan@users.mediawiki.org>
Thu, 23 Sep 2004 07:25:02 +0000 (07:25 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Thu, 23 Sep 2004 07:25:02 +0000 (07:25 +0000)
includes/Parser.php

index c9731b8..1549f82 100644 (file)
@@ -661,11 +661,11 @@ class Parser
                        $text = $wgDateFormatter->reformat( $this->mOptions->getDateFormat(), $text );
                }
                $text = $this->doAllQuotes( $text );
+               $text = $this->replaceExternalLinks( $text );
                $text = $this->doMagicLinks( $text );
                $text = $this->replaceInternalLinks ( $text );
                # Another call to replace links and images inside captions of images
                $text = $this->replaceInternalLinks ( $text );
-               $text = $this->replaceExternalLinks( $text );
 
                $text = $this->doTableStuff( $text );
                $text = $this->formatHeadings( $text, $isMain );