64 parent::__construct(
'Listusers' );
65 $this->linkBatchFactory = $linkBatchFactory;
66 $this->dbProvider = $dbProvider;
67 $this->userGroupManager = $userGroupManager;
68 $this->userIdentityLookup = $userIdentityLookup;
69 $this->hideUserUtils = $hideUserUtils;
82 $this->linkBatchFactory,
84 $this->userGroupManager,
85 $this->userIdentityLookup,
91 # getBody() first to check, if empty
92 $usersbody = $up->getBody();
96 $s = $up->getPageHeader();
100 $s .= $up->getNavigationBar();
101 $s .= Html::rawElement(
'ul', [], $usersbody );
102 $s .= $up->getNavigationBar();
104 $s .= $this->
msg(
'listusers-noresult' )->parseAsBlock();
109 $out->addModuleStyles(
'mediawiki.interface.helpers.styles' );
118 return $this->userGroupManager->listAllGroups();
127class_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...