Page MenuHomePhabricator

Warn contributors before they discard a draft
Closed, ResolvedPublic

Description

Done

  • After clicking "Cancel," contributors should be warned before their comment is discarded (assuming they have already entered some text into the reply text input)

Event Timeline

Change 556210 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/DiscussionTools@master] Prompt users when pressing 'cancel' with content in the widget

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

These are the default messages for AbandonEdit, which we can override:

image.png (162×311 px, 18 KB)

Note that we will eventually have at least three "modes":

  • Replying
  • New topics
  • Editing replies

So we may want to keep the language fairly generic to support all these.

These are the default messages for AbandonEdit, which we can override:

image.png (162×311 px, 18 KB)

Note that we will eventually have at least three "modes":

  • Replying
  • New topics
  • Editing replies

So we may want to keep the language fairly generic to support all these.

Are we able to have the language be more discussion-specific? E.g. something like, "Are you sure? / Are you sure you want to discard your draft?"

Thinking
Having the interface contain more discussion-specific language and actions will lead Junior Contributors to understand talk pages as places to communicate with other contributors.

Rationale
In the most recent user test we ran, one contributor, "...did not edit using the "edit" button, but instead used the "create new section" tab." This contributor went on to say, "It was hard to find an actual reply button so the only option was to create a new subject and tag the user or edit his subject with my answer."

I wonder if the above could be considered evidence to support this idea that repurposing language and actions from the article-editing is confusing to contributors who are not familiar with talk pages.


...@iamjessklein, how do you think talk page feedback messages ought to read?

Change 556210 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Prompt users when pressing 'cancel' with content in the widget

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

Are we able to have the language be more discussion-specific? E.g. something like, "Are you sure? / Are you sure you want to discard your draft?"

Per the conversation Ed and I had on 9-December, we are not going to modify the content of these messages at this time.

We can use this ticket to consider the idea of revising the dialogs that appear on talk pages to include more "discussion-specific language": T241403

ppelberg claimed this task.