Closed Krinkle closed 1 year ago
It's live! The DB tables aren't visible from Tool Labs, but the API is there:
<Krenair> I don't think the DB cache table is public, but the API should work <legoktm> Pathoschild: https://en.wikipedia.org/w/api.php?action=query&list=querypage&qppage=GadgetUsage it's a bit weird but close enough? <Krenair> yes, querycache exists in prod but is not visible in labs
So there's two ways we could do this:
MediaWiki:Gadget-*.js
page, interpret the *
portion as possible gadget name and also include its usage via the GadgeUsage API.
/cc @he7d3r
This is currently being worked on at https://phabricator.wikimedia.org/T115152.
Once finished, we can query this through the querypage API. Alternatively, https://phabricator.wikimedia.org/T65782 may allow for a way to fetch it from the database in a more performant way.