* (bug 44) The {{ns:}} core parser function now also accepts localized namespace
names and aliases; also, its output now uses spaces instead of underscores to
match the behavior of the {{NAMESPACE}} magic word
+* Added the ability to display user edit counts in Special:ListUsers. Off by
+ default, enabled with $wgEdititis = true (named after the medical condition
+ marked by unhealthy obsession with edit counts).
=== Bug fixes in 1.14 ===
*/
$wgMajorSiteNoticeID = 1;
+/**
+ * Display user edit counts in various prominent places.
+ */
+$wgEdititis = false;
+
/**
* Enable the UniversalEditButton for browsers that support it
* (currently only Firefox with an extension)
* See http://universaleditbutton.org for more background information
*/
-$wgUniversalEditButton = true;
\ No newline at end of file
+$wgUniversalEditButton = true;
}
$item = wfSpecialList( $name, $groups );
- $editCount = $wgLang->formatNum( $row->edits );
- $edits = wfMsgExt( 'usereditcount', 'parsemag', $editCount );
+
+ global $wgEdititis;
+ if ( $wgEdititis ) {
+ $editCount = $wgLang->formatNum( $row->edits );
+ $edits = ' [' . wfMsgExt( 'usereditcount', 'parsemag', $editCount ) . ']';
+ } else {
+ $edits = '';
+ }
wfRunHooks( 'SpecialListusersFormatRow', array( &$item, $row ) );
- return "<li>{$item} [$edits]</li>";
+ return "<li>{$item}{$edits}</li>";
}
function getBody() {