Index: trunk/phase3/includes/specials/SpecialNewpages.php |
— | — | @@ -298,9 +298,16 @@ |
299 | 299 | $dm = $lang->getDirMark(); |
300 | 300 | |
301 | 301 | $title = Title::makeTitleSafe( $result->rc_namespace, $result->rc_title ); |
302 | | - $time = Html::element( 'span', array( 'class' => 'mw-newpages-time' ), |
| 302 | + $spanTime = Html::element( 'span', array( 'class' => 'mw-newpages-time' ), |
303 | 303 | $lang->timeanddate( $result->rc_timestamp, true ) |
304 | 304 | ); |
| 305 | + $time = Linker::linkKnown( |
| 306 | + $title, |
| 307 | + $spanTime, |
| 308 | + array(), |
| 309 | + array( 'oldid' => $result->rc_this_oldid ), |
| 310 | + array() |
| 311 | + ); |
305 | 312 | |
306 | 313 | $query = array( 'redirect' => 'no' ); |
307 | 314 | |
— | — | @@ -501,7 +508,7 @@ |
502 | 509 | $fields = array( |
503 | 510 | 'rc_namespace', 'rc_title', 'rc_cur_id', 'rc_user', 'rc_user_text', |
504 | 511 | 'rc_comment', 'rc_timestamp', 'rc_patrolled','rc_id', 'rc_deleted', |
505 | | - 'page_len AS length', 'page_latest AS rev_id', 'ts_tags' |
| 512 | + 'page_len AS length', 'page_latest AS rev_id', 'ts_tags', 'rc_this_oldid' |
506 | 513 | ); |
507 | 514 | $join_conds = array( 'page' => array( 'INNER JOIN', 'page_id=rc_cur_id' ) ); |
508 | 515 | |