r44542 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44541‎ | r44542 | r44543 >
Date:21:14, 13 December 2008
Author:vyznev
Status:ok
Tags:
Comment:
Fix interwiki link regression from r44524.
Modified paths:
  • /trunk/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/Parser.php
@@ -1842,7 +1842,7 @@
18431843 #
18441844 # FIXME: isAlwaysKnown() can be expensive for file links; we should really do
18451845 # batch file existence checks for NS_FILE and NS_MEDIA
1846 - if( $nt->isAlwaysKnown() ) {
 1846+ if( !$nt->isExternal() && $nt->isAlwaysKnown() ) {
18471847 $s .= $this->makeKnownLinkHolder( $nt, $text, '', $trail, $prefix );
18481848 } else {
18491849 $s .= $holders->makeHolder( $nt, $text, '', $trail, $prefix );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r44524followup to r44520: simplify various bits by removing checks now made redundantvyznev04:14, 13 December 2008

Status & tagging log