Changeset 3241


Ignore:
Timestamp:
03/19/09 09:52:20 (5 years ago)
Author:
wwalc
Message:

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

Location:
MediaWiki/trunk
Files:
2 edited

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"))) { 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy