Changeset 3241

Show
Ignore:
Timestamp:
2009-03-19 09:52:20 (12 months ago)
Author:
wwalc
Message:

Fixed #2432 (FCKeditor extension does not recognize tags registered by other extensions)

Location:
MediaWiki/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/FCKeditorSajax.body.php

    r3192 r3241  
    4545                $ret.="html\n"; 
    4646        } 
     47        $wgParser->firstCallInit(); 
    4748        foreach ($wgParser->getTags() as $h) { 
    4849                if (!in_array($h, array("pre", "math", "ref", "references"))) { 
     
    244245        return str_replace("<!-- Tidy found serious XHTML errors -->", "", $parser->parse($wiki, $wgTitle, $options)->getText()); 
    245246} 
     247 
    246248function wfSajaxToggleFCKeditor($data) { 
    247249        global $wgFCKEditorSaveUserSetting; 
     
    255257        return "SUCCESS"; 
    256258} 
    257  
    258  
  • MediaWiki/trunk/mw12/FCKeditorParserWrapper.body.php

    r3217 r3241  
    1111                parent::__construct(); 
    1212 
     13                $wgParser->firstCallInit(); 
    1314                foreach ($wgParser->getTags() as $h) { 
    1415                        if (!in_array($h, array("pre"))) {