Empty lists as output from many modules are shown as null rather than as an empty tag.
Reported at http://lists.wikimedia.org/pipermail/wikitech-l/2009-February/041534.html
Test case: http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rcend=0
Expected XML:
<api>
<query> <recentchanges /> </query>
</api>
Expected JSON:
{
"query": {
"recentchanges": [ ]
}
}
Actual XML:
<api>
<query recentchanges="" />
</api>
Actual JSON:
{
"query": {
"recentchanges": null
}
}
Version: 1.15.x
Severity: enhancement