From: Ilmari Karonen Date: Sat, 13 Dec 2008 21:14:50 +0000 (+0000) Subject: Fix interwiki link regression from r44524. X-Git-Tag: 1.31.0-rc.0~43989 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=2b796b766a118e16e6efe7cb63291c893bfa1413;p=lhc%2Fweb%2Fwiklou.git Fix interwiki link regression from r44524. --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 38b562ef49..95c34f41ee 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -1842,7 +1842,7 @@ class Parser # # FIXME: isAlwaysKnown() can be expensive for file links; we should really do # batch file existence checks for NS_FILE and NS_MEDIA - if( $nt->isAlwaysKnown() ) { + if( !$nt->isExternal() && $nt->isAlwaysKnown() ) { $s .= $this->makeKnownLinkHolder( $nt, $text, '', $trail, $prefix ); } else { $s .= $holders->makeHolder( $nt, $text, '', $trail, $prefix );