I also prefer not to add magic words in the first place. But if it is
added, it shouldn't change the way the other magic words are
interpreted; only magic words from the wiki's language should be used.
Or no magic words at all - just use a language picker at the editing page.
--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
“We're living in pieces,
I want to live in peace.” – T. Moore
2013/4/25 Brian Wolff <bawolff(a)gmail.com>om>:
On 2013-04-25 9:12 AM, "Amir E. Aharoni"
<amir.aharoni(a)mail.huji.ac.il>
wrote:
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
PageContentLanguage
> hook and related code. So all that needs to
be done is add something to
the
schema 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:
https://www.mediawiki.org/wiki/VisualEditor/Internationalization_requiremen…
--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
“We're living in pieces,
I want to live in peace.” – T. Moore
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
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
for trouble.
-bawolff
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l