Page MenuHomePhabricator

When writing a language code in the site if another site starts with the same name and it is before in the list it is overriden
Open, LowPublic

Description

When I try to link a Wikipedia item to a Wikidata element I usually add the language code (es) and click the TAB key to go to the next field and as ordering the sites alphabetically in Spanish "esperanto" (eo) goes first when going to the next field with TAB the es changes automatically to eo.

Is it possible to change this behavior and if in the input field we input a language code this value is kept even if another site goes first alphabetically?

Event Timeline

Agabi10 created this task.Oct 31 2015, 12:13 AM
Agabi10 raised the priority of this task from to Low.
Agabi10 updated the task description. (Show Details)
Agabi10 added a project: Wikidata.
Agabi10 added a subscriber: Agabi10.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 31 2015, 12:13 AM
Agabi10 updated the task description. (Show Details)Oct 31 2015, 12:18 AM
Agabi10 set Security to None.

@Lydia_Pintscher this still happens at least in https://test.wikidata.org. The process I followed to test it:

  1. Go to a random page of test Wikidata.
  2. In the Wikipedia link section press the edit button.
  3. Click the "wiki" input field.
  4. Type "es"
  5. Press Tab in the keyboard to go to the field of the page title
  6. See how the "es" I typed has been replaced with "eo".
Lydia_Pintscher moved this task from incoming to ready to go on the Wikidata board.

Thank you!