[Wikidata-bugs] [Maniphest] [Commented On] T167872: Correctly set lang HTML attribute for each article placeholder string

2017-06-14 Thread gerritbot
gerritbot added a comment. Change 358998 had a related patch set uploaded (by Nemo bis; owner: Federico Leva): [mediawiki/extensions/ArticlePlaceholder@master] [WIP] Identify some places where the lang attribute would be needed https://gerrit.wikimedia.org/r/358998TASK

[Wikidata-bugs] [Maniphest] [Commented On] T167872: Correctly set lang HTML attribute for each article placeholder string

2017-06-14 Thread Nemo_bis
Nemo_bis added a comment. LanguageFallbackChain::extractPreferredValue() returns a language value which should be what we need, if it's passed on in the next steps; TermIndexEntry provides a getLanguage() function. https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua mentions