Author: M8R-udfkkf
Description:
When looking at
http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop
It returns:
You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api />
This is not valid xml.
What it should return is: (as when you look at http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&sipro)
You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
See complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
<query> <general mainpage="Main Page" base="http://en.wikipedia.org/wiki/Main_Page" sitename="Wikipedia" generator="MediaWiki 1.16alpha-wmf" phpversion="5.2.4-2ubuntu5.7wm1" phpsapi="apache2handler" dbtype="mysql" dbversion="5.1.43-wm3193-log" rev="59858" case="first-letter" rights="Creative Commons Attribution-Share Alike 3.0 Unported" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="UTC" timeoffset="0" articlepath="/wiki/$1" scriptpath="/w" script="/w/index.php" variantarticlepath="" server="http://en.wikipedia.org" wikiid="enwiki" /> </query>
</api>
There is a related thread at WP:VPT (http://en.wikipedia.org/wiki/Wikipedia:Vpt#API_version)
Version: unspecified
Severity: minor
URL: http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop