r70411 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70410‎ | r70411 | r70412 >
Date:20:33, 3 August 2010
Author:peter17
Status:ok
Tags:
Comment:
Fix an issue of r69853
Modified paths:
  • /branches/iwtransclusion/phase3/includes/parser/Parser.php (modified) (history)

Diff [purge]

Index: branches/iwtransclusion/phase3/includes/parser/Parser.php
@@ -3123,7 +3123,7 @@
31243124 }
31253125 $title = Title::newFromText( $part1, $ns );
31263126 if ( $title ) {
3127 - if ( $piece['interwiki'] !== '' ) {
 3127+ if ( !$title->isExternal() && $piece['interwiki'] !== '' ) {
31283128 $title->setInterwiki( $piece['interwiki'] );
31293129 }
31303130 $titleText = $title->getPrefixedText();

Follow-up revisions

RevisionCommit summaryAuthorDate
r87107Merge r69853, r69948, r70411, r70575reedy00:31, 29 April 2011
r92988Merge r87107, Merge r69853, r69948, r70411, r70575reedy17:27, 24 July 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69853Force the parser to transclude the foreign subtemplates; NB: VERY slowpeter1722:18, 24 July 2010

Status & tagging log