MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onPageRenderingHash (&$confstr, $user, &$forOptions) | |
NOTE: Consider using ParserOptionsRegister instead. | |
Stable to implement.
Definition at line 11 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.