Page MenuHomePhabricator

Expunge old AFTv5 log entries on WMF wikis
Open, LowPublic

Description

Because AFTv5 is uninstalled, old feedback log entries are meaningless. From here:

12:55, 5 November 2013 Liamdavies (talk | contribs) protect

Aside from the fact that they don't display properly, these entries don't convey any useful information any longer. The log entries would still be available in old database dumps, so they should just be purged from the DB. A maintenance script would have to be written.

Event Timeline

TTO raised the priority of this task from to Low.
TTO updated the task description. (Show Details)
TTO added a project: WikimediaMessages.
TTO added subscribers: TTO, Krenair, Aklapper and 8 others.

There's an alternative bug about just removing all the AFTv5 log entries I think...

Hm, that could work as well :)

There's an alternative bug about just removing all the AFTv5 log entries I think...

T64722: Log entries generated by extensions that are later removed should still show title

That's not it. @Legoktm I couldn't find such a bug - if you think it makes more sense we could repurpose this into a bug to expunge the AFTv5 log entries altogether.

MarcoAurelio subscribed.

I went to the log linked in the description and used the qqq hack to see which messages were needed, but nothing appeared. I think this is more complicated than simply adding some messages to WikimediaMessages?

Log entries and qqq qqx apparently don't get on well together, but I remember playing around on a local MediaWiki installation, and I managed to get the log entries formatted just by adding strings to my i18n file.

But personally, I'd be in favour of expunging the AFT log entries altogether. I don't think they serve any good purpose any more.

TTO renamed this task from Provide a log formatter for old AFTv5 log entries on WMF wikis to Expunge old AFTv5 log entries on WMF wikis.Aug 12 2016, 9:47 AM
TTO updated the task description. (Show Details)

I boldly repurposed this task in view of the comments above, and my own change of opinion.

jcrespo subscribed.

Happy to help, specially if you need a handy backup first.

LSobanski subscribed.

Removing the DBA tag and subscribing myself instead. Once there are specific actions for DBA please re-add us and/or @mention me.

This has come up again at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Broken_log_page?

6 years later, I'm not really a fan of deleting these, generally we don't like to delete stuff out of the database and I don't know what would happen if there are references to those log_ids in other tables, like change_tag or notifications or ...

Given this was only enabled on 3 real wikis (per https://dumps.wikimedia.org/other/aft_feedback/20200506/), I think we could just add the message overrides locally on each wiki and move on.

I've submitted https://gerrit.wikimedia.org/r/746005 to resolve T64722, which could make this task unnecessary. With the change, the log entry would look like:

12:55, 5 November 2013 Liamdavies (talk | contribs) performed action "articlefeedbackv5/protect" on page E-class Melbourne tram

This does convey useful information unlike the current log entry and I believe it's useful enough to keep in the log.