miser mode)
* (bug 26629) add Special:MIMESearch to api
* (bug 27585) add pagecount to list=filearchive
+* (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks)
+ is missing
=== Languages updated in 1.18 ===
if ( !is_null( $resultPageSet ) ) {
$pages[] = Title::newFromRow( $row );
} else {
- $entry = array();
+ $entry = array( 'pageid' => $row->page_id );
- $entry['pageid'] = intval( $row->page_id );
- $entry['ns'] = intval( $row->page_namespace );
- $entry['title'] = $row->page_title;
+ $title = Title::makeTitle( $row->page_namespace, $row->page_title );
+ ApiQueryBase::addTitleInfo( $entry, $title );
if ( $row->page_is_redirect ) {
$entry['redirect'] = '';