r77285 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77284‎ | r77285 | r77286 >
Date:13:26, 25 November 2010
Author:catrope
Status:ok
Tags:
Comment:
1.16wmf4: MFT r77186
Modified paths:
  • /branches/wmf/1.16wmf4/includes/api/ApiQueryUsers.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/includes/api/ApiQueryUsers.php
@@ -123,7 +123,7 @@
124124 $this->addJoinConds( array(
125125 'ipblocks' => array( 'LEFT JOIN', 'ipb_user=u1.user_id' ),
126126 $u2 => array( 'LEFT JOIN', 'ipb_by=u2.user_id' ) ) );
127 - $this->addFields( array( 'ipb_reason', 'u2.user_name AS blocker_name' ) );
 127+ $this->addFields( array( 'ipb_reason', 'u2.user_name AS blocker_name', 'ipb_expiry' ) );
128128 }
129129
130130 $data = array();
@@ -142,6 +142,7 @@
143143 if ( isset( $this->prop['blockinfo'] ) && !is_null( $r->blocker_name ) ) {
144144 $data[$name]['blockedby'] = $r->blocker_name;
145145 $data[$name]['blockreason'] = $r->ipb_reason;
 146+ $data[$name]['blockexpiry'] = $r->ipb_expiry;
146147 }
147148 if ( isset( $this->prop['emailable'] ) && $user->canReceiveEmail() )
148149 $data[$name]['emailable'] = '';
Property changes on: branches/wmf/1.16wmf4/includes/api/ApiQueryUsers.php
___________________________________________________________________
Added: svn:mergeinfo
149150 Merged /branches/wmf-deployment/includes/api/ApiQueryUsers.php:r53381,59952,60970
150151 Merged /branches/REL1_15/phase3/includes/api/ApiQueryUsers.php:r51646
151152 Merged /branches/REL1_16/phase3/includes/api/ApiQueryUsers.php:r69932
152153 Merged /branches/sqlite/includes/api/ApiQueryUsers.php:r58211-58321
153154 Merged /trunk/phase3/includes/api/ApiQueryUsers.php:r63549,63764,63897-63901,64454,66486,69339,69347,69350,69369,69379,69776,69931,70078,71059,71098,77187-77210

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77186* (bug 26089) add block expiration to blockinforeedy21:37, 23 November 2010

Status & tagging log