From: Mr. E23 Date: Mon, 5 Jan 2004 01:14:14 +0000 (+0000) Subject: Last fix was broken, reverting to last edit by brion X-Git-Tag: 1.3.0beta1~1197 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=c54d39a81166b3e194178c0e8cd4377d6f4c7145;p=lhc%2Fweb%2Fwiklou.git Last fix was broken, reverting to last edit by brion --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 7c5c927527..5dd58a629d 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -709,19 +709,18 @@ $t[] = "" ; $text = preg_replace( "/(^|\n)-----*/", "\\1
", $text ); $text = str_replace ( "
", "
", $text ); - $text = $this->doAllQuotes( $text ); - $text = $this->doHeadings( $text ); - - if($wgUseDynamicDates) { - global $wgDateFormatter; - $text = $wgDateFormatter->reformat( $wgUser->getOption("date"), $text ); - } - - $text = $this->replaceExternalLinks( $text ); - $text = $this->replaceInternalLinks ( $text ); + $text = $this->doAllQuotes( $text ); + $text = $this->doHeadings( $text ); + $text = $this->doBlockLevels( $text, $linestart ); + + if($wgUseDynamicDates) { + global $wgDateFormatter; + $text = $wgDateFormatter->reformat( $wgUser->getOption("date"), $text ); + } - $text = $this->doTableStuff ( $text ) ; - $text = $this->doBlockLevels( $text, $linestart ); + $text = $this->replaceExternalLinks( $text ); + $text = $this->replaceInternalLinks ( $text ); + $text = $this->doTableStuff ( $text ) ; $text = $this->magicISBN( $text ); $text = $this->magicRFC( $text );