Template talk:langcat

From Wiktionary, the free dictionary
Latest comment: 11 years ago by -sche
Jump to navigation Jump to search

This template breaks and links to "Category:language" when there's a click in the language's name. See ǃKung for example. Note that it is not an exclamation mark breaking the template... - -sche (discuss) 01:05, 23 August 2012 (UTC)Reply

Bizarrely, the template displays a category if there's only an exclamation mark: [1], but the category doesn't match the headword when it comes to ! vs ǃ, AFAICT. - -sche (discuss) 01:08, 23 August 2012 (UTC)Reply
The problem is that this template uses {{langrev|{{PAGENAME}}}}, which gives the empty string (rather than the appropriate language-code) if the appropriate langrev subtemplate does not exist. You can fix that by creating {{langrev/ǃKung}} — either as a redirect to {{langrev/!Kung}}, or with the same text as it — and then null-editing [[ǃKung]]. —RuakhTALK 02:07, 23 August 2012 (UTC)Reply
Aha! Thanks for the explanation. If I had looked at this template's (short, I now see) code rather than just assuming it was something esoteric like template problems have been in the past, I might have figured that out... I'll be more investigative in the future. :) - -sche (discuss) 02:43, 23 August 2012 (UTC)Reply