Manuel created this task. Manuel added projects: Wikidata-Campsite, Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION **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:** - T329655 <https://phabricator.wikimedia.org/T329655> does the same thing on desktop - The reason is that we only allow the language code `mul` for Labels and Aliases and not for descriptions (T313027 <https://phabricator.wikimedia.org/T313027>). - 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). **Solution:** If a `mul` label is available, use it as a placeholder for all other existing languages with an empty value. **Mockups:** **BDD:** The `mul` Label/Alias is used as a placeholder for all empty Labels/Aliases when the Item is opened for viewing or editing on both desktop and mobile. GIVEN an Item with a `mul` Label/Alias specified WHEN the Item is opened for viewing or editing on desktop or mobile THEN all empty Labels/Aliases are shown with the `mul` Label/Alias as a placeholder (in gray, see mockups) When an empty Label/Alias is edited the placeholder value disappears on both desktop and mobile. GIVEN an Item with a `mul` Label/Alias as placeholders WHEN an empty Label/Alias is edited on desktop or mobile THEN the placeholder value disappears **Acceptance criteria:** [ ] The `mul` Label/Alias is used as a placeholder for all empty Labels/Aliases when the Item is opened for viewing or editing on mobile (see mockups and BDD). [ ] When an empty Label/Alias is edited the placeholder value disappears on mobile (see mockups and BDD). TASK DETAIL https://phabricator.wikimedia.org/T332175 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Manuel Cc: Aklapper, Manuel, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
