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

--- Comment #8 from Seb35 <seb35wikipe...@gmail.com> ---
The high number of involved languages in a page is a bit difficult to follow.
In my mind, this bug is about the "page language", i.e. the "content language
of the specific page". Perhaps this magic word would have been better named as
{{CONTENTLANGUAGE}} but unfortunately this is already reserved for the "global
content language" (i.e. generally "en" for multilingual wikis), and I don’t
think it’s possible to modify its meaning for compatibility reasons.

Thinking more about this question, this new {{PAGELANGUAGE}} magic word could
have two or three different meanings from the point of view of the template
transclusion:
1. either the page language of the frame (when the page is used as a template),
2. either the page language of the final displayed page,
3. either the whole stack of the page language of the different frames.

We should choose what meaning this magic word will have. For the third
possibility, it could be added a parameter to specify which frame is wanted:
e.g. {{PAGELANGUAGE:0}} for the page language of the frame, {{PAGELANGUAGE:1}}
for the page language of the parent frame, and {{PAGELANGUAGE:Inf}} for the
page language of the final displayed page.

I don’t think the third point would be useful, but anyway it would be more
difficult to manage from the caching point of view; the second point would be
also difficult from the caching point of view since it would add a parameter
external to the rendered page.

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

Reply via email to