Each code has a scope. For macrolanguages this is listed as 'Scope' =>
'M' in the array. For language names this doesn't matter. For
Incubator, this is how I get the data so I will adapt the extension to
find a good solution for this (currently it allows macrolanguages as
the data is not yet available, and I put a template when a certain
macrolanguage is *not* allowed: e.g.
http://incubator.wikimedia.org/wiki/Wp/rom )

But this email is just about whether the ISO 639 data should be
included in MediaWiki. Issues with macrolanguages are not really
relevant; any use case that needs to handle macrolanguages separately
would have the data available anyway.

2011/8/31 Gerard Meijssen <[email protected]>:
> Hoi,
> How are you going to deal with things like macro languages. As you know,
> some are valid for Wiki use (like ara - ar) ?
> Thanks,
>      Gerard
>
> On 31 August 2011 18:05, Robin Pepermans <[email protected]> wrote:
>
>> Hi,
>>
>> For Wikimedia Incubator, a list of ISO 639-1/3 language codes would be
>> useful. I generated a PHP array based on
>> <http://sil.org/iso639-3/iso-639-3_20110525.tab>, and I wanted to make
>> an extension of that (which would be enabled on Incubator). FYI: the
>> array contains 7706 ISO 639-3 codes, besides the ISO 639-1 codes.
>>
>> Now, such a list already ships with the Babel extension, and I don't
>> like duplication so I was thinking, maybe it could be added to core?
>> Besides these two extensions, it could provide language names for
>> {{#language}} which only works for languages known in MediaWiki's
>> Names.php (unless CLDR extension is enabled and the second parameter
>> is used).
>>
>> Actually CLDR is incomplete itself and our CLDR extension has extra
>> languages names that we added to the extension (which makes a third
>> extension that could benefit of this).
>>
>> And maybe there are more use cases...
>> What do you think?
>>
>> Regards,
>> SPQRobin
>>
>> _______________________________________________
>> 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
>

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

Reply via email to