MediaWiki REL1_39
MediaWiki\Hook\IRCLineURLHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\IRCLineURLHook:

Public Member Functions

 onIRCLineURL (&$url, &$query, $rc)
 This hook is called when constructing the URL to use in an IRC notification.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 14 of file IRCLineURLHook.php.

Member Function Documentation

◆ onIRCLineURL()

MediaWiki\Hook\IRCLineURLHook::onIRCLineURL ( & $url,
& $query,
$rc )

This hook is called when constructing the URL to use in an IRC notification.

Callee may modify $url and $query; URL will be constructed as $url . $query

Since
1.35
Parameters
string&$urlURL to index.php
string&$queryQuery string
RecentChange$rcRecentChange object that triggered URL generation
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: