* (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace
aliases already listed in siprop=namespaces
* (bug 17529) rvend ignored when rvstartid is specified
+* (bug 17626) Added uiprop=email to list=userinfo
=== Languages updated in 1.15 ===
if (isset($this->prop['ratelimits'])) {
$vals['ratelimits'] = $this->getRateLimits();
}
+ if (isset($this->prop['email'])) {
+ $vals['email'] = $wgUser->getEmail();
+ $auth = $wgUser->getEmailAuthenticationTimestamp();
+ if(!is_null($auth))
+ $vals['emailauthenticated'] = wfTimestamp(TS_ISO_8601, $auth);
+ }
return $vals;
}
'options',
'preferencestoken',
'editcount',
- 'ratelimits'
+ 'ratelimits',
+ 'email',
)
)
);