when loading a ZObject with no available label, the no-fallbacks label is not appearing
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
show 'Untitled' when there is no ZObject Label | mediawiki/extensions/WikiLambda | master | +20 -5 |
Event Timeline
We have the message wikilambda-multilingualstring-nofallback (English value: "No label defined in this language or accepted fallbacks ") which theoretically should be shown whenever we don't have any labels available. Should we show this here? It's a bit long.
Denny: Better to show some label than none. Select one from the language(s) available (first in the list?) and show that. Won't happen often.
So I think there are actually two tasks here:
- [BUG] does not show no-fallback message when there are no labels in any fallback language
- [FEATURE] if there are labels that exist outside of the fallback chain (in this edge case, because english has no fallback chain, it is any non-english label when a user chooses english), should we show a label instead of the no-fallback message?
I've filed (2) as a separate task here because it is a pretty big change from how we treat language lookups now and probably merits discussion as to how best to do this.
Change 831945 had a related patch set uploaded (by Jkieserman; author: Jkieserman):
[mediawiki/extensions/WikiLambda@master] show 'Untitled' when there is no ZObject Label
Change 831945 merged by jenkins-bot:
[mediawiki/extensions/WikiLambda@master] show 'Untitled' when there is no ZObject Label