Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -94,6 +94,7 @@ |
95 | 95 | * (bug 20699) API watchlist should list log-events |
96 | 96 | * (bug 29070) Add token to action=watch |
97 | 97 | * (bug 29120) ApiQueryLogEvents: let letype accept multiple values |
| 98 | +* (bug 29221) Expose oldrevid in watchlist output |
98 | 99 | |
99 | 100 | === Languages updated in 1.19 === |
100 | 101 | |
Index: trunk/phase3/includes/api/ApiQueryWatchlist.php |
— | — | @@ -97,7 +97,8 @@ |
98 | 98 | if ( is_null( $resultPageSet ) ) { |
99 | 99 | $this->addFields( array( |
100 | 100 | 'rc_cur_id', |
101 | | - 'rc_this_oldid' |
| 101 | + 'rc_this_oldid', |
| 102 | + 'rc_last_oldid', |
102 | 103 | ) ); |
103 | 104 | |
104 | 105 | $this->addFieldsIf( 'rc_new', $this->fld_flags ); |
— | — | @@ -237,6 +238,7 @@ |
238 | 239 | if ( $this->fld_ids ) { |
239 | 240 | $vals['pageid'] = intval( $row->rc_cur_id ); |
240 | 241 | $vals['revid'] = intval( $row->rc_this_oldid ); |
| 242 | + $vals['old_revid'] = intval( $row->rc_last_oldid ); |
241 | 243 | } |
242 | 244 | |
243 | 245 | $title = Title::makeTitle( $row->rc_namespace, $row->rc_title ); |