Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/55465
Change subject: Add to docs that input will be HTML escaped
......................................................................
Add to docs that input will be HTML escaped
Change-Id: Ie90a6bc29f54361ec74cbf54551266b94ce6061f
---
M includes/Xml.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/65/55465/1
diff --git a/includes/Xml.php b/includes/Xml.php
index 57a4fcf..ee19dee 100644
--- a/includes/Xml.php
+++ b/includes/Xml.php
@@ -460,7 +460,7 @@
/**
* Convenience function to build an HTML drop-down list item.
- * @param string $text text for this item
+ * @param string $text text for this item. Will be HTML escaped
* @param string $value form submission value; if empty, use text
* @param $selected boolean: if true, will be the default selected item
* @param array $attribs optional additional HTML attributes
--
To view, visit https://gerrit.wikimedia.org/r/55465
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie90a6bc29f54361ec74cbf54551266b94ce6061f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits