r24100 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24099‎ | r24100 | r24101 >
Date:01:12, 15 July 2007
Author:yurik
Status:old
Tags:
Comment:
API: Fixed Bug 10544 Add 'rc_id' column to 'recentchanges' query.
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryRecentChanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php
@@ -86,6 +86,7 @@
8787 $this->fld_ids = isset ($prop['ids']);
8888 $this->fld_sizes = isset ($prop['sizes']);
8989
 90+ $this->addFieldsIf('rc_id', $this->fld_ids);
9091 $this->addFieldsIf('rc_cur_id', $this->fld_ids);
9192 $this->addFieldsIf('rc_this_oldid', $this->fld_ids);
9293 $this->addFieldsIf('rc_last_oldid', $this->fld_ids);
@@ -142,6 +143,7 @@
143144 }
144145
145146 if ($this->fld_ids) {
 147+ $vals['rcid'] = intval($row->rc_id);
146148 $vals['pageid'] = intval($row->rc_cur_id);
147149 $vals['revid'] = intval($row->rc_this_oldid);
148150 $vals['old_revid'] = intval( $row->rc_last_oldid );

Follow-up revisions

RevisionCommit summaryAuthorDate
r24215Merged revisions 24095-24212 via svnmerge from...david21:19, 17 July 2007

Status & tagging log