Module talk:Taxonavigation

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Error

[edit]

Category:Hymenogadus gracilis has parse error. --Jarekt (talk) 11:44, 15 May 2018 (UTC)[reply]

Hello Jarekt
I solved in the page.
Clearly I could have changed the code to detect the problem.
BR Liné1 (talk) 18:36, 15 May 2018 (UTC)[reply]
 Thank you. --Jarekt (talk) 20:42, 15 May 2018 (UTC)[reply]

LintErrror - Italics are not being generated correctly...

[edit]

https://commons.wikimedia.org/w/index.php?title=Special:LintErrors/missing-end-tag&offset=202282968&namespace=14

Many of the lint errors here are due to the italics being misgenerated.

Can someone check the relevant portion of the code? ShakespeareFan00 (talk) 10:58, 18 April 2020 (UTC)[reply]

Can you explain me the problem ?
"lint errors" does not ring a bell.
BR Liné1 (talk) 06:58, 20 April 2020 (UTC)[reply]
@Liné1: Please see mw:Help:Lint errors.   — Jeff G. please ping or talk to me 14:56, 30 April 2020 (UTC)[reply]
I changed it to stale becuase this was in the category of needing help for a couple months. If this is an error, please change it to helped.--👁❤️Coco🍉 [let's talkǃ] 23:56, 28 November 2020 (UTC)[reply]

I hope that someone is watching this page. Here's a description of one problem that this module appears to cause. When this module is called by:

{{Lepidoptera
|genus=Drymonia
|genus-disambig=(Notodontidae)
}}

a portion of the result is:

• Genus<b>: <i>[[:Category:Drymonia (Notodontidae)|Drymonia</i><small> (Notodontidae)</small><i>]]</i></b>

Note the closing and re-opening of italic formatting that is done incorrectly. I believe that the problem lies in line 423:

taxonDisplayName = string.sub(taxonName,1,parenthesisStart-1) .. closeItalicIfNeeded .. '<small> ' .. string.sub(taxonName,parenthesisStart+1) .. '</small>' .. openItalicIfNeeded

If this can be fixed, that would be helpful. There is a real-world example of this problem at Category:Drymonia ruficornis. Jonesey95 (talk) 18:23, 26 October 2022 (UTC)[reply]

It appears that this problem was resolved by these edits. – Jonesey95 (talk) 21:05, 16 December 2023 (UTC)[reply]

Request

[edit]

This module is adding numerous categories (for example Category:Adenoviridae) to the parent category Category:Virus families. However, that parent category has been renamed to Category:Families of Viruses. (Don't ask me why!) Can someone please update the module to use the new name? --R'n'B (talk) 17:14, 8 December 2023 (UTC)[reply]