CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
execute () | |
error ( $msg, $die=0) | |
fatalError ( $msg, $exitCode=1) | |
Public Member Functions inherited from CirrusSearch\Maintenance\Maintenance | |
finalSetup (SettingsBuilder $settingsBuilder=null) | |
runChild ( $maintClass, $classFile=null) | |
getConnection ( $cluster=null) | |
getSearchConfig () | |
getMetaStore (Connection $conn=null) | |
loadSpecialVars () | |
Execute a callback function at the end of initialisation. | |
done () | |
Call to signal that execution of this maintenance script is complete so the next one gets the right indentation. | |
output ( $message, $channel=null) | |
outputIndented ( $message) | |
Additional Inherited Members | |
Protected Member Functions inherited from CirrusSearch\Maintenance\Maintenance | |
disablePoolCountersAndLogging () | |
Disable all pool counters and cirrus query logs. | |
maybeCreateMetastore () | |
Create metastore only if the alias does not already exist. | |
requireCirrusReady () | |
getBackCompatOption (string $current, string $bc, bool $required=true) | |
Provides support for backward compatible CLI options. | |
unwrap (Status $status) | |
Helper method for Status returning methods, such as via ConfigUtils. | |
Static Protected Attributes inherited from CirrusSearch\Maintenance\Maintenance | |
static | $indent = null |
CirrusSearch\Maintenance\SaneitizeJobs::__construct | ( | ) |
Reimplemented from CirrusSearch\Maintenance\Maintenance.
CirrusSearch\Maintenance\SaneitizeJobs::error | ( | $msg, | |
$die = 0 ) |
string | $msg | The error to display |
int | $die | deprecated do not use |
Reimplemented from CirrusSearch\Maintenance\Maintenance.
CirrusSearch\Maintenance\SaneitizeJobs::fatalError | ( | $msg, | |
$exitCode = 1 ) |
string | $msg | The error to display |
int | $exitCode | die out using this int as the code |