Page MenuHomePhabricator

Add RSS/Atom support to sal tool
Closed, ResolvedPublic

Description

It would be nice to be able to follow a server admin log (e.g. the production one, or the one of a specific tool) using a feed reader, by having https://sal.toolforge.org/ generate RSS and/or Atom versions of the logs. Currently, you can get an RSS feed of the production SAL via the Mastodon account (https://mastodon.social/@wikimedia_sal.rss, cf. T52109), but that’s not available for other logs; or you can get MediaWiki’s Atom feed of the edits on any SAL page, and accept that the content contains a wikitext diff instead of just the new log entry. I don’t think either of these is an ideal solution.

Event Timeline

I offer an initial implementation: https://github.com/bd808/SAL/pull/22

This PR only implements an “unparameterized” log – the 50 latest entries of some SAL. I don’t think the p (page), i (limit?) and d (date) parameters of the normal SAL page make much sense for a feed, but I could imagine q being useful: subscribe to only production SAL entries that mention “page”, for example. If that seems useful, it should be possible to add as well.

bd808 assigned this task to LucasWerkmeister.
bd808 triaged this task as Medium priority.