* @ingroup Pager
*/
+use MediaWiki\MediaWikiServices;
+
/**
* This class is used to get a list of user. The ones with specials
* rights (sysop, bureaucrat, developer) will have them displayed
*/
protected $userGroupCache;
+ /** @var string */
+ protected $requestedGroup;
+
+ /** @var bool */
+ protected $editsOnly;
+
+ /** @var bool */
+ protected $temporaryGroupsOnly;
+
+ /** @var bool */
+ protected $creationSort;
+
+ /** @var bool|null */
+ protected $including;
+
+ /** @var string */
+ protected $requestedUser;
+
/**
* @param IContextSource|null $context
* @param array|null $par (Default null)
$conds = [];
// Don't show hidden names
- if ( !$this->getUser()->isAllowed( 'hideuser' ) ) {
+ if ( !MediaWikiServices::getInstance()
+ ->getPermissionManager()
+ ->userHasRight( $this->getUser(), 'hideuser' )
+ ) {
$conds[] = 'ipb_deleted IS NULL OR ipb_deleted = 0';
}