* (bug 12718) Added action=paraminfo module that provides information about API modules and their parameters
* Added iiurlwidth and iiurlheight parameters to prop=imageinfo
* Added format=txt and format=dbg, imported from query.php
+* Added uiprop=editcount to meta=userinfo
=== Languages updated in 1.12 ===
if (isset($prop['options'])) {
$vals['options'] = (is_null($wgUser->mOptions) ? User::getDefaultOptions() : $wgUser->mOptions);
}
+ if (isset($prop['editcount'])) {
+ $vals['editcount'] = $wgUser->getEditCount();
+ }
}
$result->addValue("query", $this->getModuleName(), $vals);
'hasmsg',
'groups',
'rights',
- 'options'
+ 'options',
+ 'editcount'
))
);
}
' hasmsg - adds a tag "message" if user has pending messages',
' groups - lists all the groups the current user belongs to',
' rights - lists of all rights the current user has',
- ' options - lists all preferences the current user has set'
+ ' options - lists all preferences the current user has set',
+ ' editcount - adds the user\'s edit count'
)
);
}