* (bug 31878, bug 31542) Fix XML namespace output in API; removed now-unneeded includ...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 3 Nov 2011 23:14:58 +0000 (23:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 3 Nov 2011 23:14:58 +0000 (23:14 +0000)
commitabb23bb7b9ae8cb77b0d579b8f054ce3a48d4f2f
treed64cb7a5e019152ce93853543b4399081c21af70
parent2af42298c1b31039abac5633467c08fc609c723b
* (bug 31878, bug 31542) Fix XML namespace output in API; removed now-unneeded includexmlnamespace parameter.

Any existing uses of includexmlnamespace should be ignored and harmless.

If output data already includes a specific default namespace as an xmlns attribute, it is now retained -- so for example the RSD API discovery module outputs the appropriate namespace instead of the generic API one.

Partial revert of r99135 which added the includexmlnamespace parameter as a temporary requirement to get the xmlns attribute included.

Followup to r88007 which added the xmlns originally, but in the wrong order so it overrode existing output data.
includes/api/ApiFormatXml.php