summaryrefslogtreecommitdiff
path: root/maintenance/jsparse.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
committerPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
commit63601400e476c6cf43d985f3e7b9864681695ed4 (patch)
treef7846203a952e38aaf66989d0a4702779f549962 /maintenance/jsparse.php
parent8ff01378c9e0207f9169b81966a51def645b6a51 (diff)
Update to MediaWiki 1.20.2
this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024
Diffstat (limited to 'maintenance/jsparse.php')
-rw-r--r--maintenance/jsparse.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/maintenance/jsparse.php b/maintenance/jsparse.php
index da6798e1..ceafc390 100644
--- a/maintenance/jsparse.php
+++ b/maintenance/jsparse.php
@@ -1,6 +1,6 @@
<?php
/**
- * Maintenance script to do test JavaScript validity parses using jsmin+'s parser
+ * Test JavaScript validity parses using jsmin+'s parser
*
* 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 to do test JavaScript validity parses using jsmin+'s parser
+ *
+ * @ingroup Maintenance
+ */
class JSParseHelper extends Maintenance {
var $errs = 0;
@@ -35,7 +41,7 @@ class JSParseHelper extends Maintenance {
if ( $this->hasArg() ) {
$files = $this->mArgs;
} else {
- $this->maybeHelp( true ); // @fixme this is a lame API :)
+ $this->maybeHelp( true ); // @todo fixme this is a lame API :)
exit( 1 ); // it should exit from the above first...
}