Module:TaxonList: Difference between revisions

Content deleted Content added
m c-e
bold also needs dagger stripped
Line 10:
--[[=========================================================================
Utility function to strip off any initial † present to mark the taxon as
extinct. The † must not be italicized, emboldened, or included in the wikilinked text, so
wikilinked text, so needs to be added back afterwards.
† is assumed to be present as one of:
* the unicode character †
Line 69:
taxonName = mw.text.trim(value)
-- if necessary separate any initial † from the taxon name
if linked or italic or bold then
taxonName, dagger = p.stripDagger(taxonName)
else