Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php |
— | — | @@ -86,6 +86,7 @@ |
87 | 87 | $this->fld_ids = isset ($prop['ids']); |
88 | 88 | $this->fld_sizes = isset ($prop['sizes']); |
89 | 89 | |
| 90 | + $this->addFieldsIf('rc_id', $this->fld_ids); |
90 | 91 | $this->addFieldsIf('rc_cur_id', $this->fld_ids); |
91 | 92 | $this->addFieldsIf('rc_this_oldid', $this->fld_ids); |
92 | 93 | $this->addFieldsIf('rc_last_oldid', $this->fld_ids); |
— | — | @@ -142,6 +143,7 @@ |
143 | 144 | } |
144 | 145 | |
145 | 146 | if ($this->fld_ids) { |
| 147 | + $vals['rcid'] = intval($row->rc_id); |
146 | 148 | $vals['pageid'] = intval($row->rc_cur_id); |
147 | 149 | $vals['revid'] = intval($row->rc_this_oldid); |
148 | 150 | $vals['old_revid'] = intval( $row->rc_last_oldid ); |