User "SColombo" posted a comment on MediaWiki.r98191.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98191#c23270
Commit summary:

Adding ApiExplorer extension which uses the API to dynamically generate API 
documentation on Special:ApiExplorer.  Depends on the JavascriptAPI extension 
(currently in Wikia codebase). Would be nice to make this extension able to be 
aware of the examples that api.php submits & even to let it submit the examples.

Comment:

I talked to MaxSem (who wrote ApiSandbox) and checked out the code just a bit.  
Unfortunately, I think the potential for code-reuse is fairly low since we 
approached it differently.  ApiSandbox builds forms server-side to submit 
requests, while ApiExplorer uses introspection from the API (some of which is 
new) to build out the documentation (and hopefully to later use example urls 
for requests).

It's kind of a bummer that the approaches aren't very compatible with each 
other.

Thanks for the tip though :)

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to