See parent task for details.
|Resolved||None||T263999 Some lua-calls with language specified does not end up in formatterCache|
|Resolved||toan||T266144 Use a caching service in newLanguageIndependentLuaBindings()|
After talking to @hoo about this at the daily we thought it might be a good idea to hold this off until monday and bring @Addshore into the discussion to find the preferred way forward on how we are to solve the problems identified here.
Possible solutions we discussed were
- not using the formatter cache (which contradicts the AC of the original task)
- introduce a prefix to the cache keys to avoid the collision between the two (which would mean we could end up caching the same thing but in two different formats)
Seeing that the data already is stored in the cache that's using the language fallback it also feels a bit weird not using that.
Change 636003 abandoned by Tobias Andersson:
[mediawiki/extensions/Wikibase@master] wip: use formatter cache in newLanguageIndependentLuaBindings