Module talk:TaxonItalics
Request to output log
Moved here from Module talk:TaxonItalics/testcases as per instructions there. Peter coxhead (talk) 15:13, 23 August 2018 (UTC)
Erutuon, due to some useful changes Peter coxhead made to the main module, all of the initially-unitalicized testcases [at Module talk:TaxonItalics/testcases] show as failed, but I assume this is due to HTML-ified spaces/multipliciations/etc., which render the same but fail a simple plain-text equivalency check. Would you be able to output a nowiki version of the log after the table and/or add 2 columns to the table (e.g. "Expected nowiki" & "Actual nowiki")? ~ Tom.Reding (talk ⋅dgaf) 14:48, 23 August 2018 (UTC)
- @Tom.Reding: I'm aware of this issue, but I'm still working on the module to get allow it to abbreviate taxon names when required – not needed in {{Taxonbar}} but needed in some autotaxoboxes.
- I think it's correct now, but Erutuon should wait a day before doing anything in case there are more changes. Peter coxhead (talk) 15:13, 23 August 2018 (UTC)
- See User:Peter coxhead/Test#Module:TaxonItalics#main for my work tests. Peter coxhead (talk) 15:16, 23 August 2018 (UTC)
Work remaining
The module seems to handle ICNafp-style names (i.e. those with connecting terms) correctly, both straightforward italicization and abbreviation. However, it doesn't yet handle "GENUS (SUBGENUS)" style names:
- Genus (Subgenus) → Genus (Subgenus) – the parentheses shouldn't be italicized
- Genus (Subgenus) species → Genus (Subgenus) species – the parentheses shouldn't be italicized
- Genus (Subgenus) [abbreviated] → G. (Subgenus) – the parentheses shouldn't be italicized
- Genus (Subgenus) species [abbreviated] → G. (S.) species – abbreviation doesn't work