This is the talk page for discussing improvements to the Wikt-lang module. |
|
Archives: 1Auto-archiving period: 12 months ![]() |
![]() | This module does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
![]() | To help centralize discussions and keep related topics together, Template talk:wikt-lang and Template talk:wt redirect here. |
![]() | On 9 July 2024, it was proposed that this page be moved from Module:Language to Module:Wikt-lang. The result of the discussion was moved. |
{{lang|smp|example}} (the code for Samaritan Hebrew language) adds a page to Category:Articles containing Samaritan-language text but Samaritan language redirects to Samaritan Aramaic language sam
.
-- Error (talk) 20:06, 17 January 2024 (UTC)
{{lang}}
). It may be a failing of Module:Lang which when queried gives these results:
{{lang|fn=category_from_tag|smp|link=yes}}
→ Category:Articles containing Samaritan Hebrew-language text{{lang|fn=name_from_tag|smp|link=yes}}
→ Samaritan Hebrew{{lang|fn=category_from_tag|sam|link=yes}}
→ Category:Articles containing Samaritan Aramaic-language text{{lang|fn=name_from_tag|sam|link=yes}}
→ Samaritan Aramaicsmp
to Samaritan. Similarly, the IANA language-subtag-registry file also assigns smp
to Samaritan. Apparently, no one at en.wiki has cared enough about which article is linked when smp
is used in {{lang}}
to gain a consensus to override the ISO 639-3 name or to repoint the Samaritan-language-redirect so that it points elsewhere.{{lang}}
, {{transliteration}}
, and other templates that use Module:Lang, should be discussed at Template talk:Lang, not here. Where is it best to discuss repointing the Samaritan-language-redirect? I don't know, except to say that such discussion should not be here.This should not be applying italics automatically in the case of {{wikt-lang|en|...}}
, only for non-English material (MOS:FOREIGN, MOS:ITALICS). If an English-language term is being used in a words-as-words manner, it can be italicized manually or by a template parameter. — SMcCandlish ☏ ¢ 😼 18:22, 25 June 2024 (UTC)
en
(English text renders in upright font)|italics=no
|italics=yes
(or y
or +
)|italics=yes
(or y
or +
)The result of the move request was: moved. Admin: Please double check the subpages associated with this page to ensure nothing else needs to be moved, otherwise it looks like this should be fairly straightforward. (closed by non-admin page mover) ASUKITE 17:42, 17 July 2024 (UTC)
Module:Language → Module:Wikt-lang – This module has a very misleading name. It is solely used to create Wiktionary links with a language anchor, and should not be confused with Module:Lang which is used for most other language related usages. This move will match the template name at Template:Wikt-lang. Gonnym (talk) 12:31, 9 July 2024 (UTC)
Currently using the template without a text value produces a Lua error - Lua error in Module:Wikt-lang at line 131: bad argument #1 to 'get_best_script' (string expected, got nil). This should be more gracefully handled like the error in line 248. Gonnym (talk) 12:14, 19 July 2024 (UTC)
{{Wikt-lang|en|}}
→ [text?] Parameter 2 is required{{Wikt-lang|en}}
→ [text?] Parameter 2 is requiredilo
)![]() | This edit request to Module:Wikt-lang/data has been answered. Set the |answered= parameter to no to reactivate your request. |
The currently set name for the Ilocano language, with language code ilo
, is "Iloko" which does not match up with Wiktionary's preferred name for the language, Ilocano. For instance, {{wikt-lang|ilo|something}}
links to wikt: something #Iloko, when it should instead link to wikt: something #Ilocano.
The following should be added to the data
table variable in Module:Wikt-lang/data:
Special:Diff/1280064448#Alyansa para sa Bagong Pilipinas discusses a prominent politician's use of a term in regional vernacular that is unfamiliar to most of her constituents, wherein I added {{Wikt-lang}} to add a link to its definition on Wiktionary.
wikt: Special:Diff/84203784 reverts my apparently improper attempt on Wikt's side to make the link created by this template work. —Luisanton (talk) 09:41, 18 March 2025 (UTC)
![]() | This edit request to Module:Wikt-lang/data has been answered. Set the |answered= parameter to no to reactivate your request. |
Add alg-pro
for Proto-Algonquian. This is the code already used on Wiktionary, consisting of the prefix pro-
for protolanguages plus the ISO 639-2 code alg
for Algonquian. Hundreds of words and thousands of place names in American English derive from Algonquian languages, which in secondhand literature and on Wikipedia are often lumped together as "Algonquian" when the precise source language is either unknowable or unspecified due to laziness/confusion; Proto-Algonquian reconstructions are therefore mentioned fairly often and have enormous potential to increase as Wikipedia's etymology sections improve in quality.
Note that many other uncontroversial reconstructed languages are missing; the current set of codes for protolanguages represents exclusively a handful of European branches of Indo-European, plus Proto-Indo-European, and Proto-Semitic. This clear bias towards European traditional philology is not a good look for Wikipedia and should change in the near future.
(I guess) the following should be added to the data
table variable in Module:Wikt-lang/data: