16use MediaWiki\Pager\UsersPager;
38 parent::__construct(
'Listusers' );
51 $this->linkBatchFactory,
53 $this->userGroupManager,
54 $this->userIdentityLookup,
56 $this->tempUserConfig,
61 # getBody() first to check, if empty
62 $usersbody = $up->getBody();
66 $s = $up->getPageHeader();
70 $s .= $up->getNavigationBar();
71 $s .= Html::rawElement(
'ul', [], $usersbody );
72 $s .= $up->getNavigationBar();
74 $s .= $this->
msg(
'listusers-noresult' )->parseAsBlock();
79 $out->addModuleStyles(
'mediawiki.interface.helpers.styles' );
88 return $this->userGroupManager->listAllGroups();
98class_alias( SpecialListUsers::class,
'SpecialListUsers' );
Factory for LinkBatch objects to batch query page metadata.
Shortcut to construct an includable special page.
setHeaders()
Sets headers - this should be called from the execute() method of all derived classes!
getContext()
Gets the context this SpecialPage is executed in.
msg( $key,... $params)
Wrapper around wfMessage that sets the current context.
getOutput()
Get the OutputPage being used for this instance.
including( $x=null)
Whether the special page is being evaluated via transclusion.
outputHeader( $summaryMessageKey='')
Outputs a summary message on top of special pages By default the message key is the canonical name of...