MediaWiki REL1_41
MediaWiki\Hook\RawPageViewBeforeOutputHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onRawPageViewBeforeOutput ( $obj, &$text)
 This hook is called right before the text is blown out in action=raw.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "RawPageViewBeforeOutput" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file RawPageViewBeforeOutputHook.php.

Member Function Documentation

◆ onRawPageViewBeforeOutput()

MediaWiki\Hook\RawPageViewBeforeOutputHook::onRawPageViewBeforeOutput ( $obj,
& $text )

This hook is called right before the text is blown out in action=raw.

Since
1.35
Parameters
RawAction$obj
string&$textThe text that's going to be the output
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: