--- Comment #37 from Tyler Romeo <tylerro...@gmail.com> ---
(In reply to comment #36)
> I thought the current sequence is
> DB/fit -> CDB/fit -> CDB/fi -> CDB/en -> DB/fi -> DB/
> since CDB caches the full fallback chain lookup? That also seems consistent
> with the behavior mentioned in bug 55473, where the English-only language
> value overrides the root DB value.
It does cache the full fallback chain, but en is not part of the fallback
chain. fit falls back on fi, and fi has no fallback. What happens is that if
the message cannot be found anywhere in the requested language, it proceeds to
check the site language.
Here is the exact process:
1) Check the database for the requested language
2) Check the CDB cache for the requested language (which includes fallbacks)
3) Check the database for each of the requested language fallbacks
4) Check the database for the site language
5) Check the CDB cache for the site language (which includes fallbacks)
6) Check the database for the site language fallbacks
And here is the process as proposed by the patch:
For each language in a list of the requested language and its fallbacks
followed by the site language and its fallbacks:
1) Check the database for that language
2) Check the CDB cache for that language
Note: the actual implementation is a bit different since the CDB cache is only
checked once, but it has that effect.
You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list