MediaWiki
master
GetLocalURL__ArticleHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
MediaWiki\Title\Title
;
7
15
interface
GetLocalURL__ArticleHook
{
26
public
function
onGetLocalURL__Article
( $title, &
$url
);
27
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Hook\GetLocalURL__ArticleHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetLocalURL__ArticleHook.php:15
MediaWiki\Hook\GetLocalURL__ArticleHook\onGetLocalURL__Article
onGetLocalURL__Article( $title, &$url)
Use this hook to modify local URLs specifically pointing to article paths without any fancy queries o...
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
$url
$url
Definition
opensearch_desc.php:37
includes
Hook
GetLocalURL__ArticleHook.php
Generated on Sat Sep 14 2024 12:23:36 for MediaWiki by
1.10.0