MediaWiki REL1_35
MediaWiki\Hook\GetLocalURL__ArticleHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\GetLocalURL__ArticleHook:

Public Member Functions

 onGetLocalURL__Article ( $title, &$url)
 Use this hook to modify local URLs specifically pointing to article paths without any fancy queries or variants.
 

Detailed Description

Stable to implement.

Definition at line 12 of file GetLocalURL__ArticleHook.php.

Member Function Documentation

◆ onGetLocalURL__Article()

MediaWiki\Hook\GetLocalURL__ArticleHook::onGetLocalURL__Article (   $title,
$url 
)

Use this hook to modify local URLs specifically pointing to article paths without any fancy queries or variants.

Since
1.35
Parameters
Title$titleTitle object of page
string&$urlString value as output (out parameter, can modify)
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: