* (bug 24166) API error when using rvprop=tags
* Introduced "asynchronous download" mode for upload-by-url. Requires
$wgAllowAsyncCopyUploads to be true.
+* sinumberingroup correctly gives size of 'user' group, and omits size of
+ implicit groups rather than showing 0.
=== Languages updated in 1.17 ===
'name' => $group,
'rights' => array_keys( $permissions, true ),
);
+
if ( $numberInGroup ) {
- $arr['number'] = SiteStats::numberInGroup( $group );
+ global $wgAutopromote;
+
+ if ($group == 'user') {
+ $arr['number'] = SiteStats::users();
+
+ // '*' and autopromote groups have no size
+ } elseif (!($group == '*' || in_array($group, array_keys($wgAutopromote)))) {
+ $arr['number'] = SiteStats::numberInGroup( $group );
+ }
}
$groupArr = array(