Manual:Hooks/PageRenderingHash
From MediaWiki.org
| PageRenderingHash | |
|---|---|
| Available from version 1.6.0 Alter the parser cache option hash key |
|
*Define function: |
function fnMyHook( $hash ) { ... }
|
*Attach hook: |
$wgHooks['PageRenderingHash'][] = 'fnMyHook'; |
| Called from: | User.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:PageRenderingHash extensions.
[edit] Details
- $hash: reference to a hash key string which can be modified
A parser extension which depends on user options should install this hook and append its values to the key.