summaryrefslogtreecommitdiff
path: root/maintenance/checkBadRedirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/checkBadRedirects.php')
-rw-r--r--maintenance/checkBadRedirects.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/maintenance/checkBadRedirects.php b/maintenance/checkBadRedirects.php
index bac2ff69..670b93de 100644
--- a/maintenance/checkBadRedirects.php
+++ b/maintenance/checkBadRedirects.php
@@ -1,7 +1,6 @@
<?php
/**
- * CheckBadRedirects - See if pages marked as being redirects
- * really are.
+ * Check that pages marked as being redirects really are.
*
* 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
@@ -22,8 +21,13 @@
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script to check that pages marked as being redirects really are.
+ *
+ * @ingroup Maintenance
+ */
class CheckBadRedirects extends Maintenance {
public function __construct() {
parent::__construct();