MediaWiki
REL1_22
|
Maintenance script to rollback all edits by a given user or IP provided they're the most recent edit. More...
Public Member Functions | |
__construct () | |
execute () | |
Private Member Functions | |
getRollbackTitles ($user) | |
Get all pages that should be rolled back for a given user. |
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.
Reimplemented from Maintenance.
Definition at line 34 of file rollbackEdits.php.
References Maintenance\addOption().
Reimplemented from Maintenance.
Definition at line 43 of file rollbackEdits.php.
References $summary, $t, $title, $titles, $user, array(), as, Maintenance\error(), WikiPage\factory(), User\getCanonicalName(), Maintenance\getOption(), getRollbackTitles(), Maintenance\hasOption(), User\isIP(), User\newFromName(), Title\newFromText(), and Maintenance\output().
RollbackEdits::getRollbackTitles | ( | $ | user | ) | [private] |
Get all pages that should be rolled back for a given user.
$user | String a name to check against rev_user_text |
Definition at line 90 of file rollbackEdits.php.
References $dbr, $titles, $user, array(), as, Title\makeTitle(), and wfGetDB().
Referenced by execute().