summaryrefslogtreecommitdiff
path: root/maintenance/cleanupCaps.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/cleanupCaps.php')
-rw-r--r--maintenance/cleanupCaps.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/maintenance/cleanupCaps.php b/maintenance/cleanupCaps.php
index 77a95ffa..e959d4b7 100644
--- a/maintenance/cleanupCaps.php
+++ b/maintenance/cleanupCaps.php
@@ -24,8 +24,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @author Brion Vibber <brion at pobox.com>
- * @addtogroup maintenance
+ * @ingroup maintenance
*/
$options = array( 'dry-run' );
@@ -33,6 +34,9 @@ $options = array( 'dry-run' );
require_once( 'commandLine.inc' );
require_once( 'FiveUpgrade.inc' );
+/**
+ * @ingroup Maintenance
+ */
class CapsCleanup extends FiveUpgrade {
function CapsCleanup( $dryrun = false, $namespace=0 ) {
parent::FiveUpgrade();
@@ -152,5 +156,3 @@ $wgUser->setName( 'Conversion script' );
$ns = isset( $options['namespace'] ) ? $options['namespace'] : 0;
$caps = new CapsCleanup( isset( $options['dry-run'] ), $ns );
$caps->cleanup();
-
-