summaryrefslogtreecommitdiff
path: root/maintenance/rebuildmessages.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/rebuildmessages.php')
-rw-r--r--maintenance/rebuildmessages.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/maintenance/rebuildmessages.php b/maintenance/rebuildmessages.php
index de37da7e..a70e591f 100644
--- a/maintenance/rebuildmessages.php
+++ b/maintenance/rebuildmessages.php
@@ -1,6 +1,6 @@
<?php
/**
- * This script purges all language messages from the cache
+ * Purge all languages from the message cache.
*
* 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
@@ -17,11 +17,17 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* http://www.gnu.org/copyleft/gpl.html
*
+ * @file
* @ingroup Maintenance
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
+/**
+ * Maintenance script that purges all languages from the message cache.
+ *
+ * @ingroup Maintenance
+ */
class RebuildMessages extends Maintenance {
public function __construct() {
parent::__construct();