dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "SpecialWatchlist: Keep checkboxes and their labels together"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryUserInfo.php
diff --git
a/includes/api/ApiQueryUserInfo.php
b/includes/api/ApiQueryUserInfo.php
index
251c42b
..
93c0dd0
100644
(file)
--- a/
includes/api/ApiQueryUserInfo.php
+++ b/
includes/api/ApiQueryUserInfo.php
@@
-149,7
+149,9
@@
class ApiQueryUserInfo extends ApiQueryBase {
$vals['ratelimits'] = $this->getRateLimits();
}
$vals['ratelimits'] = $this->getRateLimits();
}
- if ( isset( $this->prop['realname'] ) && !in_array( 'realname', $this->getConfig()->get( 'HiddenPrefs' ) ) ) {
+ if ( isset( $this->prop['realname'] ) &&
+ !in_array( 'realname', $this->getConfig()->get( 'HiddenPrefs' ) )
+ ) {
$vals['realname'] = $user->getRealName();
}
$vals['realname'] = $user->getRealName();
}
@@
-248,7
+250,6
@@
class ApiQueryUserInfo extends ApiQueryBase {
public function getAllowedParams() {
return array(
'prop' => array(
public function getAllowedParams() {
return array(
'prop' => array(
- ApiBase::PARAM_DFLT => null,
ApiBase::PARAM_ISMULTI => true,
ApiBase::PARAM_TYPE => array(
'blockinfo',
ApiBase::PARAM_ISMULTI => true,
ApiBase::PARAM_TYPE => array(
'blockinfo',