MediaWiki  REL1_20
AttachLatest Class Reference

Maintenance script to correct wrong values in the `page_latest` field in the database. More...

Inheritance diagram for AttachLatest:
Collaboration diagram for AttachLatest:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Detailed Description

Maintenance script to correct wrong values in the `page_latest` field in the database.

Definition at line 35 of file attachLatest.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 37 of file attachLatest.php.

References Maintenance\addOption().


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 43 of file attachLatest.php.

References $n, $page, $result, $title, WikiPage\factory(), Maintenance\hasOption(), Revision\loadFromTimestamp(), Title\makeTitle(), Maintenance\output(), wfGetDB(), and wfWikiID().


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