From 07707003688f2abfc66f9bf3c454bbf636eab4ab Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Mon, 9 May 2011 02:55:17 +0000 Subject: [PATCH] Followup r87668, update hooks.txt --- docs/hooks.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index d93bb6ad07..2ad7428923 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1040,7 +1040,7 @@ sing and return $ret. See documentation for Linker::link() for details on the expected meanings of parameters. $skin: the Skin object $target: the Title that the link is pointing to -&$text: the contents that the tag should have (raw HTML); null means "de- +&$html: the contents that the tag should have (raw HTML); null means "de- fault" &$customAttribs: the HTML attributes that the tag should have, in associa- tive array form, with keys and values unescaped. Should be merged with de- @@ -1052,13 +1052,13 @@ $target: the Title that the link is pointing to 'LinkEnd': Used when generating internal and interwiki links in Linker::link(), just before the function returns a value. If you return true, an element -with HTML attributes $attribs and contents $text will be returned. If you re- +with HTML attributes $attribs and contents $html will be returned. If you re- turn false, $ret will be returned. $skin: the Skin object $target: the Title object that the link is pointing to $options: the options. Will always include either 'known' or 'broken', and may include 'noclasses'. -&$text: the final (raw HTML) contents of the tag, after processing. +&$html: the final (raw HTML) contents of the tag, after processing. &$attribs: the final HTML attributes of the tag, after processing, in asso- ciative array form. &$ret: the value to return if your hook returns false. -- 2.20.1