https://bugzilla.wikimedia.org/show_bug.cgi?id=46579

--- Comment #43 from Tyler Romeo <[email protected]> ---
OK, I think I finally understand. Basically you want to assign a special value
to the subpage that corresponds with the site language, so that if something is
on that page, it overrides all translations unless there is a more specific
language override. In other words, the exact sequence becomes:

wgLang == fit (with fallbacks fi and en)
wgContLang == de_at (with fallbacks de and en)

1) DB/fit
2) CDB/fit (only if DB/de_at does not exist)
3) DB/fi
4) CDB/fi (only if DB/de_at does not exist)
5) DB/en
6) CDB/en (only if DB/de_at does not exist)
7) DB/de_at
8) DB/
9) CDB/de_at
10) DB/de
11) CDB/de
12) DB/en
13) CDB/en

I constructed the above sequence of fallbacks based on the following
assumptions:
1) Each language takes precedence over its fallbacks
2) The requested language takes precedence over the site language
3) A non-content-language subpage override takes precedence over its CDB
version
4) A base page override takes precedence over the content language CDB
5) A content-language subpage override takes precedence over all CDB versions

If any of these assumptions are incorrect, let me know.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to