MediaWiki master
MediaWiki\Block\BlockTargetWithUserPage Interface Reference

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.

Collaboration diagram for MediaWiki\Block\BlockTargetWithUserPage:

Public Member Functions

 getUserPage ()
 Get the target's user page.
 
- Public Member Functions inherited from MediaWiki\Block\BlockTargetWithUserIdentity
 getUserIdentity ()
 Get a UserIdentity associated with this target.
 

Detailed Description

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.

Since
1.44

Definition at line 14 of file BlockTargetWithUserPage.php.

Member Function Documentation

◆ getUserPage()

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.

Returns
PageReference

Implemented in MediaWiki\Block\AnonIpBlockTarget, and MediaWiki\Block\UserBlockTarget.


The documentation for this interface was generated from the following file: