Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426255
WfShellWikiCmdHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
798 B
Referenced Files
None
Subscribers
None
WfShellWikiCmdHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment