I’m working on an extension that provides an API module and a ResourceLoader module which uses that API module. Currently the module is loaded as a gadget, but we’d like to enable it for all users soon. What’s the best way to add the module to all pages? The extension currently doesn’t see an OutputPage
anywhere.
(Details: the extension is WikibaseQualityConstraints, the gadget is checkConstraints on Wikidata, and the task to enable it by default for everyone is T173695.)