MediaWiki REL1_35
|
A handle for managing updates for derived page data on edit, import, purge, etc. More...
Public Member Functions | |
__construct (WikiPage $wikiPage, RevisionStore $revisionStore, RevisionRenderer $revisionRenderer, SlotRoleRegistry $slotRoleRegistry, ParserCache $parserCache, JobQueueGroup $jobQueueGroup, MessageCache $messageCache, Language $contLang, ILBFactory $loadbalancerFactory, IContentHandlerFactory $contentHandlerFactory, HookContainer $hookContainer) | |
doParserCacheUpdate () | |
doSecondaryDataUpdates (array $options=[]) | |
Do secondary data updates (e.g. | |
doUpdates () | |
Do standard updates after page edit, purge, or import. | |
getCanonicalParserOptions () | |
getCanonicalParserOutput () | |
getModifiedSlotRoles () | |
Returns the role names of the slots modified by the new revision, not including removed roles. | |
getPreparedEdit () | |
getRawContent ( $role) | |
Returns the content of the given slot, with no audience checks. | |
getRawSlot ( $role) | |
Returns the slot, modified or inherited, after PST, with no audience checks applied. | |
getRemovedSlotRoles () | |
Returns the role names of the slots removed by the new revision. | |
getRenderedRevision () | |
getRevision () | |
Returns the update's target revision - that is, the revision that will be the current revision after the update. | |
getSecondaryDataUpdates ( $recursive=false) | |
getSlotParserOutput ( $role, $generateHtml=true) | |
getSlots () | |
Returns the slots of the target revision, after PST. | |
getTouchedSlotRoles () | |
Returns the role names of the slots touched by the new revision, including removed roles. | |
grabCurrentRevision () | |
Returns the revision that was the page's current revision when grabCurrentRevision() was first called. | |
isChange () | |
Whether the edit created, or should create, a new revision (that is, it's not a null-edit). | |
isContentDeleted () | |
Whether the content is deleted and thus not visible to the public. | |
isContentPrepared () | |
Whether prepareUpdate() or prepareContent() have been called on this instance. | |
isCountable () | |
isCreation () | |
Whether the edit creates the page. | |
isRedirect () | |
isReusableFor (UserIdentity $user=null, RevisionRecord $revision=null, RevisionSlotsUpdate $slotsUpdate=null, $parentId=null) | |
Checks whether this DerivedPageDataUpdater can be re-used for running updates targeting the given revision. | |
isUpdatePrepared () | |
Whether prepareUpdate() has been called on this instance. | |
pageExisted () | |
Determines whether the page being edited already existed. | |
prepareContent (User $user, RevisionSlotsUpdate $slotsUpdate, $useStash=true) | |
Prepare updates based on an update which has not yet been saved. | |
prepareUpdate (RevisionRecord $revision, array $options=[]) | |
Prepare derived data updates targeting the given Revision. | |
setArticleCountMethod ( $articleCountMethod) | |
setLogger (LoggerInterface $logger) | |
setRcWatchCategoryMembership ( $rcWatchCategoryMembership) | |
wasRedirect () | |
Whether the page was a redirect before the edit. | |
Private Member Functions | |
assertHasPageState ( $method) | |
assertHasRevision ( $method) | |
assertPrepared ( $method) | |
assertTransition ( $newStage) | |
Asserts that a transition to the given stage is possible, without performing it. | |
doTransition ( $newStage) | |
Transition function for managing the life cycle of this instances. | |
getContentHandler ( $role) | |
getContentModel ( $role) | |
Returns the content model of the given slot. | |
getPageId () | |
getParentRevision () | |
Returns the parent revision of the new revision wrapped by this update. | |
getRevisionSlotsUpdate () | |
Returns the RevisionSlotsUpdate for this updater. | |
getTitle () | |
getWikiPage () | |
revisionIsRedirect (RevisionRecord $rev) | |
useMaster () | |
Private Attributes | |
string | $articleCountMethod |
see $wgArticleCountMethod | |
IContentHandlerFactory | $contentHandlerFactory |
Language | $contLang |
HookRunner | $hookRunner |
JobQueueGroup | $jobQueueGroup |
ILBFactory | $loadbalancerFactory |
LoggerInterface | $logger |
MessageCache | $messageCache |
$options | |
Stores (most of) the $options parameter of prepareUpdate(). | |
array | $pageState = null |
The state of the relevant row in page table before the edit. | |
RevisionRecord null | $parentRevision = null |
ParserCache | $parserCache |
boolean | $rcWatchCategoryMembership = false |
see $wgRCWatchCategoryMembership | |
RenderedRevision | $renderedRevision = null |
RevisionRecord null | $revision = null |
RevisionRenderer | $revisionRenderer |
RevisionStore | $revisionStore |
SlotRoleRegistry | $slotRoleRegistry |
RevisionSlotsUpdate null | $slotsUpdate = null |
string | $stage = 'new' |
A stage identifier for managing the life cycle of this instance. | |
UserIdentity null | $user = null |
WikiPage | $wikiPage |
Additional Inherited Members | |
Public Attributes inherited from IDBAccessObject | |
const | READ_LOCKING = self::READ_LATEST | 2 |
Constants for object loading bitfield flags (higher => higher QoS) | |
const | READ_NONE = -1 |
A handle for managing updates for derived page data on edit, import, purge, etc.
DerivedPageDataUpdater instances are designed to be cached inside a WikiPage instance, and re-used by callback code over the course of an update operation. It's a stepping stone on the way to a more complete refactoring of WikiPage.
When using a DerivedPageDataUpdater, the following life cycle must be observed: grabCurrentRevision (optional), prepareContent (optional), prepareUpdate (required for doUpdates). getCanonicalParserOutput, getSlots, and getSecondaryDataUpdates require prepareContent or prepareUpdate to have been called first, to initialize the DerivedPageDataUpdater.
MCR migration note: this replaces the relevant methods in WikiPage, and covers the use cases of PreparedEdit.
Definition at line 103 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::__construct | ( | WikiPage | $wikiPage, |
RevisionStore | $revisionStore, | ||
RevisionRenderer | $revisionRenderer, | ||
SlotRoleRegistry | $slotRoleRegistry, | ||
ParserCache | $parserCache, | ||
JobQueueGroup | $jobQueueGroup, | ||
MessageCache | $messageCache, | ||
Language | $contLang, | ||
ILBFactory | $loadbalancerFactory, | ||
IContentHandlerFactory | $contentHandlerFactory, | ||
HookContainer | $hookContainer | ||
) |
WikiPage | $wikiPage |
param RevisionStore $revisionStore
RevisionRenderer | $revisionRenderer | |
SlotRoleRegistry | $slotRoleRegistry | |
ParserCache | $parserCache | |
JobQueueGroup | $jobQueueGroup | |
MessageCache | $messageCache | |
Language | $contLang | |
ILBFactory | $loadbalancerFactory | |
IContentHandlerFactory | $contentHandlerFactory | |
HookContainer | $hookContainer |
Definition at line 296 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$contentHandlerFactory, MediaWiki\Storage\DerivedPageDataUpdater\$contLang, MediaWiki\Storage\DerivedPageDataUpdater\$jobQueueGroup, MediaWiki\Storage\DerivedPageDataUpdater\$loadbalancerFactory, MediaWiki\Storage\DerivedPageDataUpdater\$messageCache, MediaWiki\Storage\DerivedPageDataUpdater\$parserCache, MediaWiki\Storage\DerivedPageDataUpdater\$revisionRenderer, MediaWiki\Storage\DerivedPageDataUpdater\$revisionStore, MediaWiki\Storage\DerivedPageDataUpdater\$slotRoleRegistry, and MediaWiki\Storage\DerivedPageDataUpdater\$wikiPage.
|
private |
Definition at line 923 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\pageExisted().
|
private |
Definition at line 940 of file DerivedPageDataUpdater.php.
|
private |
Definition at line 932 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\getParentRevision().
|
private |
Asserts that a transition to the given stage is possible, without performing it.
string | $newStage | the new stage |
LogicException | If this instance is not in the expected stage |
Definition at line 360 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\doTransition(), and MediaWiki\Storage\DerivedPageDataUpdater\grabCurrentRevision().
MediaWiki\Storage\DerivedPageDataUpdater::doParserCacheUpdate | ( | ) |
Definition at line 1655 of file DerivedPageDataUpdater.php.
References WikiPage\getId().
MediaWiki\Storage\DerivedPageDataUpdater::doSecondaryDataUpdates | ( | array | $options = [] | ) |
Do secondary data updates (e.g.
updating link tables) or schedule them as deferred updates
MCR note: this method is temporarily exposed via WikiPage::doSecondaryDataUpdates.
array | $options |
|
Definition at line 1619 of file DerivedPageDataUpdater.php.
References User\newFromIdentity().
|
private |
Transition function for managing the life cycle of this instances.
string | $newStage | the new stage |
LogicException | If a transition to the given stage is not possible in the current stage. |
Definition at line 342 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$stage, and MediaWiki\Storage\DerivedPageDataUpdater\assertTransition().
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\grabCurrentRevision().
MediaWiki\Storage\DerivedPageDataUpdater::doUpdates | ( | ) |
Do standard updates after page edit, purge, or import.
Update links tables, site stats, search index, title cache, message cache, etc. Purges pages that depend on this page when appropriate. With a 10% chance, triggers pruning the recent changes table.
MCR migration note: this replaces WikiPage::doEditUpdates.
Definition at line 1435 of file DerivedPageDataUpdater.php.
References $title, SiteStatsUpdate\factory(), MediaWiki\MediaWikiServices\getInstance(), getTitle(), ResourceLoaderWikiModule\invalidateModuleCache(), User\isIP(), User\newFromIdentity(), User\newFromName(), RecentChangesUpdateJob\newPurgeJob(), CategoryMembershipChangeJob\newSpec(), NS_MEDIAWIKI, NS_USER_TALK, and wfDebug().
MediaWiki\Storage\DerivedPageDataUpdater::getCanonicalParserOptions | ( | ) |
Definition at line 1321 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::getCanonicalParserOutput | ( | ) |
Definition at line 1314 of file DerivedPageDataUpdater.php.
|
private |
string | $role | slot role name |
MWUnknownContentModelException |
Definition at line 641 of file DerivedPageDataUpdater.php.
|
private |
Returns the content model of the given slot.
string | $role | slot role name |
Definition at line 632 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\getRawSlot().
MediaWiki\Storage\DerivedPageDataUpdater::getModifiedSlotRoles | ( | ) |
Returns the role names of the slots modified by the new revision, not including removed roles.
Definition at line 1040 of file DerivedPageDataUpdater.php.
|
private |
Definition at line 582 of file DerivedPageDataUpdater.php.
|
private |
Returns the parent revision of the new revision wrapped by this update.
If the update is a null-edit, this will return the parent of the current (and new) revision. This will return null if the revision wrapped by this update created the page. Only defined after calling prepareContent() or prepareUpdate()!
Definition at line 490 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$parentRevision, MediaWiki\Storage\DerivedPageDataUpdater\assertPrepared(), MediaWiki\Revision\RevisionRecord\getParentId(), and MediaWiki\Storage\DerivedPageDataUpdater\useMaster().
MediaWiki\Storage\DerivedPageDataUpdater::getPreparedEdit | ( | ) |
Definition at line 1278 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::getRawContent | ( | $role | ) |
Returns the content of the given slot, with no audience checks.
PageUpdateException | If the slot is neither set for update nor inherited from the parent revision. |
string | $role | slot role name |
Definition at line 622 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\getRawSlot().
MediaWiki\Storage\DerivedPageDataUpdater::getRawSlot | ( | $role | ) |
Returns the slot, modified or inherited, after PST, with no audience checks applied.
string | $role | slot role name |
PageUpdateException | If the slot is neither set for update nor inherited from the parent revision. |
Definition at line 610 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\getSlots().
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\getContentModel(), and MediaWiki\Storage\DerivedPageDataUpdater\getRawContent().
MediaWiki\Storage\DerivedPageDataUpdater::getRemovedSlotRoles | ( | ) |
Returns the role names of the slots removed by the new revision.
Definition at line 1049 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::getRenderedRevision | ( | ) |
Definition at line 917 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::getRevision | ( | ) |
Returns the update's target revision - that is, the revision that will be the current revision after the update.
Definition at line 909 of file DerivedPageDataUpdater.php.
|
private |
Returns the RevisionSlotsUpdate for this updater.
Definition at line 1011 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\RevisionSlotsUpdate\newFromRevisionSlots().
MediaWiki\Storage\DerivedPageDataUpdater::getSecondaryDataUpdates | ( | $recursive = false | ) |
bool | $recursive |
Definition at line 1330 of file DerivedPageDataUpdater.php.
References $content, and getTitle().
MediaWiki\Storage\DerivedPageDataUpdater::getSlotParserOutput | ( | $role, | |
$generateHtml = true |
|||
) |
string | $role | |
bool | $generateHtml |
Definition at line 1304 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::getSlots | ( | ) |
Returns the slots of the target revision, after PST.
Definition at line 1001 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\getRawSlot().
|
private |
Definition at line 455 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::getTouchedSlotRoles | ( | ) |
Returns the role names of the slots touched by the new revision, including removed roles.
Definition at line 1030 of file DerivedPageDataUpdater.php.
|
private |
Definition at line 463 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$wikiPage.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\grabCurrentRevision().
MediaWiki\Storage\DerivedPageDataUpdater::grabCurrentRevision | ( | ) |
Returns the revision that was the page's current revision when grabCurrentRevision() was first called.
During an edit, that revision will act as the logical parent of the new revision.
Some updates are performed based on the difference between the database state at the moment this method is first called, and the state after the edit.
Definition at line 532 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$wikiPage, MediaWiki\Storage\DerivedPageDataUpdater\assertTransition(), MediaWiki\Storage\DerivedPageDataUpdater\doTransition(), WikiPage\getRevisionRecord(), MediaWiki\Storage\DerivedPageDataUpdater\getWikiPage(), WikiPage\isCountable(), WikiPage\isRedirect(), and WikiPage\loadPageData().
MediaWiki\Storage\DerivedPageDataUpdater::isChange | ( | ) |
Whether the edit created, or should create, a new revision (that is, it's not a null-edit).
Definition at line 967 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::isContentDeleted | ( | ) |
Whether the content is deleted and thus not visible to the public.
Definition at line 592 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::isContentPrepared | ( | ) |
Whether prepareUpdate() or prepareContent() have been called on this instance.
Definition at line 564 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::isCountable | ( | ) |
Definition at line 654 of file DerivedPageDataUpdater.php.
References $content, and getTitle().
MediaWiki\Storage\DerivedPageDataUpdater::isCreation | ( | ) |
Whether the edit creates the page.
Definition at line 953 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::isRedirect | ( | ) |
Definition at line 699 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::isReusableFor | ( | UserIdentity | $user = null , |
RevisionRecord | $revision = null , |
||
RevisionSlotsUpdate | $slotsUpdate = null , |
||
$parentId = null |
|||
) |
Checks whether this DerivedPageDataUpdater can be re-used for running updates targeting the given revision.
UserIdentity | null | $user | The user creating the revision in question |
RevisionRecord | null | $revision | New revision (after save, if already saved) |
RevisionSlotsUpdate | null | $slotsUpdate | New content (before PST) |
null | int | $parentId | Parent revision of the edit (use 0 for page creation) |
Definition at line 377 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$revision, MediaWiki\Storage\DerivedPageDataUpdater\$slotsUpdate, MediaWiki\Storage\DerivedPageDataUpdater\$user, MediaWiki\Revision\RevisionRecord\getId(), MediaWiki\User\UserIdentity\getName(), MediaWiki\Revision\RevisionRecord\getParentId(), MediaWiki\Revision\RevisionRecord\getSlots(), and MediaWiki\Storage\RevisionSlotsUpdate\hasSameUpdates().
MediaWiki\Storage\DerivedPageDataUpdater::isUpdatePrepared | ( | ) |
Whether prepareUpdate() has been called on this instance.
Definition at line 575 of file DerivedPageDataUpdater.php.
MediaWiki\Storage\DerivedPageDataUpdater::pageExisted | ( | ) |
Determines whether the page being edited already existed.
Only defined after calling grabCurrentRevision() or prepareContent() or prepareUpdate()!
LogicException | if called before grabCurrentRevision |
Definition at line 475 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\assertHasPageState().
MediaWiki\Storage\DerivedPageDataUpdater::prepareContent | ( | User | $user, |
RevisionSlotsUpdate | $slotsUpdate, | ||
$useStash = true |
|||
) |
Prepare updates based on an update which has not yet been saved.
This may be used to create derived data that is needed when creating a new revision; particularly, this makes available the slots of the new revision via the getSlots() method, after applying PST and slot inheritance.
The derived data prepared for revision creation may then later be re-used by doUpdates(), without the need to re-calculate.
User | $user | The user to act as context for pre-save transformation (PST). Type hint should be reduced to UserIdentity at some point. |
RevisionSlotsUpdate | $slotsUpdate | The new content of the slots to be updated by this edit, before PST. |
bool | $useStash | Whether to use stashed ParserOutput |
Definition at line 743 of file DerivedPageDataUpdater.php.
References $content, $title, Title\equals(), MediaWiki\MediaWikiServices\getInstance(), MediaWiki\Storage\RevisionSlotsUpdate\getModifiedRoles(), MediaWiki\Storage\RevisionSlotsUpdate\getModifiedSlot(), User\getName(), MediaWiki\Storage\RevisionSlotsUpdate\getRemovedRoles(), getTitle(), MediaWiki\Storage\RevisionSlotsUpdate\isModifiedSlot(), and User\newFromIdentity().
MediaWiki\Storage\DerivedPageDataUpdater::prepareUpdate | ( | RevisionRecord | $revision, |
array | $options = [] |
||
) |
Prepare derived data updates targeting the given Revision.
Calling this method requires the given revision to be present in the database. This may be right after a new revision has been created, or when re-generating derived data e.g. in ApiPurge, RefreshLinksJob, and the refreshLinks script.
RevisionRecord | $revision | |
array | $options | Array of options, following indexes are used:
|
Definition at line 1102 of file DerivedPageDataUpdater.php.
References MediaWiki\Revision\RevisionRecord\getId(), MediaWiki\Revision\RevisionRecord\getParentId(), MediaWiki\Revision\RevisionRecord\getSlots(), MediaWiki\Revision\RevisionRecord\getUser(), and wfDeprecated().
|
private |
RevisionRecord | $rev |
Definition at line 712 of file DerivedPageDataUpdater.php.
References MediaWiki\Revision\RevisionRecord\getContent().
MediaWiki\Storage\DerivedPageDataUpdater::setArticleCountMethod | ( | $articleCountMethod | ) |
string | $articleCountMethod | "any" or "link". |
Definition at line 440 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$articleCountMethod.
MediaWiki\Storage\DerivedPageDataUpdater::setLogger | ( | LoggerInterface | $logger | ) |
Definition at line 327 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$logger.
MediaWiki\Storage\DerivedPageDataUpdater::setRcWatchCategoryMembership | ( | $rcWatchCategoryMembership | ) |
bool | $rcWatchCategoryMembership |
Definition at line 448 of file DerivedPageDataUpdater.php.
References MediaWiki\Storage\DerivedPageDataUpdater\$rcWatchCategoryMembership.
|
private |
Definition at line 646 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\getParentRevision().
MediaWiki\Storage\DerivedPageDataUpdater::wasRedirect | ( | ) |
Whether the page was a redirect before the edit.
Definition at line 977 of file DerivedPageDataUpdater.php.
|
private |
see $wgArticleCountMethod
Definition at line 158 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\setArticleCountMethod().
|
private |
Definition at line 281 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 128 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 148 of file DerivedPageDataUpdater.php.
|
private |
Definition at line 133 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 143 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 153 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\setLogger().
|
private |
Definition at line 138 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Stores (most of) the $options parameter of prepareUpdate().
Definition at line 169 of file DerivedPageDataUpdater.php.
|
private |
The state of the relevant row in page table before the edit.
This is determined by the first call to grabCurrentRevision, prepareContent, or prepareUpdate (so it is only accessible in 'knows-current' or a later stage). If pageState was not initialized when prepareUpdate() is called, prepareUpdate() will attempt to emulate the state of the page table before the edit.
Contains the following fields:
Definition at line 206 of file DerivedPageDataUpdater.php.
|
private |
Definition at line 216 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\getParentRevision().
|
private |
Definition at line 118 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
see $wgRCWatchCategoryMembership
Definition at line 163 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\setRcWatchCategoryMembership().
|
private |
Definition at line 226 of file DerivedPageDataUpdater.php.
|
private |
Definition at line 221 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\isReusableFor().
|
private |
Definition at line 231 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 123 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 234 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct().
|
private |
Definition at line 211 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\isReusableFor().
|
private |
A stage identifier for managing the life cycle of this instance.
Possible stages are 'new', 'knows-current', 'has-content', 'has-revision', and 'done'.
Definition at line 244 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\doTransition().
|
private |
Definition at line 108 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\isReusableFor().
|
private |
Definition at line 113 of file DerivedPageDataUpdater.php.
Referenced by MediaWiki\Storage\DerivedPageDataUpdater\__construct(), MediaWiki\Storage\DerivedPageDataUpdater\getWikiPage(), and MediaWiki\Storage\DerivedPageDataUpdater\grabCurrentRevision().