Hi David,
Thanks for raising that issue.
The API call for the search suggestions was basically copied from that of the
mobile web search:
action=query&
format=json&
generator=prefixsearch&
prop=pageprops%7Cpageprops%7Cpageimages%7Cpageterms&
redirects=&
list=prefixsearch&
ppprop=displaytitle&
piprop=thumbnail&
pithumbsize=80&
pilimit=15&
wbptterms=description&
gpssearch=cake&
gpsnamespace=0&
gpslimit=15&
pssearch=cake&
pslimit=15
But your right, for our purposed the 'list' is unnecessary and can be omitting, like below:
action=query&
format=json&
generator=prefixsearch&
prop=pageprops%7Cpageprops%7Cpageimages%7Cpageterms&
redirects=&
ppprop=displaytitle&
piprop=thumbnail&
pithumbsize=80&
pilimit=15&
wbptterms=description&
gpssearch=cake&
gpsnamespace=0&
gpslimit=15&
I've created a phab ticket for this issue, it will be resolved shortly :)
Thanks,
- Jan