MediaWiki REL1_35
MediaWiki\Hook\IRCLineURLHook Interface Reference

Stable to implement. 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

Stable to implement.

Definition at line 11 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: