Added fixme for incorrect assumption being made
authorjeroendedauw <jeroendedauw@gmail.com>
Mon, 6 Aug 2012 17:28:57 +0000 (19:28 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Mon, 6 Aug 2012 17:28:57 +0000 (19:28 +0200)
Change-Id: I40b83428019b32c39c529577bf3f55677a407693

includes/parser/Parser.php

index 13cf3b1..d313b65 100644 (file)
@@ -1937,6 +1937,7 @@ class Parser {
                                # Interwikis
                                wfProfileIn( __METHOD__."-interwiki" );
                                if ( $iw && $this->mOptions->getInterwikiMagic() && $nottalk && Language::fetchLanguageName( $iw, null, 'mw' ) ) {
+                                       // FIXME: the above check prevents links to sites with identifiers that are not language codes
                                        $this->mOutput->addLanguageLink( $nt->getFullText() );
                                        $s = rtrim( $s . $prefix );
                                        $s .= trim( $trail, "\n" ) == '' ? '': $prefix . $trail;