Last modified: 2014-02-27 16:49:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61235, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59235 - "Jump to: navigation, search" added to clipboard when selecting a title
"Jump to: navigation, search" added to clipboard when selecting a title
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.23.0
All All
: Normal minor (vote)
: 1.23.0 release
Assigned To: Jackmcbarn
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-02 23:34 UTC by Quim Gil
Modified: 2014-02-27 16:49 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Quim Gil 2014-01-02 23:34:14 UTC
1. Go to a regular page e.g. [[mw:Download_from_Git]].
2. Select the text by placing the mouse pointer at the beginning of the title, clicking, and moving the pointer to the line below.
3. Copy and paste elsewhere.

EXPECTED

The text pasted is 

Download from Git

ACTUALLY

The text pasted is

Download from Git
Jump to: navigation, search


Now, at some point I realized that this only happens when you select until the "next line" (which doesn't exist, and therefore the text selection gives no visual clue). If you select from left to right only then you can copy&paste the title cleanly.

I guess there is an invisible element somewhere? Anyway, a minor problem but annoying until you figure out what is going on.
Comment 1 Bartosz Dziewoński 2014-01-02 23:54:29 UTC
"Jump to" links should probably have 'user-select: none' set, like .mw-editsection and some other stuff.
Comment 2 Gerrit Notification Bot 2014-01-03 02:07:07 UTC
Change 105133 had a related patch set uploaded by Jackmcbarn:
Prevent selection of "Jump to" text

https://gerrit.wikimedia.org/r/105133
Comment 3 Bartosz Dziewoński 2014-01-03 13:33:22 UTC
Jack's patch should fix the issue for all major browsers.
Comment 4 Gerrit Notification Bot 2014-01-03 13:36:22 UTC
Change 105133 merged by jenkins-bot:
Prevent selection of "Jump to" text

https://gerrit.wikimedia.org/r/105133
Comment 5 Quim Gil 2014-01-04 00:34:02 UTC
I just want to say thank you for the quickest fix to a MediaWiki Core bug report I have ever filed!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links