diff options
Diffstat (limited to 'maintenance/cleanupCaps.php')
-rw-r--r-- | maintenance/cleanupCaps.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/maintenance/cleanupCaps.php b/maintenance/cleanupCaps.php index 6f8e180c..ec2aa957 100644 --- a/maintenance/cleanupCaps.php +++ b/maintenance/cleanupCaps.php @@ -1,6 +1,6 @@ <?php /** - * Script to clean up broken page links when somebody turns on $wgCapitalLinks. + * Clean up broken page links when somebody turns on $wgCapitalLinks. * * Usage: php cleanupCaps.php [--dry-run] * Options: @@ -29,8 +29,13 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/cleanupTable.inc' ); +require_once( __DIR__ . '/cleanupTable.inc' ); +/** + * Maintenance script to clean up broken page links when somebody turns on $wgCapitalLinks. + * + * @ingroup Maintenance + */ class CapsCleanup extends TableCleanup { public function __construct() { parent::__construct(); |