WMDE-leszek added a comment.
Works as expected, thank you! I've discovered two glitches to (possibly) follow up on: 1. `item-not-found` case's error message could use a colon. Was missing from the BDD desccription (was included in the OpenAPI specification however!) so not blocking this. Fixed in: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/773552 2. Potentially it would be intended to have a consistent `code` and `message` keys also used in the errors when no ID is provided, which is currently caught by the mediawiki rest api "framework". This has not be covered in the specification, so again, not a problem to consider this done. For example see: https://wikidata.beta.wmflabs.org/w/rest.php/wikibase/v0/entities/items/. I will create a dedicated task for it if I find it a necessary change. TASK DETAIL https://phabricator.wikimedia.org/T302065 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: WMDE-leszek Cc: Jakob_WMDE, Silvan_WMDE, Ollie.Shotton_WMDE, WMDE-leszek, Aklapper, Fernandobacasegua34, Astuthiodit_1, 786, Suran38, Biggs657, karapayneWMDE, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
