MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onGetCanonicalURL ( $title, &$url, $query) | |
Use this hook to modify fully-qualified URLs used for IRC and email notifications. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetCanonicalURL" to register handlers implementing this interface.
Definition at line 14 of file GetCanonicalURLHook.php.
MediaWiki\Hook\GetCanonicalURLHook::onGetCanonicalURL | ( | $title, | |
& | $url, | ||
$query ) |
Use this hook to modify fully-qualified URLs used for IRC and email notifications.
Title | $title | Title object of page |
string | &$url | String value as output (out parameter, can modify) |
string | $query | Query options as string passed to Title::getCanonicalURL() |
Implemented in MediaWiki\HookContainer\HookRunner.