Show
Ignore:
Timestamp:
2008-04-02 08:28:33 (9 months ago)
Author:
wwalc
Message:

Fix for #1009: Redirects get changed into numbered list

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/mw12/FCKeditorParser_OldPP.body.php

    r1867 r1869  
    446446 
    447447        function parse( $text, &$title, $options, $linestart = true, $clearState = true, $revid = null ) { 
     448                $text = preg_replace("/^#REDIRECT/", "<!--FCK_REDIRECT-->", $text); 
    448449                $parserOutput = parent::parse($text, $title, $options, $linestart , $clearState , $revid ); 
    449450 
     
    474475                } 
    475476                 
     477                $parserOutput->setText(str_replace("<!--FCK_REDIRECT-->", "#REDIRECT", $parserOutput->getText())); 
     478 
    476479                return $parserOutput; 
    477480        }