summaryrefslogtreecommitdiff
path: root/maintenance/attachLatest.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/attachLatest.php')
-rw-r--r--maintenance/attachLatest.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/maintenance/attachLatest.php b/maintenance/attachLatest.php
index 6e09671a..475cafc9 100644
--- a/maintenance/attachLatest.php
+++ b/maintenance/attachLatest.php
@@ -1,7 +1,6 @@
<?php
/**
- * quick hackjob to fix damages imports on wikisource
- * page records have page_latest wrong
+ * Corrects wrong values in the `page_latest` field in the database.
*
* Copyright © 2005 Brion Vibber <brion@pobox.com>
* http://www.mediawiki.org/
@@ -25,8 +24,14 @@
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script to correct wrong values in the `page_latest` field
+ * in the database.
+ *
+ * @ingroup Maintenance
+ */
class AttachLatest extends Maintenance {
public function __construct() {