Page MenuHomePhabricator

Apply language fallbacks in JavaScript-formatted entity ids
Closed, ResolvedPublic


If you enter a new statement and you provide a property without a label in your UI language (via property id), the result does not apply language fallbacks, but shows the linked raw property id with wikibase-label-empty appended. This has to mirror the entity id formatting done in PHP.

Event Timeline

adrianheine claimed this task.
adrianheine raised the priority of this task from to Medium.
adrianheine updated the task description. (Show Details)
Jonas set Security to None.

Note that this is about the property! Steps to reproduce:

  • Switch to a language which has few labels if any at all in your wiki
  • Add a statement
  • Select some property
  • Add a valid value
  • Save

Expected: Property has a nice label with fallback indicator
Reality: Property has an entity id and missing label hint

Change 201182 had a related patch set uploaded (by Adrian Lang):
Use API for formatting in JS

Change 201182 merged by jenkins-bot:
Use API for formatting in JS

hoo removed a project: Patch-For-Review.
hoo moved this task from Review to Done on the Wikidata-Sprint-2015-09-29 board.