Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -1040,7 +1040,7 @@ |
1041 | 1041 | expected meanings of parameters. |
1042 | 1042 | $skin: the Skin object |
1043 | 1043 | $target: the Title that the link is pointing to |
1044 | | -&$text: the contents that the <a> tag should have (raw HTML); null means "de- |
| 1044 | +&$html: the contents that the <a> tag should have (raw HTML); null means "de- |
1045 | 1045 | fault" |
1046 | 1046 | &$customAttribs: the HTML attributes that the <a> tag should have, in associa- |
1047 | 1047 | tive array form, with keys and values unescaped. Should be merged with de- |
— | — | @@ -1052,13 +1052,13 @@ |
1053 | 1053 | |
1054 | 1054 | 'LinkEnd': Used when generating internal and interwiki links in Linker::link(), |
1055 | 1055 | just before the function returns a value. If you return true, an <a> element |
1056 | | -with HTML attributes $attribs and contents $text will be returned. If you re- |
| 1056 | +with HTML attributes $attribs and contents $html will be returned. If you re- |
1057 | 1057 | turn false, $ret will be returned. |
1058 | 1058 | $skin: the Skin object |
1059 | 1059 | $target: the Title object that the link is pointing to |
1060 | 1060 | $options: the options. Will always include either 'known' or 'broken', and may |
1061 | 1061 | include 'noclasses'. |
1062 | | -&$text: the final (raw HTML) contents of the <a> tag, after processing. |
| 1062 | +&$html: the final (raw HTML) contents of the <a> tag, after processing. |
1063 | 1063 | &$attribs: the final HTML attributes of the <a> tag, after processing, in asso- |
1064 | 1064 | ciative array form. |
1065 | 1065 | &$ret: the value to return if your hook returns false. |