Don't use Maintenance::$mDescription directly
Change-Id: If28d9b7ee17ff559b35f3edc8b47ece298ea2c03
This commit is contained in:
@@ -21,8 +21,8 @@ class ULSCompactLinksDisablePref extends Maintenance {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->requireExtension( 'UniversalLanguageSelector' );
|
||||
$this->mDescription = 'Disables the UniversalLanguageSelector compact-language-links ' .
|
||||
'preference for appropriate users.';
|
||||
$this->addDescription( 'Disables the UniversalLanguageSelector compact-language-links ' .
|
||||
'preference for appropriate users.' );
|
||||
$this->setBatchSize( 100 );
|
||||
|
||||
$this->addOption( 'really', 'Really change the preferences' );
|
||||
|
||||
@@ -18,7 +18,7 @@ require_once "$IP/maintenance/Maintenance.php";
|
||||
class CompileFontRepo extends Maintenance {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->mDescription = 'Creates JavaScript font repository.';
|
||||
$this->addDescription( 'Creates JavaScript font repository.' );
|
||||
}
|
||||
|
||||
public function execute() {
|
||||
|
||||
@@ -18,7 +18,7 @@ require_once "$IP/maintenance/Maintenance.php";
|
||||
class GenerateFontTestPage extends Maintenance {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->mDescription = 'Creates a HTML page with text for all fonts.';
|
||||
$this->addDescription( 'Creates a HTML page with text for all fonts.' );
|
||||
}
|
||||
|
||||
public function execute() {
|
||||
|
||||
Reference in New Issue
Block a user