14use MediaWiki\Cache\LinkBatchFactory;
30 private LinkBatchFactory $linkBatchFactory;
38 LinkBatchFactory $linkBatchFactory,
45 parent::__construct(
'Listusers' );
46 $this->linkBatchFactory = $linkBatchFactory;
47 $this->dbProvider = $dbProvider;
48 $this->userGroupManager = $userGroupManager;
49 $this->userIdentityLookup = $userIdentityLookup;
50 $this->hideUserUtils = $hideUserUtils;
51 $this->tempUserConfig = $tempUserConfig;
64 $this->linkBatchFactory,
66 $this->userGroupManager,
67 $this->userIdentityLookup,
69 $this->tempUserConfig,
74 # getBody() first to check, if empty
75 $usersbody = $up->getBody();
79 $s = $up->getPageHeader();
83 $s .= $up->getNavigationBar();
84 $s .= Html::rawElement(
'ul', [], $usersbody );
85 $s .= $up->getNavigationBar();
87 $s .= $this->
msg(
'listusers-noresult' )->parseAsBlock();
92 $out->addModuleStyles(
'mediawiki.interface.helpers.styles' );
101 return $this->userGroupManager->listAllGroups();
111class_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...