Debian Codegraph @

includes/recentchanges/RCFeed/Hook/IRCLineURLHook.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Hook;
4
5 use RecentChange;
6
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "IRCLineURL" to register handlers implementing this interface.
10 *
11 * @stable to implement
12 * @ingroup Hooks
13 */
14 interface IRCLineURLHook {
15 /**
16 * This hook is called when constructing the URL to use in an RCFeed notification.
17 * Callee may modify $url and $query; URL will be constructed as $url . $query
18 *
19 * @since 1.35
20 *
21 * @param string &$url URL to index.php
22 * @param string &$query Query string
23 * @param RecentChange $rc RecentChange object that triggered URL generation
24 * @return bool|void True or no return value to continue or false to abort
25 */
26 public function onIRCLineURL( &$url, &$query, $rc );
27 }