**Problem:**
Instead of adding identical values for many languages, editors will soon be able to add a `mul` Label and Alias in the termbox. It is however not immediately obvious, that the `mul` entries will work as fallbacks. Editors will only see "No label defined" which might convince some editors to add the redundant Labels again. We need to make this more intuitive.
**Notes:**
* In story writing, it was decided to split the original task into viewing (T329655) and editing (T338330).
* We only consider `mul` values as intentional fallbacks. So we only use `mul` values as placeholders and not `en` values.
* The placeholders could update live, on publish, or on reload (not ideal, but ok for now).
* The list of Aliases could be extensive, or their text or that of Labels could be long (e.g. https://www.wikidata.org/wiki/Q84621524). Therefore we only use the first alias as a placeholderAs a Wikibase editor, followed by an ellipsis symbol.
**Solution:**
If a `mul` Label /Alias is available,while editing 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. use it as a placeholder for all otherThis will help me to decide whether a suitable fallback already existing languages with an empty value. s or if I need to input a new one.
**Mockups:**
{F37114607}
| [[ https://www.figma.com/file/UMHGYSxln03lGx2z7GxzP2/Multiple-languages?type=design&node-id=340-8642&mode=design&t=d0477X8hCtNiYCRO-0 | Link to Figma specs ]] |
**BDD:**
Adding `mul` Label/Alias: The `mul` Label/Alias is used as a placeholder for all empty Labels/Aliases after a `mul` value is published on desktop (and mobile).
GIVEN an Item without a `mul` Label/Alias
WHEN the `mul` Label/Alias is added on desktop (or mobile)
AND the user publishes their changes to the termbox
THEN the default Label/Alias placeholder value of all languages is replaced by a placeholder that matches the new `mul` Label/Alias
Removing `mul` Label/Alias: There is no placeholder for empty Labels/Aliases after a `mul` value is removed on desktop (and mobile).
GIVEN an Item with a `mul` Label/Alias
WHEN the `mul` Label/Alias is removed on desktop (or mobile)
AND the user publishes their changes to the termbox
THEN the default Label/Alias placeholder value of all languages is replaced by a placeholder that matches the old copy**Acceptance criteria:**
Existing `mul` Label/Alias: The `mul` Label/Alias is used as a placeholder for all empty Labels/Aliases when the Item is opened for (viewing or) editing on desktop (and mobile).
GIVEN an Item with a `mul` Label/Alias specified[] When the Wikibase Entity is opened for editing on desktop, the first Wikibase language fallback label is used as a placeholder - without being truncated - for all empty Labels.
WHEN the Item is opened for (viewing or) editing on desktop (or mobile)[] If no fallback label is available, the `mul` Label is used as a placeholder.
THEN all empty Labels/Aliases are shown with the[] If there is no `mul` Llabel/Alias as a placeholder (in gray to be used as default, see mockups)
**Acceptance criteria:**"Enter a label in <language>" (the current placeholder) should be displayed
[] The `mul` Labels and Aliases are used as placeholders for all empty Labels and Aliases when the Item is opened for editing on desktop.
* It does not matter if a (manually entered) Label is duplicated in the placeholder for the Alias (that is falling back to `mul`)en` Label is not used as the default placeholder for any empty labels, unless it is part of the Wikibase language fallback.
[] For Labels: We reuse the whole `mul` Label as a placeholder (we might test truncation for Labels only at a later time, see T340615).
[] For Aliases: If there is more than one `mul` Alias, only the first is reused as a placeholder, followed by an ellipsis symbol.
[] When an empty Label or Alias is edited, the placeholder value disappears on desktop (see mockups and BDD).
[] Release to[] The acceptance criteria above can be validated on test.wikidata.org