63 parent::__construct(
'Listusers' );
64 $this->linkBatchFactory = $linkBatchFactory;
65 $this->dbProvider = $dbProvider;
66 $this->userGroupManager = $userGroupManager;
67 $this->userIdentityLookup = $userIdentityLookup;
68 $this->hideUserUtils = $hideUserUtils;
81 $this->linkBatchFactory,
83 $this->userGroupManager,
84 $this->userIdentityLookup,
90 # getBody() first to check, if empty
91 $usersbody = $up->getBody();
95 $s = $up->getPageHeader();
99 $s .= $up->getNavigationBar();
100 $s .= Html::rawElement(
'ul', [], $usersbody );
101 $s .= $up->getNavigationBar();
103 $s .= $this->
msg(
'listusers-noresult' )->parseAsBlock();
108 $out->addModuleStyles(
'mediawiki.interface.helpers.styles' );
117 return $this->userGroupManager->listAllGroups();
126class_alias( SpecialListUsers::class,
'SpecialListUsers' );
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...