|
MediaWiki
REL1_21
|
Update object handling the cleanup of links tables after a page was deleted. More...


Public Member Functions | |
| __construct (WikiPage $page) | |
| Constructor. | |
| doUpdate () | |
| Do some database updates after deletion. | |
| updateCategoryCounts ($added, $deleted) | |
| Update all the appropriate counts in the category table. | |
Protected Attributes | |
| $mPage | |
| WikiPage the wikipage that was deleted. | |
Update object handling the cleanup of links tables after a page was deleted.
Definition at line 815 of file LinksUpdate.php.
| LinksDeletionUpdate::__construct | ( | WikiPage $ | page | ) |
Constructor.
| MWException |
Definition at line 825 of file LinksUpdate.php.
References $page, DataUpdate\__construct(), and WikiPage\exists().
Do some database updates after deletion.
Implements DeferrableUpdate.
Definition at line 838 of file LinksUpdate.php.
| LinksDeletionUpdate::updateCategoryCounts | ( | $ | added, |
| $ | deleted | ||
| ) |
Update all the appropriate counts in the category table.
| array | $added | associative array of category name => sort key |
| array | $deleted | associative array of category name => sort key |
Definition at line 890 of file LinksUpdate.php.
References WikiPage\factory().
LinksDeletionUpdate::$mPage [protected] |
WikiPage the wikipage that was deleted.
Definition at line 817 of file LinksUpdate.php.