http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94997

Revision: 94997
Author:   catrope
Date:     2011-08-19 14:05:00 +0000 (Fri, 19 Aug 2011)
Log Message:
-----------
Followup r94995: add hooks.txt entries for the new hooks

Modified Paths:
--------------
    trunk/phase3/docs/hooks.txt

Modified: trunk/phase3/docs/hooks.txt
===================================================================
--- trunk/phase3/docs/hooks.txt 2011-08-19 13:25:43 UTC (rev 94996)
+++ trunk/phase3/docs/hooks.txt 2011-08-19 14:05:00 UTC (rev 94997)
@@ -891,6 +891,11 @@
 &$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 @@
 '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
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to