As part of FY 2026-27 DE1.3.2 Impact + Dashboard, we will need to download data from the Wikimedia Analytics API from an extension, similar to what PageViewInfo does. However, our need for data will be broader than just pageview info. Within this task, we should experiment with various options to do that and decide on the one we will use going forward.
Options to consider (list is not guaranteed to be complete):
- Direct CURL from the ImpactModule extension: We can communicate with the API directly, self-implementing the interface and "PHP objects to JSON" conversion. This is what PageViewInfo does currently.
- Centralise the logic somewhere(TM): We can designate a central extension that would communicate with Wikimedia Analytics API and that would then be used both by PageViewInfo and by the future ImpactModule extension.
Acceptance Criteria
- Pros and cons were considered of the options in the description
- A decision was made on what option is best