MediaWiki  REL1_22
LinksDeletionUpdate Class Reference

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

Inheritance diagram for LinksDeletionUpdate:
Collaboration diagram for LinksDeletionUpdate:

List of all members.

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.

Detailed Description

Update object handling the cleanup of links tables after a page was deleted.

Definition at line 812 of file LinksUpdate.php.


Constructor & Destructor Documentation

Constructor.

Parameters:
$pageWikiPage Page we are updating
Exceptions:
MWException

Definition at line 822 of file LinksUpdate.php.


Member Function Documentation

Do some database updates after deletion.

Implements DeferrableUpdate.

Definition at line 835 of file LinksUpdate.php.

LinksDeletionUpdate::updateCategoryCounts ( added,
deleted 
)

Update all the appropriate counts in the category table.

Parameters:
array$addedassociative array of category name => sort key
array$deletedassociative array of category name => sort key

Definition at line 885 of file LinksUpdate.php.


Member Data Documentation

LinksDeletionUpdate::$mPage [protected]

WikiPage the wikipage that was deleted.

Definition at line 814 of file LinksUpdate.php.


The documentation for this class was generated from the following file: