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
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