title: mediawiki api action=parse returns different data on mobile
body: <p>When using the mediawiki api</p>
  <p><code>/api.php?action=parse&amp;redirects=true&amp;format=json&amp;prop=text</code></p>
  <p>I spotted that I get a different response depending on if the api is run from a mobile browser or not.</p>
  <p>As an example consider</p>
  <p><code>https://starwars.fandom.com/api.php?page=test&amp;action=parse&amp;redirects=true&amp;format=json&amp;prop=text</code></p>
  <p>(This is a small example page, on bigger pages there are more differences, usually around images, that sometimes are missing).</p>
  <p>After some investigation, I spotted that it depends on the <code>user-agent</code> header, but I need to be able to run the api in js, as a CORS request, so as far as I know I can't fake the <code>user-agent</code>.</p>
  <p>Is there any parameter for the api, to make it return the desktop format, regardless of the <code>user-agent</code>? Or a different api?</p>
  <p>In the <a href="https://www.mediawiki.org/wiki/API:Parsing_wikitext" rel="nofollow noreferrer">documentation</a>, I haven't seen any obvious one,
  there is only <code>mobileformat</code> parameter (that does the opposite)
  and fun fact <code>mobileformat</code> returns something different from the response with a mobile <code>user-agent</code>.</p>