From 432d4448a79fb6a1156282791c4f5e5e69ce6fc1 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 12 Jun 2016 18:01:49 +0200 Subject: [PATCH] Fix name of LinkRenderer hooks in docs/hooks.txt Follows I057cc86ae6404a080aa3c8e0e956ecbb10a897d5 Change-Id: Id4126409e179cb1f6d67a8e97281c96fbcfb76ee --- docs/hooks.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1