MediaWiki REL1_37
|
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(), EmailNotification\canSendUserTalkEmail(), MediaWiki\Block\BlockPermissionChecker\checkBlockPermissions(), MediaWiki\User\UserEditTracker\clearUserEditCache(), WatchedItemStore\countUnreadNotifications(), WikiPage\doUpdateRestrictions(), ApiBlock\execute(), WatchedItemStore\fetchWatchedItems(), MediaWiki\Block\BlockErrorFormatter\formatBlockerLink(), ActorMigrationBase\getInsertValues(), ActorMigrationBase\getInsertValuesWithTempTable(), MediaWiki\User\TalkPageNotificationManager\getQueryFieldAndId(), MediaWiki\Watchlist\WatchlistManager\getTitleNotificationTimestamp(), UploadBase\getUploadSessionKey(), MediaWiki\User\UserEditTracker\getUserEditTimestamp(), MediaWiki\Permissions\PermissionManager\getUserPermissions(), WatchedItemQueryService\getWatchedItemsForUserQueryConds(), WatchedItemQueryService\getWatchlistOwnerId(), MediaWiki\Revision\RevisionStore\insertIpChangesRow(), MediaWiki\User\UserOptionsManager\loadOptionsFromDb(), LogFormatter\makeUserLink(), RecentChange\newForCategorization(), ClearUserWatchlistJob\newForUser(), WatchedItemStore\resetAllNotificationTimestampsForUser(), MediaWiki\User\UserOptionsManager\saveOptions(), MediaWiki\User\UserEditTracker\setCachedUserEditCount(), WatchedItemStore\uncache(), WatchedItemStore\uncacheAllItemsForUser(), WatchedItemStore\uncacheUser(), and UserrightsPage\userCanChangeRights().
MediaWiki\User\UserIdentity::getName | ( | ) |
Implemented in User, MediaWiki\User\UserIdentityValue, and UserRightsProxy.
Referenced by ContribsPager\__construct(), MediaWiki\User\ActorCache\add(), PasswordPolicyChecks\checkPasswordCannotBeSubstringInUsername(), PasswordPolicyChecks\checkPasswordCannotMatchDefaults(), MediaWiki\Permissions\PermissionManager\checkUserConfigPermissions(), WikiPage\doEditUpdates(), MediaWiki\Block\BlockErrorFormatter\formatBlockerLink(), MediaWiki\Storage\PageUpdater\getAtomicSectionUpdate(), ApiQueryUserInfo\getCentralUserInfo(), ActorMigrationBase\getInsertValues(), ActorMigrationBase\getInsertValuesWithTempTable(), MediaWiki\User\StaticUserOptionsLookup\getOptions(), SpecialBlock\getTargetUserTitle(), UploadBase\getUploadSessionKey(), Parser\getUserSig(), MediaWiki\Revision\RevisionStore\insertIpChangesRow(), MediaWiki\Storage\DerivedPageDataUpdater\isReusableFor(), MediaWiki\Storage\PageEditStash\lastEditTime(), LogFormatter\makeUserLink(), RecentChange\newForCategorization(), MediaWiki\Storage\DerivedPageDataUpdater\prepareContent(), MediaWiki\Storage\PageEditStash\pruneExcessStashedEntries(), and MediaWiki\Storage\PageEditStash\recentStashEntryCount().
MediaWiki\User\UserIdentity::isRegistered | ( | ) |
Implemented in User, MediaWiki\User\UserIdentityValue, and UserRightsProxy.
Referenced by MediaWiki\User\UserEditTracker\clearUserEditCache(), MediaWiki\Block\BlockManager\getBlockFromCookieValue(), MediaWiki\Permissions\PermissionManager\getRightsCacheKey(), MediaWiki\Block\BlockManager\getUserBlock(), MediaWiki\User\UserGroupManager\getUserImplicitGroups(), Parser\getUserSig(), WatchedItemStore\getWatchedItem(), WatchedItemQueryService\getWatchedItemsForUser(), MediaWiki\User\UserEditTracker\incrementUserEditCount(), WatchedItemStore\loadWatchedItemsBatch(), LogFormatter\makeUserLink(), WatchedItemStore\resetAllNotificationTimestampsForUser(), MediaWiki\User\UserOptionsManager\saveOptions(), MediaWiki\User\UserEditTracker\setCachedUserEditCount(), MediaWiki\Storage\PageEditStash\storeStashValue(), and MediaWiki\User\DefaultOptionsLookup\verifyUsable().