From: Roan Kattouw Date: Fri, 19 Aug 2011 14:05:00 +0000 (+0000) Subject: Followup r94995: add hooks.txt entries for the new hooks X-Git-Tag: 1.31.0-rc.0~28174 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=04e002d5823dbb63cdd52bb235846fd08d433585;p=lhc%2Fweb%2Fwiklou.git Followup r94995: add hooks.txt entries for the new hooks --- diff --git a/docs/hooks.txt b/docs/hooks.txt index d3071c4c23..584f841ea6 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -891,6 +891,11 @@ $out: OutputPage object &$cookies: array of cookies name, add a value to it if you want to add a cookie that have to vary cache options +'GetCanonicalURL': modify fully-qualified URLs used for IRC and e-mail notifications +$title: Title object of page +$url: string value as output (out parameter, can modify) +$query: query options passed to Title::getCanonicalURL() + 'GetDefaultSortkey': Override the default sortkey for a page. $title: Title object that we need to get a sortkey for &$sortkey: Sortkey to use. @@ -1059,6 +1064,11 @@ but after noinclude/includeonly/onlyinclude and other processing. 'InvalidateEmailComplete': Called after a user's email has been invalidated successfully $user: user (object) whose email is being invalidated +'IRCLineURL': When constructing the URL to use in an IRC notification. +Callee may modify $url and $query, URL will be constructed as $url . $query +&$url: URL to index.php +&$query: Query string + 'IsFileCacheable': Override the result of Article::isFileCacheable() (if true) $article: article (object) being checked