r24256 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24255‎ | r24256 | r24257 >
Date:21:47, 18 July 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 10634) Fake out log_id until the column is live on Wikimedia
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryLogEvents.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryLogEvents.php
@@ -65,7 +65,8 @@
6666 'log_timestamp',
6767 ));
6868
69 - $this->addFieldsIf('log_id', $this->fld_ids);
 69+ // FIXME: Fake out log_id for now until the column is live on Wikimedia
 70+ // $this->addFieldsIf('log_id', $this->fld_ids);
7071 $this->addFieldsIf('page_id', $this->fld_ids);
7172 $this->addFieldsIf('log_user', $this->fld_user);
7273 $this->addFieldsIf('user_name', $this->fld_user);
@@ -125,7 +126,9 @@
126127 $vals = array();
127128
128129 if ($this->fld_ids) {
129 - $vals['logid'] = intval($row->log_id);
 130+ // FIXME: Fake out log_id for now until the column is live on Wikimedia
 131+ // $vals['logid'] = intval($row->log_id);
 132+ $vals['logid'] = 0;
130133 $vals['pageid'] = intval($row->page_id);
131134 }
132135

Follow-up revisions

RevisionCommit summaryAuthorDate
r24276Merged revisions 24213-24275 via svnmerge from...david20:20, 19 July 2007

Status & tagging log