From: Daniel Friesen Date: Mon, 9 May 2011 02:55:17 +0000 (+0000) Subject: Followup r87668, update hooks.txt X-Git-Tag: 1.31.0-rc.0~30320 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=07707003688f2abfc66f9bf3c454bbf636eab4ab;p=lhc%2Fweb%2Fwiklou.git Followup r87668, update hooks.txt --- 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.