MediaWiki REL1_39
|
Interface for objects representing user identity. More...
Public Member Functions | |
equals (?UserIdentity $user) | |
getId ( $wikiId=self::LOCAL) | |
getName () | |
isRegistered () | |
Public Member Functions inherited from MediaWiki\DAO\WikiAwareEntity | |
assertWiki ( $wikiId) | |
Throws if $wikiId is different from the return value of getWikiId(). | |
getWikiId () | |
Get the ID of the wiki this page belongs to. | |
Interface for objects representing user identity.
This represents the identity of a user in the context of page revisions and log entries.
Definition at line 39 of file UserIdentity.php.
MediaWiki\User\UserIdentity::equals | ( | ?UserIdentity | $user | ) |
UserIdentity | null | $user |
Implemented in User, MediaWiki\User\UserIdentityValue, and UserRightsProxy.
Referenced by MediaWiki\Block\BlockPermissionChecker\checkBlockPermissions().
MediaWiki\User\UserIdentity::getId | ( | $wikiId = self::LOCAL | ) |
string | false | $wikiId | The wiki ID expected by the caller |
Implemented in User, MediaWiki\User\UserIdentityValue, and UserRightsProxy.
Referenced by UserEditCountUpdate\__construct(), MediaWiki\User\ActorCache\add(), MediaWiki\Permissions\PermissionManager\addTemporaryUserRights(), MediaWiki\Block\BlockPermissionChecker\checkBlockPermissions(), MediaWiki\User\UserEditTracker\clearUserEditCache(), WatchedItemStore\countUnreadNotifications(), WikiPage\doUpdateRestrictions(), ApiBlock\execute(), ActorMigrationBase\getInsertValues(), ActorMigrationBase\getInsertValuesWithTempTable(), MediaWiki\Watchlist\WatchlistManager\getTitleNotificationTimestamp(), LogFormatter\makeUserLink(), RecentChange\newForCategorization(), ClearUserWatchlistJob\newForUser(), WatchedItemStore\resetAllNotificationTimestampsForUser(), MediaWiki\User\UserEditTracker\setCachedUserEditCount(), and UserrightsPage\userCanChangeRights().
MediaWiki\User\UserIdentity::getName | ( | ) |
Implemented in User, MediaWiki\User\UserIdentityValue, and UserRightsProxy.
Referenced by ContribsPager\__construct(), MediaWiki\User\ActorCache\add(), MediaWiki\Storage\PageEditStash\checkCache(), PasswordPolicyChecks\checkPasswordCannotBeSubstringInUsername(), PasswordPolicyChecks\checkPasswordCannotMatchDefaults(), WikiPage\doEditUpdates(), ApiQueryUserInfo\getCentralUserInfo(), ActorMigrationBase\getInsertValues(), ActorMigrationBase\getInsertValuesWithTempTable(), MediaWiki\User\StaticUserOptionsLookup\getOptions(), SpecialBlock\getTargetUserTitle(), MediaWiki\User\UserGroupManager\getUserImplicitGroups(), Parser\getUserSig(), MediaWiki\Storage\DerivedPageDataUpdater\isReusableFor(), LogFormatter\makeUserLink(), RecentChange\newForCategorization(), MediaWiki\Storage\DerivedPageDataUpdater\prepareContent(), WikiPage\prepareContentForEdit(), and MediaWiki\Storage\PageUpdater\updateAuthor().
MediaWiki\User\UserIdentity::isRegistered | ( | ) |
Implemented in User, MediaWiki\User\UserIdentityValue, and UserRightsProxy.
Referenced by UserEditCountUpdate\__construct(), MediaWiki\Storage\PageEditStash\checkCache(), MediaWiki\User\UserEditTracker\clearUserEditCache(), MediaWiki\Watchlist\WatchlistManager\getTitleNotificationTimestamp(), MediaWiki\Block\BlockManager\getUserBlock(), MediaWiki\User\UserGroupManager\getUserImplicitGroups(), Parser\getUserSig(), WatchedItemStore\getWatchedItem(), WatchedItemQueryService\getWatchedItemsForUser(), MediaWiki\User\UserEditTracker\incrementUserEditCount(), WatchedItemStore\loadWatchedItemsBatch(), LogFormatter\makeUserLink(), WatchedItemStore\resetAllNotificationTimestampsForUser(), and MediaWiki\User\UserEditTracker\setCachedUserEditCount().