mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-14 11:24:43 +00:00
Update maintenance scripts to use $this->requireExtension
Bug: T152139 Change-Id: I1ce646506f66096387f3970dd4017b1d06841ec2
This commit is contained in:
parent
342c969bb4
commit
125ec14718
|
@ -25,6 +25,8 @@ class InitImageData extends Maintenance {
|
|||
'If not provided or 0 will be run in-process.', false, true );
|
||||
$this->addOption( 'quiet', "Don't report on job queue pressure" );
|
||||
$this->setBatchSize( 100 );
|
||||
|
||||
$this->requireExtension( 'PageImages' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue