81 $block = $this->performer->getBlock();
87 if ( !$block->isSitewide() ) {
94 $this->target->
getId() === $this->performer->getId()
99 if ( $this->performer->blockedBy() === $this->performer->getName() ) {
104 if ( $this->permissionManager->userHasRight( $this->performer,
'unblockself' ) ) {
107 return 'ipbnounblockself';
113 $this->performer->blockedBy() === $this->target->
getName()
The User object encapsulates all of the user-specific settings (user_id, name, rights,...