r76168 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76167‎ | r76168 | r76169 >
Date:23:48, 5 November 2010
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed comment (copy paste mistake)
Modified paths:
  • /trunk/extensions/HtmlUi/classes/HtmlUiTemplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/HtmlUi/classes/HtmlUiTemplate.php
@@ -86,7 +86,9 @@
8787 * should have never had any escapable characters in them anyways) and values are assumed to be
8888 * escaped already (since data given to the template is escaped by default).
8989 *
90 - * @param $data Mixed: Data to unescape, either a string or array of strings
 90+ * @param $data Mixed: Data to make into attributes, string or array of strings or an array of
 91+ * attribute/value pairs where a value can either be a string or an array and will be
 92+ * imploded with a space delimiter.
9193 * @return String: XML-style attributes
9294 */
9395 public static function attributes( $data ) {

Status & tagging log