Language names appear as autonyms, so correct lang and dir attribute must be applied to every table cell with a language name.
Version: unspecified
Severity: normal
Whiteboard: storypoints: 2
Language names appear as autonyms, so correct lang and dir attribute must be applied to every table cell with a language name.
Version: unspecified
Severity: normal
Whiteboard: storypoints: 2
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Lydia_Pintscher | T38637 WikiData RTL / BiDi tracker bug | |||
Resolved | None | T42238 apply correct lang and dir attributes to language names in "List of pages linked to this item" | |||
Open | None | T43103 initialization of the Language object is very heavy |
Reverting the above change (revert is I19fe52d0) because the proposed solution causes us to run out of memory.
Constructing a Language object for each language loads all the messages for every language and causes an out of memory error on pages with a non-trivial number of sitelinks. Each language seems to require about 500KB of memory.
We need a lightweight way to get the names and directionality of all languages, without loading all the messages. Lazy initialization of the Language object could help. Of there could be a LanguageInfo interface for stuff like name and directionality.
andy wrote:
There should also be an hreflang attribute on links to other-langugae wikis.
(In reply to comment #4)
Very partial fix in https://gerrit.wikimedia.org/r/#/c/32501/
Status Merged
This seems fixed now. Please reopen with specific description of what is still broken if not.