Feel free to reopen the declined bug:
https://phabricator.wikimedia.org/T15299
I've always supported making our API more intuitive, but every bug I file
about it gets declined :(
On Thu, May 28, 2015 at 2:58 PM, Brian Gerstle <bgerstle(a)wikimedia.org>
wrote:
For example:
"mainpage" field is omitted when querying Barack Obama
<
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=mobileview&form…
:
{
"mobileview": {
"pageprops": [],
"sections": []
}
}
But, it's present when querying Main Page
<
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=mobileview&form…
:
> {
> "mobileview": {
> "pageprops": [],
> "mainpage": "",
> "sections": [ ... ]
}
}
Is this the desired behavior?
--
EN Wikipedia user page:
https://en.wikipedia.org/wiki/User:Brian.gerstle
IRC: bgerstle
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l