Document expected escaping level for Xml::submitButton()
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 3 Sep 2018 22:17:19 +0000 (15:17 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Mon, 3 Sep 2018 22:17:19 +0000 (15:17 -0700)
Change-Id: I36db99c7f6efc79e52e7fad6cf8b8bad7a6ded37

includes/Xml.php

index 9744aee..d1a56bf 100644 (file)
@@ -454,7 +454,7 @@ class Xml {
        /**
         * Convenience function to build an HTML submit button
         * When $wgUseMediaWikiUIEverywhere is true it will default to a progressive button
-        * @param string $value Label text for the button
+        * @param string $value Label text for the button (unescaped)
         * @param array $attribs Optional custom attributes
         * @return string HTML
         */