User:SPage (WMF)/APIExTest

ApiEx
Now that I've merged [try in ApiSandbox] support in this diff, these should work

Damn &lt;translate&gt; tags in result!!

sandbox disabled
The above should not show the link because  (should it be  ) to disable?

TNT breaks it!
Now try it with the mysterious TNT in front. From Extension:PageImages:

Sample request:

Try sandbox=1 param with TNT
This is the default, but force it anyway. Sample request:

what is the mystery ApiEx/Post ?
and now with post

}}
 * desc=Expand wikitext
 * p1=action=expandtemplates
 * p2=text=%7B%7BProject:Sandbox%7D%7D
 * post=, what is this
 * result=

ApiEx local tests
Originally these were using User:SPage (WMF)/ApiEx, my mod of ApiEx to add "[try in Sandbox]

See API:Page info in search results, it's using it.

Default
The above should have View in Sandbox

sandbox disabled
The above should not show the link because  (should it be  ) to disable?

another
From API:Page info in search results

# in API query?
(can't)

& in query
alone doesn't work in the api.php link, what about  (URL-encoded value?): }

Bug: %26 works in the api.php request, but it's re-de-un-encoded to & in the Special:ApiSandbox URL fragment, and so doesn't work.