For example:
"mainpage" field is omitted when querying Barack Obama
<https://en.wikipedia.org/wiki/Special:ApiSandbox#action=mobileview&format=json&page=Barack_Obama&prop=pageprops&pageprops=mainpage>
:
{
"mobileview": {
"pageprops": [],
"sections": []
}
}
But, it's present when querying Main Page
<https://en.wikipedia.org/wiki/Special:ApiSandbox#action=mobileview&format=json&page=Main_Page&prop=pageprops&pageprops=mainpage>
:
{
"mobileview": {
"pageprops": [],
"mainpage": "",
"sections": [ ... ]
}
}
Is this the desired behavior?
--
EN Wikipedia user page:
https://en.wikipedia.org/wiki/User:Brian.gerstle
IRC: bgerstle