60 parent::__construct(
'Listusers' );
61 $this->linkBatchFactory = $linkBatchFactory;
62 $this->dbProvider = $dbProvider;
63 $this->userGroupManager = $userGroupManager;
64 $this->userIdentityLookup = $userIdentityLookup;
77 $this->linkBatchFactory,
79 $this->userGroupManager,
80 $this->userIdentityLookup,
85 # getBody() first to check, if empty
86 $usersbody = $up->getBody();
90 $s = $up->getPageHeader();
94 $s .= $up->getNavigationBar();
95 $s .= Html::rawElement(
'ul', [], $usersbody );
96 $s .= $up->getNavigationBar();
98 $s .= $this->
msg(
'listusers-noresult' )->parseAsBlock();
103 $out->addModuleStyles(
'mediawiki.interface.helpers.styles' );
112 return $this->userGroupManager->listAllGroups();
123class_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 Per default the message key is the canonical name o...