Index: trunk/phase3/includes/api/ApiQueryLogEvents.php |
— | — | @@ -65,7 +65,8 @@ |
66 | 66 | 'log_timestamp', |
67 | 67 | )); |
68 | 68 | |
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); |
70 | 71 | $this->addFieldsIf('page_id', $this->fld_ids); |
71 | 72 | $this->addFieldsIf('log_user', $this->fld_user); |
72 | 73 | $this->addFieldsIf('user_name', $this->fld_user); |
— | — | @@ -125,7 +126,9 @@ |
126 | 127 | $vals = array(); |
127 | 128 | |
128 | 129 | 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; |
130 | 133 | $vals['pageid'] = intval($row->page_id); |
131 | 134 | } |
132 | 135 | |