Html: Make linkButton() documentation less confusing
authorRoan Kattouw <roan.kattouw@gmail.com>
Wed, 10 Jul 2019 23:02:23 +0000 (16:02 -0700)
committerCatrope <roan@wikimedia.org>
Wed, 10 Jul 2019 23:04:59 +0000 (23:04 +0000)
commit87c096818b056ed6a6cfb9e23080366a51bcc450
tree8983387084bb373e65c3f7d2dba4de6187cbcc55
parent02e9220745bc38b79f3ebc86df9d3b351dfeb042
Html: Make linkButton() documentation less confusing

The documentation for the first parameter said it was both "raw HTML"
and "not escaped", but those phrases have opposite meanings. Clarify that
this parameter takes plain text that will be escaped (so not raw HTML),
and rename the parameter from $contents (typically used to mean HTML) to
$text.

Change-Id: I44d6de08a68c493935b2ceff58fac6c51bc45d12
includes/Html.php