Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4141278
RawPageViewBeforeOutputHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
650 B
Referenced Files
None
Subscribers
None
RawPageViewBeforeOutputHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Actions\RawAction
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "RawPageViewBeforeOutput" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
RawPageViewBeforeOutputHook
{
/**
* This hook is called right before the text is blown out in action=raw.
*
* @since 1.35
*
* @param RawAction $obj
* @param string &$text The text that's going to be the output
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onRawPageViewBeforeOutput
(
$obj
,
&
$text
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 15:53 (3 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2b/8a/025475078dc393bbbba5315e26ab
Default Alt Text
RawPageViewBeforeOutputHook.php (650 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment