Module talk:Wikt-lang
| 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. |
Requested move 9 July 2024
- The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.
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)
- Note: not all of the /data sub-modules actually belong to the module so will need to be checked when disentangling this. Gonnym (talk) 12:34, 9 July 2024 (UTC)
- @Gonnym or whoever understands how these work, from digging through the subpages the only one I found that didn't mention Wiktionary was Module:Language/data/iso 15924 and its doc page, would those potentially need to be moved to Module:Lang/data/iso 15924? ASUKITE 16:27, 17 July 2024 (UTC)
- No. Module:Language/data/iso 15924 is not a submodule of Module:Lang. Do not move it there.
- —Trappist the monk (talk) 16:35, 17 July 2024 (UTC)
- Thanks, that was the only one that was unclear, don't want us to break anything! ASUKITE 16:38, 17 July 2024 (UTC)
- @Gonnym or whoever understands how these work, from digging through the subpages the only one I found that didn't mention Wiktionary was Module:Language/data/iso 15924 and its doc page, would those potentially need to be moved to Module:Lang/data/iso 15924? ASUKITE 16:27, 17 July 2024 (UTC)
- Rename per nom. * Pppery * it has begun... 16:10, 9 July 2024 (UTC)
Uncaught error
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)
- Caught:
{{Wikt-lang|en|}}→ [text?] Parameter 2 is required{{Wikt-lang|en}}→ [text?] Parameter 2 is required
- —Trappist the monk (talk) 13:53, 19 July 2024 (UTC)
Extended-confirmed-protected edit request on 18 March 2025: Add new setting for Ilocano (ilo)
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.
Proposed revision
The following should be added to the data table variable in Module:Wikt-lang/data:
Related edits
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)
Add Proto-Algonquian
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.
Proposed revision for now
(I guess) the following should be added to the data table variable in Module:Wikt-lang/data:
— Ganjabarah (talk) 01:48, 11 June 2025 (UTC)
Possible enhancement: senseid
This ugly edit make me think it would be nice to add template support for wiktionary senseid. Something like:
{{#invoke:Wikt-lang|wiktlang|en|minute|minutes|Q209426|"fractions of a degree"}} -> minutes "fractions of a degree"
Interwiki links are more fragile than intrawiki links, so perhaps there was a conscious decision not to support this; OTOH I still managed to make my ugly edit, which is even more fragile still. jnestorius(talk) 13:16, 1 April 2026 (UTC)
- Support. An id parameter is much needed. Auteuil-Passy (talk) 06:03, 3 April 2026 (UTC)
- Support I didn't understand what the missing feature was until I played around with this for a minute and realized the problem. It should be handled more gracefully, ideally. Dingolover6969 (talk) 23:34, 12 April 2026 (UTC)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.