Topic on Talk:Talk pages project/New topic/Flow

Recovering unsaved changes

11
Summary by PPelberg (WMF)

T269388: Consider behavior of Reply Tool and New Discussion Tool on history/diff pages

Theleekycauldron (talkcontribs)

Is there any way to disable this feature when I'm viewing an oldlink or diff? There's rarely a good reason to write a comment on an old revision (overwriting the new revisions), and it also scrolls me away from where I want to look most of the time. Theleekycauldron (talk) 16:40, 8 September 2023 (UTC)

Tacsipacsi (talkcontribs)

There's rarely a good reason to write a comment on an old revision (overwriting the new revisions)

As far as I know, DiscussionTools never overwrites new revisions – even if you write a comment on an older revision, it tries to insert in the newest revision, and doesn’t let you post the comment if it’s unable to do so (which may happen when replying, but not when creating new topics, as “add to the bottom” always works). I don’t say that auto-restore on old revisions is a good thing, but at least it won’t destroy the page history.

Whatamidoing (WMF) (talkcontribs)

I am often reading long pages in diff mode, and I particularly appreciate being able to post a Reply without having to leave the diff page.

Theleekycauldron (talkcontribs)

Sure, but recovering unsaved changes for a comment written for a different diff? That just seems like a headache.

Whatamidoing (WMF) (talkcontribs)

When I still have the other comment open in another tab, yes, it's a bit of a hassle. But I'd rather have that hassle (a few times a month, in my case) than to not be able to reply until I reload the whole page (i.e., on the order of 100 times a month).

Theleekycauldron (talkcontribs)

can we enable replies on diff pages but not recover in-progress ones?

Whatamidoing (WMF) (talkcontribs)

I don't know if it's realistically possible to detect that state. Probably @ESanders (WMF) would have an idea about that.

ESanders (WMF) (talkcontribs)

It might be possible to do this technically, but (1) this seems quite rare and (2) someone will then complain that it didn't recover their message if we change it. And then someone will ask to just make it a user preference...

Theleekycauldron (talkcontribs)

It happens whenever I'm writing a comment on a page and need to check through that page's history for a diff to bring up. It doesn't seem insubstantial?

Whatamidoing (WMF) (talkcontribs)
Theleekycauldron (talkcontribs)

Oh, I've wanted that forever! :D thank you very much