dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e6386
)
Add a @fixme comment on FormatJson::encode(); the '$isHtml' parameter's purpose and...
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 5 Feb 2011 21:06:44 +0000
(21:06 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 5 Feb 2011 21:06:44 +0000
(21:06 +0000)
includes/json/FormatJson.php
patch
|
blob
|
history
diff --git
a/includes/json/FormatJson.php
b/includes/json/FormatJson.php
index
57ab165
..
1265314
100644
(file)
--- a/
includes/json/FormatJson.php
+++ b/
includes/json/FormatJson.php
@@
-16,6
+16,11
@@
class FormatJson {
*
* @param $value Mixed: the value being encoded. Can be any type except a resource.
* @param $isHtml Boolean
+ *
+ * @fixme "$isHtml" parameter's purpose is not documented. It appears to
+ * map to a parameter labeled "pretty-print output with indents and
+ * newlines" in Services_JSON::encode(), which has no string relation
+ * to HTML output.
*
* @return string
*/