Page MenuHomePhabricator

Analytics API documentation standardization
Closed, ResolvedPublic

Description

This task captures work required to bring the Analytics API documentation into alignment with the standard documentation patterns defined as part of FY25/26 API and documentation strategy. It excludes work related to OpenAPI-based reference documentation, which is tracked separately (see parent and related tasks).

Baseline metrics and other content analysis details for this API doc collection are at: https://www.mediawiki.org/wiki/Wikimedia_Technical_Documentation_Team/API_documentation_strategy/Gaps#Analytics_API

IA requirements:

  • The API landing page supports navigation to each of the types of content required by the guidelines.
    • When missing contact info content is added, the landing page can easily support nav to it.
  • The sequencing of information in the navigation menu follows the sequence outlined in the guidelines.
  • Each content page (including sandbox/explorer UI) supports navigation back to the API's landing page.

Content requirements:

  • The API doc collection has a landing page that includes each piece of content specified in the guidelines.
    • Contact info. (Fixed - Added on a new page)
    • The contributing guide only links to the repo, but the README there doesn't contain these instructions. (Fixed: Instructions linked from the README)
  • The API overview section or page covers the minimum required content.
  • The API doc collection includes a quick start tutorial.
  • The API doc collection includes an authentication how-to guide.
    • N/A: this API doesn't seem to require authentication
  • The API doc collection includes recipes or real-world examples for common tasks
  • The API doc collection includes a changelog.
    • Changelog hasn't been updated since 2024-07-17. From a quick survey of the analytics-l mailing list, it appears that at least this update would impact Devices and thus be a relevant update to include per the maintainer guidelines. (Confirmed - no changes need to be added to the changelog)
    • Changelog doesn't follow the changelog style guide. (Fixed - Reformatted the changelog)
  • The API's documentation content follows the Wikimedia documentation style guide.

Summary of changes:

  • Update README to link to additional information
  • Add a Getting help page with contact info
  • Update Changelog to match the style guide
  • Make other changes necessary for site maintenance (not covered by this task, details in merge request)

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Update documentationrepos/generated-data-platform/aqs/analytics-api!44kbachupdate-documentationmain
Customize query in GitLab

Event Timeline

KBach changed the task status from Open to In Progress.Oct 6 2025, 1:05 PM
KBach claimed this task.
KBach triaged this task as Medium priority.

All the changes necessary to bring Analytics API docs into alignment with standard documentation patterns have been applied and are ready for review in this merge request on GitLab (alongside a few technical updates to documentation dependencies).

These changes are now live and this task is done.

KBach moved this task from In progress to Done on the Tech-Docs-Team board.