Show
Ignore:
Timestamp:
2008-03-31 11:16:48 (6 months ago)
Author:
wwalc
Message:

Fix for #1882: interwiki language links lost.

Files:
1 modified

Legend:

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

    r1836 r1851  
    441441                if (!empty($this->fck_mw_strtr_span)) { 
    442442                        $parserOutput->setText(strtr($parserOutput->getText(), $this->fck_mw_strtr_span)); 
     443                } 
     444 
     445                if (!empty($parserOutput->mLanguageLinks)) { 
     446                        foreach ($parserOutput->mLanguageLinks as $l) { 
     447                                $parserOutput->setText($parserOutput->getText() . "\n" . "<a href=\"".$l."\">".$l."</a>") ; 
     448                        } 
    443449                } 
    444450