summaryrefslogtreecommitdiff
path: root/maintenance/cleanupTitles.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/cleanupTitles.php')
-rw-r--r--maintenance/cleanupTitles.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/maintenance/cleanupTitles.php b/maintenance/cleanupTitles.php
index 4fc6415e..ad2577aa 100644
--- a/maintenance/cleanupTitles.php
+++ b/maintenance/cleanupTitles.php
@@ -1,6 +1,6 @@
<?php
/**
- * Script to clean up broken, unparseable titles.
+ * Clean up broken, unparseable titles.
*
* Usage: php cleanupTitles.php [--fix]
* Options:
@@ -29,8 +29,13 @@
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/cleanupTable.inc' );
+require_once( __DIR__ . '/cleanupTable.inc' );
+/**
+ * Maintenance script to clean up broken, unparseable titles.
+ *
+ * @ingroup Maintenance
+ */
class TitleCleanup extends TableCleanup {
public function __construct() {
parent::__construct();