Template talk:langcatboiler
When names of the languages differ
editHow can one redirect the interwiki link to the correct name of the language in the other Wikimedia project, when they differ? For example, Category:Slovene language here should be linked to commons:Category:Slovenian language, because commons:Category:Slovene language does not exist. Please, fix the problem. Bogorm 13:00, 13 February 2009 (UTC)
- Now you can use
setsister=Slovenian language
. --Daniel. 05:24, 25 May 2009 (UTC)
Incubator Wiktionaries
editWouldn't it make sense to have this link to the Wikimedia Incubator section when the Wiktionary is still in there, rather then saying "X language edition of Wiktionary: None."? --Yair rand 05:51, 10 February 2010 (UTC)
- Agreed, that suggestion makes sense. Then, please provide two or more links to Wiktionary versions from Wikimedia Incubator to make this work easier. --Daniel. 15:47, 16 April 2010 (UTC)
The Incubator is a single mess. I oppose adding links to that place. -- Prince Kassad 19:43, 16 April 2010 (UTC)
- Any particular reason for that? Many Wiktionaries can be considered "messes", I don't see how that can be taken as a reason not to link to them. --Yair rand 21:56, 18 April 2010 (UTC)
The links to Wiktionaries from Wikimedia Incubator are now implemented. See Category:Cree language for an example. If Kassad or other person is still interested in opposing these links, they can further discuss this subject. --Daniel. 15:42, 22 October 2010 (UTC)
"All sign family"?
editSee Category:American Sign Language: "It is a member of the All sign family and written in SignWriting script." Any way to fix this? --Yair rand (talk) 06:01, 5 September 2010 (UTC)
- I have changed it to "It is a sign language, thus written in SignWriting script." --Daniel. 19:17, 2 October 2010 (UTC)
- Perhaps it's better to just make no mention of script whatsoever. And perhaps explain what a sign language is, if it really needs clarifying. —CodeCat 19:20, 2 October 2010 (UTC)
Suggested change
editFor the indexes, why not use {{#ifexist:Index:{{{{{1}}}|l=}}|A complete list is available at [[Index:{{{{{1}}}|l=}}]]}}
. Mglovesfun (talk) 10:01, 13 December 2010 (UTC)
categories without script or family
editWhen a language template does not have a script subpage (eg Category:Aghu language), the category-template fails gracefully, displaying "written in unknown script" and putting the category in an attention category. When a language template does not have a family subpage, the category falls apart...
This is the main category of the Aghu language, represented in Wiktionary by the code ahh. It is a member of the [[:Category:Template:etyl:Template:ahh/family|Template:etyl:Template:ahh/family family]] and written in unknown script.
Could someone modify the template to fail gracefully and add an attention category if no family is set? - -sche (discuss) 08:01, 2 October 2011 (UTC)
change the name of the Wiktionary entry
editCurrently, langcatboiler displays the contents of the language code template as the X in "Definitions, translations and related terms may be found at the entry X." In a few cases, such as Category:Buli-Ghana language and Category:Buli-Indonesia language, this is undesirable: the entry linked-to should be "Buli" (not "Buli-Ghana", "Buli-Indonesia"); the "Ghana" and "Indonesia" bits are not part of the language name, but are needed to distinguish the languages. Is it possible to allow a different value (than the contents of the language template) to be set as the title of the Wiktionary entry on the language, i.e. add a parameter like entryname=? - -sche (discuss) 21:44, 8 April 2012 (UTC)
- I've added a parameter entryname= now, I hope it works. —CodeCat 21:53, 8 April 2012 (UTC)
- I just tried it on the two Buli categories, and it works. :) Thanks for adding it! - -sche (discuss) 22:01, 8 April 2012 (UTC)
Handling exceptional codes
editCurrently, the default is to have the last thing in the autogenerated sidebar on the right to be a link to ISO. Obviously, those links are dead for every language with an exceptional code, because ISO didn't make it up, we did. Can we suppress that section whenever the language code contains the character -
? —Μετάknowledgediscuss/deeds 22:58, 16 July 2013 (UTC)
- Not without converting it to Lua. I can try sometime, but this is a very big template so it will take a while. It's not really a high priority though. —CodeCat 23:02, 16 July 2013 (UTC)
- Well, that one function could be in Lua and the rest not. But yeah, it's relatively unimportant. —Μετάknowledgediscuss/deeds 23:04, 16 July 2013 (UTC)
[edit details]
editNeeds to be fixed now that the langdata isn't in Module:languages any more. —Μετάknowledgediscuss/deeds 02:23, 6 December 2013 (UTC)
- We're not sure yet how to make it point to the right place. The category boilerplate template is currently still using template code, but template code isn't able to do string operations which are needed to decide which module the code is located in. There's some discussion at Module talk:languages#Module name property (I think you came here after reading that?). —CodeCat 02:28, 6 December 2013 (UTC)
- Actually, I came here after I tried to use it and found that it's broken. As I suggested in the thread above, we don't need to Luacise the whole thing, just do the substring bit with a module and the rest can stay in the template. —Μετάknowledgediscuss/deeds 04:38, 6 December 2013 (UTC)
Where to specify script code or codes for language?
editWhere is the script set? Lü is written in the Talu script in China but is also written in the Lana and Thai scripts outside China. — hippietrail (talk) 09:09, 12 June 2015 (UTC)
- It seems you've solved your own problem. —Μετάknowledgediscuss/deeds 15:52, 12 June 2015 (UTC)
- Yep I kept at it and eventually figured it out somehow. I was also going to add Cyrillic and Sawndip scripts to Zhuang but the former turns out to not be really true even for the 1950s orthography and the latter doesn't have an ISO script code yet. — hippietrail (talk) 05:22, 13 June 2015 (UTC)
San'ani Arabic
editAs visible at Category:Sanaani Arabic language, this template invoked with the language code ayn
links to the Wikipedia article for Yemeni Arabic, despite the fact Wikipedia has a dedicated page for Sanʽani Arabic. I cannot for the life of me work out how the invoked modules actually decide what data to display, so if someone who does know could amend it to instead point to w:Sanʽani Arabic, I should be much obliged. 104.246.223.200 23:55, 16 September 2019 (UTC)
- Fixed. — surjection ⟨?⟩ 08:39, 17 September 2019 (UTC)