Updated maintenance scripts to use $this->requireExtension()

Added $this->requireExtension() in maintenance/MathGenerateTests.php

Bug: T152139

Change-Id: I79670c9102e1ea97390edc4c8408d269f3967547
This commit is contained in:
IvanFon 2016-12-16 22:18:52 -05:00
parent 3b12174946
commit b4eb57f164
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class MathGenerateTests extends Maintenance
public function __construct() {
parent::__construct();
$this->requireExtension( 'Math' );
$this->mDescription = 'Rebuilds the MathCoverage tests';
$this->addArg( 'page', "The page used for the testset generation.", false );
$this->addOption(