Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F6062074
ApiBeforeMainHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
548 B
Referenced Files
None
Subscribers
None
ApiBeforeMainHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Api\ApiMain
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ApiBeforeMain" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ApiBeforeMainHook
{
/**
* This hook is called before calling ApiMain's execute() method in api.php.
*
* @since 1.35
*
* @param ApiMain &$main
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onApiBeforeMain
(
&
$main
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 5 2026, 03:07 (5 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
86/b5/524912e62bbbfea0927f2ae03af6
Default Alt Text
ApiBeforeMainHook.php (548 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment