Jump to content

Category talk:CS1 errors: script parameters

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]

Assamese

[edit]

Assamese is also not recognized. Snowman304|talk 01:57, 17 January 2026 (UTC)[reply]

Troubleshooting (I think I am doing this right):
Assamese (as): {{#language:as|en}} → Assamese
Azerbaijani (az): {{#language:az|en}} → Azerbaijani
Assamese (as): অসমীয়া লিপিতে অসমীয়া।.
Azerbaijani (az): Əliağa Şıxlinski.
Next steps? – Jonesey95 (talk) 02:24, 17 January 2026 (UTC)[reply]
It looks like this has been fixed in the sandbox; sandbox templates are used above. The templates are scheduled to be updated in the next 48 hours. – Jonesey95 (talk) 06:08, 17 January 2026 (UTC)[reply]