MediaWiki  master
GetLocalURLHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Title;
6 
11 interface GetLocalURLHook {
26  public function onGetLocalURL( $title, &$url, $query );
27 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\GetLocalURLHook\onGetLocalURL
onGetLocalURL( $title, &$url, $query)
Use this hook to modify local URLs as output into page links.
$title
$title
Definition: testCompression.php:38
MediaWiki\Hook\GetLocalURLHook
Stable to implement.
Definition: GetLocalURLHook.php:11
Title
Represents a title within MediaWiki.
Definition: Title.php:41