r23586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23585‎ | r23586 | r23587 >
Date:09:31, 30 June 2007
Author:catrope
Status:old
Tags:
Comment:
Removing a ')' that broke the entire API
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryRevisions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryRevisions.php
@@ -81,7 +81,7 @@
8282 // lastid automatically sets ids and timestamp
8383 // because it needs them internally
8484 $this->fld_lastid = isset ($prop['lastid']);
85 - $this->fld_ids = isset ($prop['ids']) || $this->fld_lastid);
 85+ $this->fld_ids = isset ($prop['ids']) || $this->fld_lastid;
8686 // $this->addFieldsIf('rev_text_id', $this->fld_ids); // should this be exposed?
8787 $this->fld_flags = $this->addFieldsIf('rev_minor_edit', isset ($prop['flags']));
8888 $this->fld_timestamp = $this->addFieldsIf('rev_timestamp', isset ($prop['timestamp']) || $this->fld_lastid);

Follow-up revisions

RevisionCommit summaryAuthorDate
r23662Merged revisions 23581-23661 via svnmerge from...david03:01, 3 July 2007

Status & tagging log