A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Manual:Hooks/IRCLineURL below:

Manual:Hooks/IRCLineURL - MediaWiki

IRCLineURL Available from version 1.18.0 (r94995, CodeReview archive)
When constructing the URL to use in an IRC notification.
Define function:
public static function onIRCLineURL( &$url, &$query, RecentChange $rc ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"IRCLineURL": "MediaWiki\\Extension\\MyExtension\\Hooks::onIRCLineURL"
	}
}
Called from: File(s): rcfeed/IRCColourfulRCFeedFormatter.php Interface: IRCLineURLHook.php

For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:IRCLineURL extensions.

Details[edit]

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4