Per r77072 CR, followup r66872 (seemingly my crappy code from 5 months ago) like...
authorSam Reed <reedy@users.mediawiki.org>
Sun, 21 Nov 2010 17:27:13 +0000 (17:27 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 21 Nov 2010 17:27:13 +0000 (17:27 +0000)
includes/api/ApiQueryIWLinks.php

index 3ee820b..5a5b452 100644 (file)
@@ -96,7 +96,7 @@ class ApiQueryIWLinks extends ApiQueryBase {
                        if ( !is_null( $params['url'] ) ) {
                                $title = Title::newFromText( "{$row->iwl_prefix}:{$row->iwl_title}" );
                                if ( $title ) {
-                                       $entry = array_merge( $entry, array( 'url' => $title->getFullURL() ) );
+                                       $entry['url'] = $title->getFullURL();
                                }
                        }