Page MenuHomePhabricator

Enable developers to access discussion metadata via API
Open, Needs TriagePublic

Description

This task involves the work with extending the existing DiscussionTools API(s) in way(s) that enable developers to access to the discussion metadata Usability Improvements introduces.

Story

  • As someone who is responsible for a bot that helps volunteers track the activity happening withing discussions, I'd value the ability to directly access the activity data DiscussionTools computes/tracks, so that I do not need to duplicate computation that is already being done upstream/elsewhere.

Use Cases

  • Show the following pieces of information about the discussions that have taken place on an arbitrary page, as is done on hu.wiki here:
    • The title of the discussion
    • The date the discussion was started
    • The date of the last edit that was made to the discussion
    • The number of comments within the discussion
    • The size, as measured in bytes, of the discussion

This ticket was inspired by the question @binbot posted at hu.wiki here.

@VirginiaPoundstone and the Platform Team have expressed interest in gaining similar access to the data this ticket is describing as part of the work they are doing to improve https://api.wikimedia.org/wiki/Main_Page .