Page MenuHomePhabricator

Double-click on edit box of new LiquidThread discussion edits the discussion page header
Closed, DeclinedPublic

Description

Author: rui.hamilton.abreu

Description:

  1. Go to preferences, mark option "edit pages on a double-click (javascript)" and then save.
  2. Start a *new* discussion in LiquidThreads, and write a couple of words.
  3. Preview the edit, then select any one of the words in the edit box, by double-clicking it.

RESULT: The double-click starts an edit of the discussion page header and looses all info about the message that was being created. Same happens if you click anywhere else on the page, not just the edit box.

This tends to be particularly upsetting for two reasons:

  • I have lost hours of work already because of this. One does a few changes and page previews, say spending 30 minutes overall, then double-clicks anything on the page and all that work is simply gone.
  • Double-clicking is standard interface interaction for selecting an entire word on the screen. So people double-click often and for many reasons, not necessarily related to the MediaWiki preference.

This problem doesn't occur when *replying* to a LiquidThread discussion, only when *creating* a new discussion.


Version: unspecified
Severity: enhancement

Details

Reference
bz24240

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:11 PM
bzimport set Reference to bz24240.
bzimport added a subscriber: Unknown Object (MLST).

Should probably just kill this preference.

rui.hamilton.abreu wrote:

Hi Andrew, not sure what exactly you mean, but the preference has been in MediaWiki for years, it's very handy, and I'm sure many are quite used to it. My knowledge of mw code is null, but I was hoping that maybe when creating a new discussion the double-click feature could be turned off (or not responded to) in exactly the same way that it already is when replying to a discussion.

Tested at https://test2.wikipedia.org/wiki/User_talk:Qgil#Testing_bug_24240_48 and I couldn't reproduce it. Creating a new thread and double-clicking words in the edit area would simply select them.

Resolving as WORKSFORME. Please reopen if you can still replicate this bug.