Changeset 1865 for MediaWiki/trunk/mw12/FCKeditorParser_OldPP.body.php
- Timestamp:
- 2008-04-01 13:08:56 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
MediaWiki/trunk/mw12/FCKeditorParser_OldPP.body.php
r1855 r1865 8 8 protected $fck_mw_taghook; 9 9 protected $fck_internal_parse_text; 10 protected $fck_matches = array(); 10 11 11 12 private $FCKeditorMagicWords = array( … … 252 253 } 253 254 255 $this->fck_matches = $matches; 254 256 wfProfileOut( __METHOD__ ); 255 257 return $text; … … 453 455 $parserOutput->setText(strtr($parserOutput->getText(), $this->fck_mw_strtr_span)); 454 456 } 455 457 if (!empty($this->fck_matches)) { 458 $text = $parserOutput->getText() ; 459 foreach ($this->fck_matches as $key => $m) { 460 $text = str_replace( $key, $m[3], $text); 461 } 462 $parserOutput->setText($text); 463 } 464 456 465 if (!empty($parserOutput->mLanguageLinks)) { 457 466 foreach ($parserOutput->mLanguageLinks as $l) {