mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-27 17:01:07 +00:00
Use Maintenance::addDescription
It is better to use a setter function than setting a property Change-Id: I1df2d03cfaede53867daf9db8e26af5931c77ef9
This commit is contained in:
parent
a48338b5d7
commit
a72741e313
|
@ -27,7 +27,7 @@ class MathGenerateTests extends Maintenance {
|
|||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->requireExtension( 'Math' );
|
||||
$this->mDescription = 'Rebuilds the MathCoverage tests';
|
||||
$this->addDescription( 'Rebuilds the MathCoverage tests' );
|
||||
$this->addArg( 'page', "The page used for the testset generation.", false );
|
||||
$this->addOption(
|
||||
'offset', "If set the first n equations on the page are skipped", false, true, "o"
|
||||
|
|
|
@ -13,7 +13,7 @@ class DummyTest extends Maintenance {
|
|||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->requireExtension( 'Math' );
|
||||
$this->mDescription = 'Test Mathoid CLI';
|
||||
$this->addDescription( 'Test Mathoid CLI' );
|
||||
$this->addArg( 'page', "The page used for the testset generation.", false );
|
||||
$this->addOption( 'offset', "If set the first n equations on the page are skipped", false,
|
||||
true, "o" );
|
||||
|
|
Loading…
Reference in a new issue