https://bugzilla.wikimedia.org/show_bug.cgi?id=65031
Bug ID: 65031
Summary: API exportnowrap does not include XML prolog
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Using API query with format=xml , a XML prolog is included in the results.
When 'export' is enabled in the request, a XML prolog is included in the
results.
However if 'exportnowrap' is then enabled, the XML prolog is omitted.
While the HTTP headers include the right information:
Content-Type:text/xml; charset=utf-8
I think it is worth including the XML prolog to be consistent with other API
calls that return XML.
Bug 11959 is about a similar problem when using the front end Special:Export ,
which was wontfixed.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l