Page MenuHomePhabricator

Parse edit summaries to improve their display in the Recent Changes module
Closed, ResolvedPublic5 Estimated Story Points

Description

Currently, in the Recent Activity module, we're using the unmodified edit summary text without parsing the wikitext at all. That leads to edit summaries which contain wikitext being harder to parse:

Screenshot 2026-01-20 at 15.16.57.png (384×1 px, 61 KB)

In this example it's not particularly helpful to know that 'The Guardian' text is linked, or which page it points to, and we'd like to avoid additional links inside the edit row in this module, as this could lead to a messy set of links close to each other. Our intention is for users to click through to the edit if they want to learn more about it.

We could be parsing the wikitext, and then stripping any formatting before displaying it here. In this example, we'd like to show

Bot: The Guardian citation — added issn parameter ...

With 'The Guardian' not being hyperlinked.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Scardenasmolinar changed the task status from Open to In Progress.Wed, Jan 21, 7:12 PM
Scardenasmolinar claimed this task.
Scardenasmolinar moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.

Change #1231220 had a related patch set uploaded (by Scardenasmolinar; author: Scardenasmolinar):

[mediawiki/extensions/PersonalDashboard@master] Parse edit summaries in the Recent Changes module

https://gerrit.wikimedia.org/r/1231220

Change #1231220 merged by jenkins-bot:

[mediawiki/extensions/PersonalDashboard@master] Parse edit summaries in the Recent Changes module

https://gerrit.wikimedia.org/r/1231220

jsn.sherman moved this task from QA to Done on the Moderator-Tools-Team (Kanban) board.
jsn.sherman subscribed.

verified on testwiki