MediaWiki master
MediaWiki\Hook\SpecialVersionVersionUrlHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSpecialVersionVersionUrl ( $version, &$versionUrl)
 This hook is called when building the URL for Special:Version.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SpecialVersionVersionUrl" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 of file SpecialVersionVersionUrlHook.php.

Member Function Documentation

◆ onSpecialVersionVersionUrl()

MediaWiki\Hook\SpecialVersionVersionUrlHook::onSpecialVersionVersionUrl (   $version,
$versionUrl 
)

This hook is called when building the URL for Special:Version.

Since
1.35
Parameters
string$versionCurrent MediaWiki version
string&$versionUrlRaw url to link to (eg: release notes)
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: