MediaWiki REL1_35
MediaWiki\Hook\RawPageViewBeforeOutputHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\RawPageViewBeforeOutputHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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: