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-continue>
    <allpages gapcontinue="Resource" />
  </query-continue>
  <query>
    <pages>
      <page pageid="43" ns="0" title="Repair">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">Repairing a ship is the act of restoring an amount of Hull to either your [[Ship]], another player's Ship, or a [[Garrison]]. 

Similar to attacking, players can repair every few seconds.

Repairing can be activated by long-pressing a non-hostile, or by selecting any ship and choosing Repair from the menu.

==Repair Amount==
Unlike attacks, Repair is not defined by a range. The amount can be modified by the other attributes:
* [[Critical Chance]]
* Hull Repair Bonus
* [[Critical]] Bonus
* [[Splash]] (Yes, Repair can Splash to repair allies!)

==Repair Cooldown==
Repair Cooldown is the length of time a ship must wait before repairing again. It can be reduced with:
* [[Technician]] [[Special]]
* [[Corporation]] [[Technology]]</rev>
        </revisions>
      </page>
      <page pageid="81" ns="0" title="Research">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">Research is the act of applying resources directly towards upgrading an [[Item]]'s [[Rarity]].  The amount of Research Points needed to upgrade an item is identical to the cost in [[Credits]] of upgrading the item by Engineering.  [[Resources]] can be redeemed for a greater amount of Research Points than the amount for which they can be sold at [[StarPort]]s.
* Organics: 15 Research Points
* Gas: 30 Research Points
* Metal: 45 Research Points
* Radioactives: 60 Research Points
* Dark Matter: 75 Research Points

You can see the number of Research Points required to upgrade an item on the [[Engineering Costs]] page.

Once every minute, a [[Corporation]]'s [[Planet]] will attempt to upgrade an item placed in the Research Panel.  The research will fail if:
* Not enough Research Points have been accumulated to upgrade the item placed in the Research Panel, OR
* No item is placed in the Research Panel

Players can deposit resources to help the Corporation accumulate Research Points at any time, even if no item is placed in the Research Panel.</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>