2020-08-26 07:40:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace MediaWiki\Hook;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @stable to implement
|
|
|
|
|
* @ingroup Hooks
|
|
|
|
|
*/
|
|
|
|
|
interface MaintenanceShellStartHook {
|
|
|
|
|
/**
|
|
|
|
|
* This hook is called before maintenance script shells start, such as eval.php and shell.php
|
|
|
|
|
*
|
|
|
|
|
* @since 1.36
|
|
|
|
|
* @return void This hook must not abort, it must return no value
|
|
|
|
|
*/
|
2021-07-22 03:11:47 +00:00
|
|
|
public function onMaintenanceShellStart(): void;
|
2020-08-26 07:40:40 +00:00
|
|
|
}
|