Page MenuHomeWickedGov Phorge

WfShellWikiCmdHook.php
No OneTemporary

Size
798 B
Referenced Files
None
Subscribers
None

WfShellWikiCmdHook.php

<?php
namespace MediaWiki\Shell\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "wfShellWikiCmd" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface WfShellWikiCmdHook {
/**
* This hook is called when generating a shell-escaped command line string to
* run a MediaWiki CLI script.
*
* @since 1.35
*
* @param string &$script MediaWiki CLI script path
* @param string[] &$parameters Array of arguments and options to the script
* @param array &$options Associative array of options, may contain the 'php' and 'wrapper'
* keys
* @return bool|void True or no return value to continue or false to abort
*/
public function onWfShellWikiCmd( &$script, &$parameters, &$options );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 12:55 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6a/c0/17b01df58502f3fad12b17bea7e2
Default Alt Text
WfShellWikiCmdHook.php (798 B)

Event Timeline