MediaWiki  master
GetInternalURLHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
11 interface GetInternalURLHook {
22  public function onGetInternalURL( $title, &$url, $query );
23 }
MediaWiki\Hook\GetInternalURLHook\onGetInternalURL
onGetInternalURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used for squid cache purging.
MediaWiki\Hook\GetInternalURLHook
Stable to implement.
Definition: GetInternalURLHook.php:11
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:41