MediaWiki master
|
Shared interface for user and single IP targets, that is, for targets with a meaningful user page link. More...
Inherits MediaWiki\Block\BlockTargetWithUserIdentity.
Inherited by MediaWiki\Block\AnonIpBlockTarget, and MediaWiki\Block\UserBlockTarget.
Public Member Functions | |
getUserPage () | |
Get the target's user page. | |
![]() | |
getUserIdentity () | |
Get a UserIdentity associated with this target. | |
Shared interface for user and single IP targets, that is, for targets with a meaningful user page link.
Single IP addresses are traditionally treated as the names of anonymous users.
Definition at line 14 of file BlockTargetWithUserPage.php.
MediaWiki\Block\BlockTargetWithUserPage::getUserPage | ( | ) |
Get the target's user page.
The page has an associated talk page which can be used to talk to the target.
Implemented in MediaWiki\Block\AnonIpBlockTarget, and MediaWiki\Block\UserBlockTarget.