summaryrefslogtreecommitdiff
path: root/maintenance/checkUsernames.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/checkUsernames.php')
-rw-r--r--maintenance/checkUsernames.php14
1 files changed, 10 insertions, 4 deletions
diff --git a/maintenance/checkUsernames.php b/maintenance/checkUsernames.php
index 9b98721d..dd5e0022 100644
--- a/maintenance/checkUsernames.php
+++ b/maintenance/checkUsernames.php
@@ -1,8 +1,6 @@
<?php
/**
- * This script verifies that database usernames are actually valid.
- * An existing usernames can become invalid if User::isValidUserName()
- * is altered or if we change the $wgMaxNameChars
+ * Check that database usernames are actually valid.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -24,8 +22,16 @@
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script to check that database usernames are actually valid.
+ *
+ * An existing usernames can become invalid if User::isValidUserName()
+ * is altered or if we change the $wgMaxNameChars
+ *
+ * @ingroup Maintenance
+ */
class CheckUsernames extends Maintenance {
public function __construct() {