MediaWiki REL1_35
MediaWiki\Shell\Hook\WfShellWikiCmdHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Shell\Hook\WfShellWikiCmdHook:

Public Member Functions

 onWfShellWikiCmd (&$script, &$parameters, &$options)
 This hook is called when generating a shell-escaped command line string to run a MediaWiki CLI script.
 

Detailed Description

Stable to implement.

Definition at line 9 of file WfShellWikiCmdHook.php.

Member Function Documentation

◆ onWfShellWikiCmd()

MediaWiki\Shell\Hook\WfShellWikiCmdHook::onWfShellWikiCmd ( $script,
$parameters,
$options 
)

This hook is called when generating a shell-escaped command line string to run a MediaWiki CLI script.

Since
1.35
Parameters
string&$scriptMediaWiki CLI script path
string[]&$parametersArray of arguments and options to the script
array&$optionsAssociative array of options, may contain the 'php' and 'wrapper' keys
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: