|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
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.