public static function onPageRenderingHash( &$confstr, User $user, &$forOptions ) { ... }Attach hook: In extension.json:
{ "Hooks": { "PageRenderingHash": "MediaWiki\\Extension\\MyExtension\\Hooks::onPageRenderingHash" } }Called from: File(s): ParserOptions.php Interface: PageRenderingHashHook.php
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:PageRenderingHash extensions.
NOTE: Consider using ParserOptionsRegister instead.
$user
: User object that is requesting the page&$forOptions
: Array of options used to generate the $confstr
hash keyA parser extension which depends on user options should install this hook and append its values to the key.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4