You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or
API help for more information.
<?xml version="1.0"?>
<api>
<query>
<pages>
<page pageid="6" ns="0" title="Main Page">
<revisions>
<rev user="Bo3b admin" comment="Bo3b admin moved page [[Main Page]] to [[Bo3b's School for Shaderhackers]]: don't want "main page" text" />
</revisions>
</page>
</pages>
<general mainpage="Bo3b's School for Shaderhackers" base="https://wiki.bo3b.net/index.php?title=Bo3b%27s_School_for_Shaderhackers" sitename="Bo3b's School for Shaderhackers" logo="/skins/common/images/Avatar.png" generator="MediaWiki 1.22.6" phpversion="7.4.33" phpsapi="cgi-fcgi" dbtype="mysql" dbversion="8.0.28-0ubuntu0.20.04.3" imagewhitelistenabled="" langconversion="" titleconversion="" linkprefix="" linktrail="/^([a-z]+)(.*)$/sD" case="first-letter" rights="Creative Commons Attribution Non-Commercial Share Alike" lang="en" fallback8bitEncoding="windows-1252" writeapi="" timezone="America/Los_Angeles" timeoffset="-480" articlepath="/index.php?title=$1" scriptpath="" script="/index.php" variantarticlepath="" server="https://wiki.bo3b.net" wikiid="wiki_bo3b_net_2" time="2025-02-16T02:01:18Z" maxuploadsize="104857600">
<fallback />
</general>
</query>
</api>