Index: trunk/extensions/Interlanguage/Interlanguage.php |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | * @param $editPage - standard EditPage object. |
150 | 150 | */ |
151 | 151 | function pageLinks( $editPage ) { |
152 | | - global $wgInterlanguageExtensionInterwiki, $wgMessageCache, $wgTitle; |
| 152 | + global $wgInterlanguageExtensionInterwiki, $wgTitle; |
153 | 153 | |
154 | 154 | if( count( $this->pageLinks )) { |
155 | 155 | $pagelinks = $this->pageLinks; |
— | — | @@ -166,7 +166,6 @@ |
167 | 167 | } |
168 | 168 | } |
169 | 169 | |
170 | | - $wgMessageCache->loadAllMessages(); //Why? |
171 | 170 | $ple = wfMsg( 'interlanguage-pagelinksexplanation' ); |
172 | 171 | |
173 | 172 | $res = <<<THEEND |