Show
Ignore:
Timestamp:
2008-03-28 16:56:36 (5 months ago)
Author:
wwalc
Message:

Fix for #1437. MW Special Tags.

Files:
1 modified

Legend:

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

    r1829 r1834  
    3737 
    3838        return $url; 
     39} 
     40 
     41function wfSajaxSearchSpecialTagFCKeditor($empty) 
     42{ 
     43        global $wgParser; 
     44 
     45        $ret = "nowiki\nincludeonly\nonlyinclude\nnoinclude\n"; 
     46        foreach ($wgParser->getTags() as $h) { 
     47                if (!in_array($h, array("pre", "math", "ref", "references"))) { 
     48                        $ret .= $h ."\n"; 
     49                } 
     50        } 
     51        return $ret; 
    3952} 
    4053