r77080 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77079‎ | r77080 | r77081 >
Date:17:27, 21 November 2010
Author:reedy
Status:ok
Tags:
Comment:
Per r77072 CR, followup r66872 (seemingly my crappy code from 5 months ago) like r77079
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryIWLinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryIWLinks.php
@@ -96,7 +96,7 @@
9797 if ( !is_null( $params['url'] ) ) {
9898 $title = Title::newFromText( "{$row->iwl_prefix}:{$row->iwl_title}" );
9999 if ( $title ) {
100 - $entry = array_merge( $entry, array( 'url' => $title->getFullURL() ) );
 100+ $entry['url'] = $title->getFullURL();
101101 }
102102 }
103103

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r66872bug 23524 - &url for ApiQueryIWLinks to expand full URLreedy13:33, 25 May 2010
r77072* (bug 26006) prop=langlinks now allows obtaining full URLialex14:04, 21 November 2010
r77079Per Reedy, follow-up to r77072: don't use array_merge() to add just one itemialex17:02, 21 November 2010

Status & tagging log