[02:35:30] hoi -- how would one use the MW REST API to get the pages belonging to a category? trying to get all mobile devices with screens to get (width, height, year) triplets to plot [02:36:18] there's the page https://en.wikipedia.org/wiki/Category:Mobile_phones_by_company so i thought https://en.wikipedia.org/w/rest.php/v1/page/Category:Mobile_phones_by_company would do the trick, but that... only returns vaguely related categories, not the pages themselves [02:39:47] (to cover XY problems -- WD doesn't have sufficient coverage here so a SPARQL query over WD wouldn't work out i fear, i'm trying to get a more representative sample) [02:51:17] figured it out -- curl 'https://en.wikipedia.org/w/api.php?action=query&list=categorymembers&format=json&cmtitle=Category:Mobile_phones_by_company' | jq [02:51:47] i got misled by the "action" part in the MW Action API, thinking it was about active modification whereas the REST would be for passive reading [02:52:16] well, another assumption to check -- apologies for using you all as rubberducks [04:31:45] Quack! 🐣