Module talk:Wikt-lang
Add topic| 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. |
Add Proto-Algonquian
[edit]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
[edit](I guess) the following should be added to the data table variable in Module:Wikt-lang/data:
Possible enhancement: senseid
[edit]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)
Stripping em and strong
[edit]foo and foo work was expected when using the apostrophes, but [[wikt:foo#English|foo]] and [[wikt:foo#English|foo]] do not work when using strong and em templates. Directly using the html tags fares no better: [[wikt:foo#English|foo]] and [[wikt:foo#English|foo]]. Would be nice if the bold/italics stripping also worked on these. Dingolover6969 (talk) 19:09, 22 June 2026 (UTC)
Documentation errors
[edit]The table Module:Wikt-lang § Comparison of codes contains errors "Error: unrecognized language tag…". It's unclear if the errors are there for demonstration purposes or if the list is out of date. It needs updating or some added explanation. ווסטוק (talk) 10:57, 10 October 2026 (UTC)
Redirect
[edit]The "Template: Language" redirect goes to an unrelated template that gives different results. This is a bit confusing, but I don't know how to resolve it? ווסטוק (talk) 11:06, 10 October 2026 (UTC)
- I came here from Module: Language, a component of this module, because Module talk: Language redirected me to here. ווסטוק (talk) 11:08, 10 October 2026 (UTC)