summaryrefslogtreecommitdiff
path: root/maintenance/commandLine.inc
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /maintenance/commandLine.inc
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'maintenance/commandLine.inc')
-rw-r--r--maintenance/commandLine.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/maintenance/commandLine.inc b/maintenance/commandLine.inc
index be071422..88776f4f 100644
--- a/maintenance/commandLine.inc
+++ b/maintenance/commandLine.inc
@@ -23,14 +23,18 @@
require_once __DIR__ . '/Maintenance.php';
+// @codingStandardsIgnoreStart MediaWiki.NamingConventions.ValidGlobalName.wgPrefix
global $optionsWithArgs;
+// @codingStandardsIgnoreEnd
if ( !isset( $optionsWithArgs ) ) {
$optionsWithArgs = array();
}
class CommandLineInc extends Maintenance {
public function __construct() {
+ // @codingStandardsIgnoreStart MediaWiki.NamingConventions.ValidGlobalName.wgPrefix
global $optionsWithArgs;
+ // @codingStandardsIgnoreEnd
parent::__construct();
foreach ( $optionsWithArgs as $name ) {
$this->addOption( $name, '', false, true );
@@ -39,6 +43,7 @@ class CommandLineInc extends Maintenance {
/**
* No help, it would just be misleading since it misses custom options
+ * @param bool $force
*/
protected function maybeHelp( $force = false ) {
if ( !$force ) {
@@ -48,7 +53,9 @@ class CommandLineInc extends Maintenance {
}
public function execute() {
+ // @codingStandardsIgnoreStart MediaWiki.NamingConventions.ValidGlobalName.wgPrefix
global $args, $options;
+ // @codingStandardsIgnoreEnd
$args = $this->mArgs;
$options = $this->mOptions;
}