From: Sam Reed Date: Fri, 17 Jun 2011 15:24:40 +0000 (+0000) Subject: Followup r89539, per CR, we don't need to append iw string as it already exists in... X-Git-Tag: 1.31.0-rc.0~29470 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=536a49efd7147385ae87b0cbb96010382daf2f8c;p=lhc%2Fweb%2Fwiklou.git Followup r89539, per CR, we don't need to append iw string as it already exists in rawTitleStr --- diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index d8389037ea..fedc847102 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -373,7 +373,7 @@ class ApiQuery extends ApiBase { 'iw' => $interwikiStr, ); if ( $this->iwUrl ) { - $title = Title::newFromText( "{$interwikiStr}:{$rawTitleStr}" ); + $title = Title::newFromText( $rawTitleStr ); $item['url'] = $title->getFullURL(); } $intrwValues[] = $item;