Revision: 44543 Author: vyznev Date: 2008-12-13 21:21:40 +0000 (Sat, 13 Dec 2008)
Log Message: ----------- (Actually, we can simplify that a bit more.) Modified Paths: -------------- trunk/phase3/includes/parser/Parser.php Modified: trunk/phase3/includes/parser/Parser.php =================================================================== --- trunk/phase3/includes/parser/Parser.php 2008-12-13 21:14:50 UTC (rev 44542) +++ trunk/phase3/includes/parser/Parser.php 2008-12-13 21:21:40 UTC (rev 44543) @@ -1842,7 +1842,7 @@ # # FIXME: isAlwaysKnown() can be expensive for file links; we should really do # batch file existence checks for NS_FILE and NS_MEDIA - if( !$nt->isExternal() && $nt->isAlwaysKnown() ) { + if( $iw == '' && $nt->isAlwaysKnown() ) { $s .= $this->makeKnownLinkHolder( $nt, $text, '', $trail, $prefix ); } else { $s .= $holders->makeHolder( $nt, $text, '', $trail, $prefix ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs