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 · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬


2013/4/25 Brian Wolff <[email protected]>:
> On 2013-04-25 9:12 AM, "Amir E. Aharoni" <[email protected]>
> wrote:
>>
>> 2013/4/25 Brian Wolff <[email protected]>:
>> > On 2013-04-25 7:04 AM, "Erik Moeller" <[email protected]> wrote:
>> >>
>> >> On Tue, Apr 23, 2013 at 9:08 PM, Brian Wolff <[email protected]> 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_requirements
>>
>> --
>> Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
>> http://aharoni.wordpress.com
>> ‪“We're living in pieces,
>> I want to live in peace.” – T. Moore‬
>>
>> _______________________________________________
>> Wikitech-l mailing list
>> [email protected]
>> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to