Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -297,7 +297,7 @@ |
298 | 298 | $lang = $this->getLang(); |
299 | 299 | $dm = $lang->getDirMark(); |
300 | 300 | |
301 | | - $title = Title::newFromID( $result->rc_cur_id ); |
| 301 | + $title = Title::newFromRow( $result ); |
302 | 302 | $spanTime = Html::element( 'span', array( 'class' => 'mw-newpages-time' ), |
303 | 303 | $lang->timeanddate( $result->rc_timestamp, true ) |
304 | 304 | ); |
— | — | @@ -508,7 +508,8 @@ |
509 | 509 | $fields = array( |
510 | 510 | 'rc_namespace', 'rc_title', 'rc_cur_id', 'rc_user', 'rc_user_text', |
511 | 511 | 'rc_comment', 'rc_timestamp', 'rc_patrolled','rc_id', 'rc_deleted', |
512 | | - 'page_len AS length', 'page_latest AS rev_id', 'ts_tags', 'rc_this_oldid' |
| 512 | + 'page_len AS length', 'page_latest AS rev_id', 'ts_tags', 'rc_this_oldid', |
| 513 | + 'page_namespace', 'page_title' |
513 | 514 | ); |
514 | 515 | $join_conds = array( 'page' => array( 'INNER JOIN', 'page_id=rc_cur_id' ) ); |
515 | 516 | |