Erutuon, due to some useful changes Peter coxhead made to the main module, all of the initially-unitalicized testcases [atModule 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)[reply]
@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.
@Peter coxhead: Well, I see your point, but I've updated them so that they all pass again. Perhaps they can serve as a demonstration of what the function does, since they are not very useful when editing the module. — Eru·tuon20:54, 24 August 2018 (UTC)[reply]
Well, if you're happy to do the work, I agree they are a good demonstration.
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:Peter coxhead (talk) 17:12, 23 August 2018 (UTC)[reply]
The module now handles "GENUS (SUBGENUS)" style names correctly:
Genus (Subgenus) → Genus (Subgenus)
Genus (Subgenus) species → Genus (Subgenus) species
Genus (Subgenus) [abbreviated] → G. (Subgenus)
Genus (Subgenus) species [abbreviated] → G. (S.) species