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.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Use API for formatting in JS | mediawiki/extensions/Wikibase | master | +368 -414 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T124286 [Epic] Wikidata language support | |||
| Open | None | T76216 [Epic] Language fallback | |||
| Resolved | • adrianheine | T87754 Apply language fallbacks in JavaScript-formatted entity ids |
Event Timeline
Comment Actions
How is this done? It's part of https://gerrit.wikimedia.org/r/#/c/201182/ (not done, not merged yet).
Comment Actions
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
Comment Actions
Change 201182 had a related patch set uploaded (by Adrian Lang):
Use API for formatting in JS