Page MenuHomePhabricator

Template:ApiEx on mw.org should have a link to "[view in ApiSandbox]".
Closed, ResolvedPublic

Description

We use {{ApiEx}} to present api.php API examples. The template output should have a [try in ApiSandbox] link to Special:ApiSandbox, preloading it with the same parameters.

Same idea as T89229: API Help should generate [try in ApiSandbox] link to Special:ApiSandbox#action=params from getExamples()

Event Timeline

Spage raised the priority of this task from to Medium.
Spage updated the task description. (Show Details)
Spage added a project: Web-APIs-Hub.
Spage added subscribers: Spage, Qgil, Anomie, Aklapper.

Still worth doing. Needs another paramer to {{ApiEx}}, showSandbox ,defaulted to 0 or 1 depending on how reliable this turns out to be.

Spage raised the priority of this task from Medium to High.Mar 19 2015, 11:56 PM

I implemented [try in Sandbox] in a mod of {{ApiEx}}, and Page info in search results uses it. Feedback welcome!

No feedback yet, I'll get it merged in April.

Spage updated the task description. (Show Details)