Last modified: 2014-06-12 05:53:32 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 T54634, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52634 - VisualEditor: Links can point to wrong page if not matching case exactly and when not first option in the list
VisualEditor: Links can point to wrong page if not matching case exactly and ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Low normal
: VE-deploy-2014-06-12
Assigned To: Trevor Parscal
:
Depends on:
Blocks: ve-linkediting
  Show dependency treegraph
 
Reported: 2013-08-08 06:31 UTC by Sandrobt
Modified: 2014-06-12 05:53 UTC (History)
7 users (show)

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


Attachments

Description Sandrobt 2013-08-08 06:31:41 UTC
Here is how to reproduce it, when trying to add a link to the page "Maria" on en.wiki.

1) Select the add link icon and type "maria"
2) Select "Maria", which is at the end of the suggested list
3) Press Enter or the "<" button
4) Save

The link is added to Mariah Carey (which was on the top of the suggested list).
Cf. https://en.wikipedia.org/w/index.php?title=User:Sandrobt/prova&diff=prev&oldid=567641122

Note that this doesn't happen if in 2) you had typed "Maria" (which is the exact title of the page you want to link to).
Cf. https://en.wikipedia.org/w/index.php?title=User:Sandrobt/prova&diff=next&oldid=567641169

The same problem appears in similar situations in it.wiki (for example when adding a link to "Sega" you need to type it exactly like that, since the first option is always SEGA) 

I'm using Firefox 22.0 on Mac OS X 10.6.8.
Comment 1 Andre Klapper 2013-08-08 07:04:40 UTC
[resetting severity, see http://www.mediawiki.org/wiki/Bugzilla/Fields#Severity ]
Comment 2 Sandrobt 2013-08-08 07:09:50 UTC
Ok, note taken. Though, a bug that inserts the wrong link in a pretty large variety of situation, despite selecting the correct one and without giving any clue of having done so, is a pretty seriuos problem and has probably alredy produced quite a lot of wrong wikilinks.
Comment 3 Chris McKenna 2013-09-05 23:42:30 UTC
This happens in every case where:
* the input text case INsensitively matches an entry >= 2nd in the list, AND
* the input text case sensitively does NOT match the title of any in the list, AND
* the user selects the case insensitive match

It doesn't matter whether the text was entered in the link dialog or selected on the editing surface.
Comment 4 James Forrester 2013-09-09 22:41:10 UTC
In fixing bug 50452 we have changed the behaviour slightly regarding this - not sure if it's still necessary to keep this open?

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


Navigation
Links