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: wikibugs-l@lists.wikimedia.org Reporter: jay...@gmail.com CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com, roan.katt...@gmail.com, s...@reedyboy.net 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l