From 1c9c17f675da1e04b6da64c5e235dc5b2cb4c490 Mon Sep 17 00:00:00 2001 From: Wil Mahan Date: Thu, 23 Sep 2004 07:16:05 +0000 Subject: [PATCH] Call replaceExternalLinks after replaceInternalLinks. Fixes bug 2 and a related bug. --- includes/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index 1549f82304..c9731b8d5e 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -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 ); -- 2.20.1