Template talk:langcatboiler

From Wiktionary, the free dictionary
Latest comment: 4 years ago by Surjection in topic San'ani Arabic
Jump to navigation Jump to search

When names of the languages differ[edit]

How 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)Reply

Now you can use setsister=Slovenian language. --Daniel. 05:24, 25 May 2009 (UTC)Reply

Incubator Wiktionaries[edit]

Wouldn'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)Reply

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)Reply
Incubator:Wt/ht and Incubator:Wt/lad. --Yair rand 17:46, 16 April 2010 (UTC)Reply

The Incubator is a single mess. I oppose adding links to that place. -- Prince Kassad 19:43, 16 April 2010 (UTC)Reply

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)Reply

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)Reply

"All sign family"?[edit]

See 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)Reply

I have changed it to "It is a sign language, thus written in SignWriting script." --Daniel. 19:17, 2 October 2010 (UTC)Reply
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)Reply

Suggested change[edit]

For 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)Reply

categories without script or family[edit]

When 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)Reply

change the name of the Wiktionary entry[edit]

Currently, 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)Reply

I've added a parameter entryname= now, I hope it works. —CodeCat 21:53, 8 April 2012 (UTC)Reply
I just tried it on the two Buli categories, and it works. :) Thanks for adding it! - -sche (discuss) 22:01, 8 April 2012 (UTC)Reply

Handling exceptional codes[edit]

Currently, 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)Reply

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)Reply
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)Reply

[edit details][edit]

Needs to be fixed now that the langdata isn't in Module:languages any more. —Μετάknowledgediscuss/deeds 02:23, 6 December 2013 (UTC)Reply

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)Reply
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)Reply

Where to specify script code or codes for language?[edit]

Where 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)Reply

It seems you've solved your own problem. —Μετάknowledgediscuss/deeds 15:52, 12 June 2015 (UTC)Reply
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)Reply

San'ani Arabic[edit]

As 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)Reply

Fixed. — surjection?08:39, 17 September 2019 (UTC)Reply