Index: trunk/phase3/includes/api/ApiQueryIWBacklinks.php |
— | — | @@ -119,11 +119,10 @@ |
120 | 120 | if ( !is_null( $resultPageSet ) ) { |
121 | 121 | $pages[] = Title::newFromRow( $row ); |
122 | 122 | } else { |
123 | | - $entry = array(); |
| 123 | + $entry = array( 'pageid' => $row->page_id ); |
124 | 124 | |
125 | | - $entry['pageid'] = intval( $row->page_id ); |
126 | | - $entry['ns'] = intval( $row->page_namespace ); |
127 | | - $entry['title'] = $row->page_title; |
| 125 | + $title = Title::makeTitle( $row->page_namespace, $row->page_title ); |
| 126 | + ApiQueryBase::addTitleInfo( $entry, $title ); |
128 | 127 | |
129 | 128 | if ( $row->page_is_redirect ) { |
130 | 129 | $entry['redirect'] = ''; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -262,6 +262,8 @@ |
263 | 263 | miser mode) |
264 | 264 | * (bug 26629) add Special:MIMESearch to api |
265 | 265 | * (bug 27585) add pagecount to list=filearchive |
| 266 | +* (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks) |
| 267 | + is missing |
266 | 268 | |
267 | 269 | === Languages updated in 1.18 === |
268 | 270 | |