MediaWiki  master
GetInternalURLHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
14 interface GetInternalURLHook {
25  public function onGetInternalURL( $title, &$url, $query );
26 }
MediaWiki\Hook\GetInternalURLHook\onGetInternalURL
onGetInternalURL( $title, &$url, $query)
Use this hook to modify fully-qualified URLs used for squid cache purging.
MediaWiki\Hook\GetInternalURLHook
This is a hook handler interface, see docs/Hooks.md.
Definition: GetInternalURLHook.php:14
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
$title
$title
Definition: testCompression.php:38
Title
Represents a title within MediaWiki.
Definition: Title.php:46