| Smalyshev added a comment. |
I was under the impression that MWAPI sends the query basically unmodified
No, it uses the template, which is documented at https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Individual_service_configuration and https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/mwapi.json
You can send the query "unmodified", because there's no initial query to "unmodify" - the query is assembled from template and additional parameters.
When I specify &ppprop=page_image_free, then wikibase_item is missing.
Of course, because you didn't specify it. If you want both, you need to specify both.
TASK DETAIL
EMAIL PREFERENCES
To: Smalyshev
Cc: Lucas_Werkmeister_WMDE, Smalyshev, Aklapper, Wikidata-bugs, Luitzen, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, Jonas, Xmlizer, jkroll, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Cc: Lucas_Werkmeister_WMDE, Smalyshev, Aklapper, Wikidata-bugs, Luitzen, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, Jonas, Xmlizer, jkroll, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
