Index: trunk/extensions/FlaggedRevs/api/ApiQueryOldreviewedpages.php |
— | — | @@ -107,10 +107,7 @@ |
108 | 108 | } |
109 | 109 | |
110 | 110 | if ( is_null( $resultPageSet ) ) { |
111 | | - $title = Title::makeTitle( |
112 | | - $row->page_namespace, |
113 | | - $row->page_title |
114 | | - ); |
| 111 | + $title = Title::newFromRow( $row ); |
115 | 112 | $data[] = array( |
116 | 113 | 'pageid' => intval( $row->page_id ), |
117 | 114 | 'ns' => intval( $title->getNamespace() ), |