From: umherirrender Date: Sun, 12 Jun 2016 16:01:49 +0000 (+0200) Subject: Fix name of LinkRenderer hooks in docs/hooks.txt X-Git-Tag: 1.31.0-rc.0~6640^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=432d4448a79fb6a1156282791c4f5e5e69ce6fc1;p=lhc%2Fweb%2Fwiklou.git Fix name of LinkRenderer hooks in docs/hooks.txt Follows I057cc86ae6404a080aa3c8e0e956ecbb10a897d5 Change-Id: Id4126409e179cb1f6d67a8e97281c96fbcfb76ee --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 93f84a1b5a..a83f9c6a6e 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1841,7 +1841,7 @@ $file: the File object or false if broken link &$attribs: the attributes to be applied &$ret: the value to return if your hook returns false -'LinkRendererBegin': +'HtmlPageLinkRendererBegin': Used when generating internal and interwiki links in LinkRenderer, before processing starts. Return false to skip default processing and return $ret. @@ -1857,7 +1857,7 @@ $target: the LinkTarget that the link is pointing to in associative array form, with keys and values unescaped. &$ret: the value to return if your hook returns false. -'LinkRendererEnd': +'HtmlPageLinkRendererEnd': Used when generating internal and interwiki links in LinkRenderer, just before the function returns a value. If you return true, an element with HTML attributes $attribs and contents $html will be returned. If you