r38183 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38182‎ | r38183 | r38184 >
Date:12:58, 29 July 2008
Author:rotem
Status:old
Tags:
Comment:
Backport minor bugfix: API change: Registration time of users registered before the DB field was created is now shown as empty instead of the current time.
Modified paths:
  • /branches/REL1_13/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_13/phase3/includes/api/ApiQueryUsers.php (modified) (history)

Diff [purge]

Index: branches/REL1_13/phase3/includes/api/ApiQueryUsers.php
@@ -100,7 +100,7 @@
101101 if(isset($this->prop['editcount']))
102102 $data[$r->user_name]['editcount'] = $r->user_editcount;
103103 if(isset($this->prop['registration']))
104 - $data[$r->user_name]['registration'] = wfTimestamp(TS_ISO_8601, $r->user_registration);
 104+ $data[$r->user_name]['registration'] = wfTimestampOrNull(TS_ISO_8601, $r->user_registration);
105105 if(isset($this->prop['groups']))
106106 // This row contains only one group, others will be added from other rows
107107 if(!is_null($r->ug_group))
Index: branches/REL1_13/phase3/RELEASE-NOTES
@@ -551,6 +551,8 @@
552552 * Added flag "top" to list=usercontribs if the user is the last contributor to
553553 the page
554554 * list=exturlusage in "list all links" mode can now filter by protocol
 555+* Registration time of users registered before the DB field was created is now
 556+ shown as empty instead of the current time.
555557
556558 === Languages updated in 1.13 ===
557559

Status & tagging log