class RollbackEdits extends Maintenance {
public function __construct() {
parent::__construct();
- $this->mDescription =
- "Rollback all edits by a given user or IP provided they're the most recent edit";
+ $this->addDescription(
+ "Rollback all edits by a given user or IP provided they're the most recent edit" );
$this->addOption(
'titles',
'A list of titles, none means all titles where the given user is the most recent',