Lucas_Werkmeister_WMDE added a comment.
In T223773#5195439 <https://phabricator.wikimedia.org/T223773#5195439>, @MartinPoulter wrote: > In T223773#5195422 <https://phabricator.wikimedia.org/T223773#5195422>, @Smalyshev wrote: > > > As for the second one, it's unfortunately a limitation of the current API - only one result per page (<page> tag in generator) can be returned. In general, only one result per XPath match - i.e. if XPath matches more than one thing per page it won't work. > > > I don't understand- it's possible to get multiple results through this interface: as many as 92 in this example. Yes – with `ellimit=1`, there will only be one `<page>` and one `<el>` per API result. The 92 overall results you’re seeing are the results of 92 separate API requests, thanks to continuation. Of course, this is massively slower than a single API request returning all 92 results :/ TASK DETAIL https://phabricator.wikimedia.org/T223773 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Smalyshev, Aklapper, MartinPoulter, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs