|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "wfShellWikiCmd" to register handlers implementing this interface.
Definition at line 12 of file WfShellWikiCmdHook.php.
| 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.
| string | &$script | MediaWiki CLI script path |
| string[] | &$parameters | Array of arguments and options to the script |
| array | &$options | Associative array of options, may contain the 'php' and 'wrapper' keys |
Implemented in MediaWiki\HookContainer\HookRunner.