MediaWiki  REL1_22
RollbackEdits Class Reference

Maintenance script to rollback all edits by a given user or IP provided they're the most recent edit. More...

Inheritance diagram for RollbackEdits:
Collaboration diagram for RollbackEdits:

List of all members.

Public Member Functions

 __construct ()
 execute ()

Private Member Functions

 getRollbackTitles ($user)
 Get all pages that should be rolled back for a given user.

Detailed Description

Maintenance script to rollback all edits by a given user or IP provided they're the most recent edit.

Definition at line 33 of file rollbackEdits.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 34 of file rollbackEdits.php.

References Maintenance\addOption().


Member Function Documentation

RollbackEdits::getRollbackTitles ( user) [private]

Get all pages that should be rolled back for a given user.

Parameters:
$userString a name to check against rev_user_text
Returns:
array

Definition at line 90 of file rollbackEdits.php.

References $dbr, $titles, $user, array(), as, Title\makeTitle(), and wfGetDB().

Referenced by execute().


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