r90273 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90272‎ | r90273 | r90274 >
Date:15:24, 17 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r89539, per CR, we don't need to append iw string as it already exists in rawTitleStr
Modified paths:
  • /trunk/phase3/includes/api/ApiQuery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuery.php
@@ -373,7 +373,7 @@
374374 'iw' => $interwikiStr,
375375 );
376376 if ( $this->iwUrl ) {
377 - $title = Title::newFromText( "{$interwikiStr}:{$rawTitleStr}" );
 377+ $title = Title::newFromText( $rawTitleStr );
378378 $item['url'] = $title->getFullURL();
379379 }
380380 $intrwValues[] = $item;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89539* (bug 29237) add interwiki target url attribute to api/query/interwikireedy22:51, 5 June 2011

Status & tagging log