summaryrefslogtreecommitdiff
path: root/maintenance/rollbackEdits.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/rollbackEdits.php')
-rw-r--r--maintenance/rollbackEdits.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/maintenance/rollbackEdits.php b/maintenance/rollbackEdits.php
index 3e57e01f..4660bcef 100644
--- a/maintenance/rollbackEdits.php
+++ b/maintenance/rollbackEdits.php
@@ -18,11 +18,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script to rollback all edits by a given user or IP provided
+ * they're the most recent edit.
+ *
+ * @ingroup Maintenance
+ */
class RollbackEdits extends Maintenance {
public function __construct() {
parent::__construct();