Manual:Hooks/IRCLineURL

From MediaWiki.org
Jump to: navigation, search
IRCLineURL
Available from version 1.18.0 (r94995)
When constructing the URL to use in an IRC notification.

Define function:
public static function onIRCLineURL( &$url, &$query ) { ... }

Attach hook:
$wgHooks['IRCLineURL'][] = 'MyExtensionHooks::onIRCLineURL';
Called from: RecentChange.php

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


[edit] Details

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

  • &$url: URL to index.php
  • &$query: Query string
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox