$this->editsOnly = $request->getBool( 'editsOnly' );
$this->creationSort = $request->getBool( 'creationSort' );
$this->including = $including;
+ $this->mDefaultDirection = $request->getBool( 'desc' );
$this->requestedUser = '';
'creationSort',
$this->creationSort
);
+ $out .= ' ';
+ $out .= Xml::checkLabel(
+ $this->msg( 'listusers-desc' )->text(),
+ 'desc',
+ 'desc',
+ $this->mDefaultDirection
+ );
$out .= '<br />';
wfRunHooks( 'SpecialListusersHeaderForm', array( $this, &$out ) );
'listusers-summary' => '', # do not translate or duplicate this message to other languages
'listusers-editsonly' => 'Show only users with edits',
'listusers-creationsort' => 'Sort by creation date',
+'listusers-desc' => 'Sort in descending order',
'usereditcount' => '$1 {{PLURAL:$1|edit|edits}}',
'usercreated' => '{{GENDER:$3|Created}} on $1 at $2',
'newpages' => 'New pages',
'listusers' => '{{doc-special|ListUsers}}',
'listusers-editsonly' => 'Option in [[Special:ListUsers]].',
'listusers-creationsort' => 'Option in [[Special:ListUsers]].',
+'listusers-desc' => 'Option in [[Special:ListUsers]].',
'usereditcount' => 'Shown behind every username on [[Special:ListUsers]]. Parameters:
* $1 - number of edits',
'usercreated' => 'Used in [[Special:ListUsers]]. Parameters:
'listusers-summary',
'listusers-editsonly',
'listusers-creationsort',
+ 'listusers-desc',
'usereditcount',
'usercreated',
'newpages',