MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onPageRenderingHash (&$confstr, $user, &$forOptions) | |
NOTE: Consider using ParserOptionsRegister instead. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PageRenderingHash" to register handlers implementing this interface.
Definition at line 14 of file PageRenderingHashHook.php.
MediaWiki\Hook\PageRenderingHashHook::onPageRenderingHash | ( | & | $confstr, |
$user, | |||
& | $forOptions ) |
NOTE: Consider using ParserOptionsRegister instead.
Use this hook to alter the parser cache option hash key. A parser extension which depends on user options should install this hook and append its values to the key.
string | &$confstr | Reference to a hash key string which can be modified |
User | $user | User requesting the page |
array | &$forOptions | Array of options the hash is for |
Implemented in MediaWiki\HookContainer\HookRunner.