r63008 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63007‎ | r63008 | r63009 >
Date:14:36, 26 February 2010
Author:catrope
Status:ok
Tags:
Comment:
wmf-deployment: Merge r58086, r58551 and r59656 (API fixes) from trunk
Modified paths:
  • /branches/wmf-deployment/includes/api/ApiQueryAllUsers.php (modified) (history)
  • /branches/wmf-deployment/includes/api/ApiQueryDeletedrevs.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/api/ApiQueryDeletedrevs.php
@@ -152,7 +152,7 @@
153153 "(ar_namespace = $ns AND " .
154154 "(ar_title $op '$title' OR " .
155155 "(ar_title = '$title' AND " .
156 - "ar_timestamp = '$ts')))");
 156+ "ar_timestamp $op= '$ts')))");
157157 }
158158
159159 $this->addOption('LIMIT', $limit + 1);
Property changes on: branches/wmf-deployment/includes/api/ApiQueryDeletedrevs.php
___________________________________________________________________
Name: svn:mergeinfo
160160 + /branches/REL1_15/phase3/includes/api/ApiQueryDeletedrevs.php:51646
/branches/wmf-deployment/includes/api/ApiQueryDeletedrevs.php:53381
/trunk/phase3/includes/api/ApiQueryDeletedrevs.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57530,57541,57602,57916,58086,58151,58219,58633,58816,60465,60587,60589,60704,61557,62540,62549
Index: branches/wmf-deployment/includes/api/ApiQueryAllUsers.php
@@ -165,7 +165,8 @@
166166 if ($fld_editcount)
167167 $lastUserData['editcount'] = intval($row->user_editcount);
168168 if ($fld_registration)
169 - $lastUserData['registration'] = wfTimestamp(TS_ISO_8601, $row->user_registration);
 169+ $lastUserData['registration'] = $row->user_registration ?
 170+ wfTimestamp(TS_ISO_8601, $row->user_registration) : '';
170171
171172 }
172173
Property changes on: branches/wmf-deployment/includes/api/ApiQueryAllUsers.php
___________________________________________________________________
Name: svn:mergeinfo
173174 + /branches/REL1_15/phase3/includes/api/ApiQueryAllUsers.php:51646
/branches/wmf-deployment/includes/api/ApiQueryAllUsers.php:53381
/trunk/phase3/includes/api/ApiQueryAllUsers.php:56213,56215-56216,56218,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57530,57541,57602,57916,58151,58219,58551,58633,58816,59656,60465,60587,60589,60704,61557,62540,62549

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r58086* (bug 21085) list=deletedrevs no longer returns only one revision when drcon...ialex11:50, 24 October 2009
r58551* (bug 21083) API: list=allusers no longer returns current timestamp for user...ialex17:18, 4 November 2009
r59656API: Fix for r58551: WDDX formatter barfs on nullcatrope12:17, 2 December 2009

Status & tagging log