From 859db6a6df7802487741ba9aff36d1a74c60cc54 Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Mon, 6 Aug 2012 19:28:57 +0200 Subject: [PATCH] Added fixme for incorrect assumption being made Change-Id: I40b83428019b32c39c529577bf3f55677a407693 --- includes/parser/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 13cf3b1653..d313b65e62 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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; -- 2.20.1