MediaWiki REL1_40
|
Public Member Functions | |
__construct (Title $pageTitle, BacklinkCache $backlinkCache, RevisionRecord $revision=null) | |
checkTemplateLinks () | |
Determines the number of template links for recursive link updates. | |
overrideNewForCategorizationCallback (callable $callback) | |
Overrides the default new for categorization callback This is intended for use while testing and will fail if MW_PHPUNIT_TEST is not defined. | |
triggerCategoryAddedNotification (Title $categoryTitle) | |
Create a recentchanges entry for category additions. | |
triggerCategoryRemovedNotification (Title $categoryTitle) | |
Create a recentchanges entry for category removals. | |
Definition at line 33 of file CategoryMembershipChange.php.
CategoryMembershipChange::__construct | ( | Title | $pageTitle, |
BacklinkCache | $backlinkCache, | ||
RevisionRecord | $revision = null ) |
Title | $pageTitle | Title instance of the categorized page |
BacklinkCache | $backlinkCache | |
RevisionRecord | null | $revision | Latest revision of the categorized page. |
MWException |
Definition at line 75 of file CategoryMembershipChange.php.
References MediaWiki\Revision\RevisionRecord\getTimestamp(), and wfTimestampNow().
CategoryMembershipChange::checkTemplateLinks | ( | ) |
Determines the number of template links for recursive link updates.
Definition at line 108 of file CategoryMembershipChange.php.
CategoryMembershipChange::overrideNewForCategorizationCallback | ( | callable | $callback | ) |
Overrides the default new for categorization callback This is intended for use while testing and will fail if MW_PHPUNIT_TEST is not defined.
callable | $callback |
MWException |
Definition at line 98 of file CategoryMembershipChange.php.
CategoryMembershipChange::triggerCategoryAddedNotification | ( | Title | $categoryTitle | ) |
Create a recentchanges entry for category additions.
Title | $categoryTitle |
Definition at line 117 of file CategoryMembershipChange.php.
CategoryMembershipChange::triggerCategoryRemovedNotification | ( | Title | $categoryTitle | ) |
Create a recentchanges entry for category removals.
Title | $categoryTitle |
Definition at line 126 of file CategoryMembershipChange.php.