Module talk:Wikt-lang
This is the talk page for discussing improvements to the Wikt-lang module. |
|
Archives: 1Auto-archiving period: 12 months ![]() |
![]() | Languages Template‑class | ||||||
|
![]() | To help centralize discussions and keep related topics together, Template talk:wikt-lang and Template talk:wt redirect here. |
Italicisation of Halkomelem
- This discussion moved to Template talk:Lang#Italicisation of Halkomelem, as it pertains to
{{lang}}
.
lang for Proto-Slavic
*bogatьstvo ({{wikt-lang|sla-pro|*bogatьstvo}}) should emit HTML similar to *bogatьstvo ({{lang|sla-x-proto|bogatьstvo}}) but in the first case the lang attribute has the illegal sla-pro
and the second has sla
.
--Error (talk) 12:50, 25 June 2021 (UTC)
Italics
The documentation for Template:Wikt-lang states that italics can be disabled, but this functionality doesn't seem to actually work and I can't figure out why. Regardless of whether |i=
, |italic=
, and |italics=
is used, and whether it is set to "no" as the documentation suggests or to 0, it doesn't disable the italics.
Can someone fix this so that the italics actually can be disabled? – Scyrme (talk) 13:29, 1 April 2022 (UTC)
- Fixed. Jberkel (talk) 11:35, 7 September 2022 (UTC)
- Thanks! – Scyrme (talk) 12:44, 7 September 2022 (UTC)
Wikt-lang Template: Link to subsection for words with multiple "Etymologies" in the language?
For example, consider the English word "see." There are two completely etymologically-distinct meanings: a verb for visually perceiving or understanding, and a Catholic diocese headed by a bishop.
To show this, the Wiktionary page for "see" has multiple Etymology subsections within the English section. (In this case, only two, but some pages have many more.)
When using the {{Wikt-lang}}
template, there's no option to link to a specific Etymology subsection. For example, {{Wikt-lang|en|see}}
→ see, which always links to the beginning of the "English" section. If I'm editing the Wikipedia page about Episcopal Sees, I'd like to be able to link to the second etymology of "see" in Wiktionary.
This probably requires a new, ffth parameter for "Etymology Number" or something like that. (@Erutuon:, @Jberkel:?) Dark Jackalope (talk) 23:47, 9 November 2022 (UTC)
Greenlandic / Kalaallisut
Wiktionary lists Greenlandic language words under the heading "Greenlandic" but the template provides the word "Kalaallisut". Eievie (talk) 03:46, 7 January 2023 (UTC)
missing data?
Am I mistaken, or should every language tag that is listed in the ["languages"]
table have both of ["name"]
and ["article"]
entries? If that is so then:
these are missing ["name"]
:
be
– Belarusianse
– Northern Samish
– Serbo-Croatianuk
– Ukrainiangoh
– Old High Germanjbo
– Lojban
these are missing ["article"]
:
ab
– Abkhazae
– Avestanav
– Avarff
– Fulaha
– Hausalt
– Lithuanianoj
– Ojibwerw
– Kinyarwanda, wikt: Rwanda-Rundise
– Northern Samisl
– Sloveneaaq
– Eastern Abnaki, wikt: Penobscotbua
– Buryategy
– Ancient Egyptian, wikt: Egyptianfrp
– Arpitangml
– Middle Low Germangoh
– Old High Germangsw
– Alemannic Germangrt
– Garojbo
– Lojbanmoe
– Innu, wikt: Montagnaisodt
– Old Dutchoge
– Old Georgianosx
– Old Saxoncel-pro
– Error: unrecognized language tag: cel-pro, wikt: Proto-Celticcel-x-proto
– Proto-Celticgmw-ecg
– Error: unrecognized language tag: gmw-ecg, wikt: East Central Germannds-de
– Low German, wikt: German Low Germansla-pro
– Error: unrecognized language tag: sla-pro, wikt: Proto-Slavic
In the above list the language names are the names that Module:Lang associates with the language tag. When a second name is listed, Module:Lang and Wiktionary definitions of the language tag disagree. In the case of the IETF-like language tags, Module:lang does not support extlangs and the extlangs that Wiktionary uses are not defined in the IANA language-subtag-registry file. Wiktionary names used above were taken from one of:
- wikt:Module:languages/data/3/a
- wikt:Module:languages/data/3/b
- wikt:Module:languages/data/3/e
- wikt:Module:languages/data/3/f
- wikt:Module:languages/data/3/g
- wikt:Module:languages/data/3/j
- wikt:Module:languages/data/3/m
- wikt:Module:languages/data/3/o
- wikt:Module:languages/data/exceptional
Am I mistaken? Is there a reason that these language tags do not have both of ["name"]
and ["article"]
?
—Trappist the monk (talk) 15:50, 14 December 2023 (UTC)
- @Editor Erutuon: you are (apparently) the original author of this module. Do you have an answer for my questions?
- —Trappist the monk (talk) 20:32, 17 December 2023 (UTC)