Manual:Hooks/wfShellWikiCmd

in 1.19 this hook was named wfShellMaintenanceCmd.

Details

 * &$script: MediaWiki cli script path
 * &$parameters: Array of arguments and options to the script
 * &$options: Associative array of options, may contain the 'php' and 'wrapper' keys