Category talk:CS1 errors: script parameters

Latest comment: 3 years ago by Auric in topic Azerbaijani

Known language codes

edit

Do we know why common languages like Portuguese and Greek are not “known” by the system. I can understand why less commonly cited languages code like “od” are missing. —¿philoserf? (talk) 21:00, 8 May 2020 (UTC)Reply

Do you mean Od language? It has a language code odk which code is not known to MediaWiki:
{{#language:odk|en}} → odk
also there is Waddar language, apparently sometimes called Od. It has a language code wbq, also not known to MediaWiki
{{#language:wbq|en}} → wbq
If you mean od as a language code for something, that combination of letters is not an ISO 639-1 code:
{{#invoke:lang|name_from_tag|od}}Error: unrecognized language code: od
In this citation, Google translate thinks that the value in |script-title=ଚିକିଟୀର ସାହିତ୍ୟ ଓ ସାହିତ୍ୟିକ is Odia language; I do not know if Google translate is correct. The language code for Odia is or which code MediaWiki understands:
{{#language:or|en}} → Odia
cs1|2 does not understand or for |script-title= because until now, there has been no call for it. I have added it to the module suite sandbox so it will be supported after the next module suite update.
MediaWiki does understand the codes for Portuguese (pt) and Greek (el):
{{#language:pt|en}} → Portuguese
{{#language:el|en}} → Greek
In this citation, |script-title= uses gr which is not a valid ISO 639-1 language code.
In this citation, |script-title= is used where it should not be used. |script-title= is to be used for titles that are written using scripts that are not Latin based. Portuguese is written using the Latin script so cs1|2 rejects that use of |script-title=.
Trappist the monk (talk) 22:08, 8 May 2020 (UTC)Reply
Trappist the monk, Thank you for the education. I’ll dig in further. —¿philoserf? (talk) 22:11, 8 May 2020 (UTC)Reply

Azerbaijani

edit

Azerbaijani is also not recognized.--Auric talk 12:15, 31 January 2021 (UTC)Reply