On 2013-04-25 9:12 AM, "Amir E. Aharoni" <amir.aharoni(a)mail.huji.ac.il>
2013/4/25 Brian Wolff <bawolff(a)gmail.com>om>:
> On 2013-04-25 7:04 AM, "Erik Moeller" <erik(a)wikimedia.org> wrote:
>> On Tue, Apr 23, 2013 at 9:08 PM, Brian Wolff <bawolff(a)gmail.com> wrote:
>> Hi Brian,
>> > We already have the page lang support.
>> What do you mean by that? AFAICT there's no existing designated place
>> in the schema for associating a content language with a specific page.
> There's nothing in the schema. But we do (since 1.19) have a notion of
> "page language" separate from content language. See the
> hook and related code. So all that needs to be
done is add something to
actually store a value.
That, and a way for the user to specify that language. Either through
a magic word or through a language selector on the editing page
(either ULS or a dropdown). Of course, the wiki language should be the
default. Is there anything else to it?
That's a as far as a page language goes; It is also useful to specify
the language of chunks of a page. Currently it's done with the HTML
lang attribute, either raw or through templates. It should probably be
done using the VisualEditor, and I already wrote a general spec for it
a while ago:
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
“We're living in pieces,
I want to live in peace.” – T. Moore
Wikitech-l mailing list
Im personally opposed to using a magic word for this. Having a magic word
that changes how magic words encountered prior to it are interpreted, not
to mention changing how it itself is interpreted seems to be just asking