Last fix was broken, reverting to last edit by brion
authorMr. E23 <e23@users.mediawiki.org>
Mon, 5 Jan 2004 01:14:14 +0000 (01:14 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Mon, 5 Jan 2004 01:14:14 +0000 (01:14 +0000)
includes/OutputPage.php

index 7c5c927..5dd58a6 100644 (file)
@@ -709,19 +709,18 @@ $t[] = "</table>" ;
                $text = preg_replace( "/(^|\n)-----*/", "\\1<hr>", $text );
                $text = str_replace ( "<HR>", "<hr>", $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 );