As a Wikibase editor, while reading I can clearly see in the terms section if a missing label already falls back to a label in a particular language or to the mul language code. This will help me to decide whether a suitable fallback already exists or if I need to input a new one.
Mockups:
If NO mul Label available:
If mul Label available:
Acceptance criteria:
- When viewing a Wikibase Entity on desktop, the first Wikibase language fallback label is used as a placeholder - without being truncated - for all empty Labels.
- If no fallback label is available, the mul label is used as a placeholder.
- If there is no mul label to be used as default, "No label defined" (the current placeholder) should be displayed
- The en Label is not used as the default placeholder for any empty labels, unless it is part of the Wikibase language fallback.
- The acceptance criteria above can be validated on test.wikidata.org
Notes:
We can ignore ULS-added languages for now: Wikidata adds languages from ULS (for non-logged-in users, for logged-in users with fewer than 4 UI/Babel-specified languages), it is okay to only apply MUL placeholders for these (where available).- T338330 is implementing this for the editing UI.
Original:
T307274: Display fallback labels and descriptions as placeholder in termbox by @Bugreporter