Index: trunk/extensions/DoubleWiki/DoubleWiki_body.php |
— | — | @@ -62,13 +62,11 @@ |
63 | 63 | $this->addMatchingTags ( $text, $match_request ); |
64 | 64 | |
65 | 65 | $langLinks = $out->getLanguageLinks(); |
66 | | - |
67 | | - foreach( $langLinks as $l) { |
| 66 | + foreach( $langLinks as $l ) { |
68 | 67 | $nt = Title::newFromText( $l ); |
69 | 68 | $iw = $nt->getInterwiki(); |
70 | 69 | |
71 | 70 | if ( $iw === $match_request ) { |
72 | | - $nt = Title::newFromText( $langLinks[$match_request] ); |
73 | 71 | |
74 | 72 | $key = wfMemcKey( 'doublewiki', $wgLang->getCode(), $nt->getPrefixedDbKey() ); |
75 | 73 | $cachedText = $wgMemc->get( $key ); |