Page MenuHomePhabricator

Allow undeleting events
Closed, DuplicatePublicFeature

Description

Feature summary (what you would like to be able to do and where):

It should be possible to undelete an event, if it is accidentally deleted.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

Over on Meta-Wiki, I accidentally marked https://meta.wikimedia.org/w/index.php?title=Event:Editat%C3%B3n_sobre_Financiamiento_clim%C3%A1tico for translation without setting the page language properly. I figured the easiest way to clean up after that mistake was to tell Translate to delete the page (to clean up any traces it left behind), undelete it, set the language correctly, and then re-mark it for translation.

The result of that was that CampaignEvents deleted its records of the event, which seems to be an irreversible action (the event is still kept in the database, but there's no way on-wiki to undelete it), and on top of that I was not warned at all that I was performing an irreversible action (as opposed to standard MediaWiki page deletion, which is reversible)

Benefits (why should this be implemented?):

Avoids creating a footgun - the ability to do things that can't be undone is strongly contrary to the wiki way and downright scary IMO, especially with no warning.

Event Timeline

I agree with all that you said. This feature is tracked in T318412, and while that's not in our plans for the immediate future, it is still valid and I believe we'll reconsider it at some point.

Luckily I seem to have been the only person in the entire history of meta-wiki to try to undelete an event, so the impact is not as bad as it could be.