Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -891,6 +891,11 @@ |
892 | 892 | &$cookies: array of cookies name, add a value to it if you want to add a cookie |
893 | 893 | that have to vary cache options |
894 | 894 | |
| 895 | +'GetCanonicalURL': modify fully-qualified URLs used for IRC and e-mail notifications |
| 896 | +$title: Title object of page |
| 897 | +$url: string value as output (out parameter, can modify) |
| 898 | +$query: query options passed to Title::getCanonicalURL() |
| 899 | + |
895 | 900 | 'GetDefaultSortkey': Override the default sortkey for a page. |
896 | 901 | $title: Title object that we need to get a sortkey for |
897 | 902 | &$sortkey: Sortkey to use. |
— | — | @@ -1059,6 +1064,11 @@ |
1060 | 1065 | 'InvalidateEmailComplete': Called after a user's email has been invalidated successfully |
1061 | 1066 | $user: user (object) whose email is being invalidated |
1062 | 1067 | |
| 1068 | +'IRCLineURL': When constructing the URL to use in an IRC notification. |
| 1069 | +Callee may modify $url and $query, URL will be constructed as $url . $query |
| 1070 | +&$url: URL to index.php |
| 1071 | +&$query: Query string |
| 1072 | + |
1063 | 1073 | 'IsFileCacheable': Override the result of Article::isFileCacheable() (if true) |
1064 | 1074 | $article: article (object) being checked |
1065 | 1075 | |