In T402822: [SPIKE] How can we use DiscussionTools to retrieve the most active discussions on certain noticeboards? [8H], we investigated the feasibility of creating a feed of the most recently commented discussions from 2-5 different Wikipedia namespace pages. To achieve this, we would need to call the discussiontoolspageinfo API to parse and recursively go through every reply to count editors, comments, and determine the latest comment date.
This could be a performance bottleneck if there are many discussions per page with many replies. However, this information is already being calculated when DiscussionTools parses the page. If this information can be surfaced in an API call, it would make it easier for the Moderator Tools team to sort and filter the relevant discussions we want to surface in a dashboard module.