Page MenuHomePhabricator

create AcceptLanguageSet that is usable in DataModel
Closed, InvalidPublic

Description

Create AcceptLanguageSet that is usable in DataModel. AcceptLanguageSet is an unordered set of ordered lists. (One list would be enough to represent Accept-Language of browsers but in addition we need to support the case of multiple requested languages.) The unordered set represents the languages to keep. The ordered lists have as a first item the preferred language and the rest is the order of fall back languages if the previous language in the list has no content in the item to filter.

[
    [ "en", "first-en-fallback", "second-en-fallback", ... ],
    [ "de", "first-de-fallback", "second-de-fallback", ... ]
]

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

JanZerebecki raised the priority of this task from to Normal.
JanZerebecki updated the task description. (Show Details)
JanZerebecki changed Security from none to None.
JanZerebecki added subscribers: Unknown Object (MLST), JanZerebecki, daniel and 2 others.
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).

I don't get this. What would it be used for?

If we need T73512 (maybe we don't as what Wikibase.git implements is enough) then we would need an argument to it that encodes the criteria for what languages to retain.

Lydia_Pintscher closed this task as Invalid.Apr 23 2017, 3:59 PM