MediaWiki
master
GetCanonicalURLHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
14
interface
GetCanonicalURLHook
{
25
public
function
onGetCanonicalURL
( $title, &
$url
, $query );
26
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Hook\GetCanonicalURLHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetCanonicalURLHook.php:14
MediaWiki\Hook\GetCanonicalURLHook\onGetCanonicalURL
onGetCanonicalURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used for IRC and email notifications.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$url
$url
Definition
opensearch_desc.php:37
includes
Hook
GetCanonicalURLHook.php
Generated on Mon Dec 2 2024 19:23:52 for MediaWiki by
1.10.0