thanks bryan :)

Salil P A



On Mon, Mar 28, 2011 at 9:40 PM, Bryan Tong Minh
<bryan.tongm...@gmail.com>wrote:

> On Mon, Mar 28, 2011 at 5:39 PM, SALIL P A <salilpa...@gmail.com> wrote:
> >
> > to make the api sandbox really useful, it ideally should have automatic
> php
> > code generation too ( i don't know if it is overambitious ). for example
> for
> > login and logout, user can just give his userid and password and the code
> he
> > would write for php is automatically displayed.
> >
> That would be the best way to go. You really don't want to do this
> manually. Every API modules has a function getFinalParamDescription()
> which will give you the parameter description, including the defaults
> and the variable type. Best look at ApiBase::makeHelpMsgParameters()
> how this is handled by the documentation generator.
>
>
> Bryan
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to