mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-28 00:01:10 +00:00
Update Maintenance scripts in extensions to use $this->requireExtension()
Bug: T152139 Change-Id: I9aead5ae7106150dfae749a91b6b403c94811f3f
This commit is contained in:
parent
767247c546
commit
55e9170492
|
@ -32,6 +32,8 @@ class UpdateCSS extends Maintenance {
|
|||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
|
||||
$this->requireExtension( 'SyntaxHighlight' );
|
||||
$this->addDescription( 'Generate CSS code for SyntaxHighlight_GeSHi' );
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@ require_once "$IP/maintenance/Maintenance.php";
|
|||
class UpdateLexerList extends Maintenance {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
|
||||
$this->requireExtension( 'SyntaxHighlight' );
|
||||
$this->addDescription( 'Update list of lexers supported by SyntaxHighlight_GeSHi' );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue