WDDX formatter to resemble PHP's more
* (bug 15706) Empty values for apprtype and apprlevel are now silently ignored
rather than causing an exception
+* Added uiprop=preferencestoken to meta=userinfo
=== Languages updated in 1.14 ===
if (isset($this->prop['options'])) {
$vals['options'] = (is_null($wgUser->mOptions) ? User::getDefaultOptions() : $wgUser->mOptions);
}
+ if (isset($this->prop['preferencestoken'])) {
+ $vals['preferencestoken'] = $wgUser->editToken();
+ }
if (isset($this->prop['editcount'])) {
$vals['editcount'] = $wgUser->getEditCount();
}
'groups',
'rights',
'options',
+ 'preferencestoken',
'editcount',
'ratelimits'
)