Opened 2 years ago

Last modified 23 months ago

#2980 addressed enhancement

Automatic note for taxonomy citations

Reported by: Melanie Schori Owned by: Kay Kittell
Priority: medium Milestone: Server 2.3.11
Component: Public Website 2 Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

The citation table has an is_accepted_name field that could be evaluated when citations are built for taxonomy species (the species detail page references as well as for economic uses and common names, Nodulation and CWR results too).

Many taxonomy use and common name records have "as <I>Genus species</I>" in the note field to indicate that the linked citation has a citation.taxonomy_species_ID != taxonomy_use.taxonomy_species_ID. This reflects that the name in the cited reference isn't the name that is accepted in GRIN Taxonomy, either because a different classification was used in the reference or because a new name has been published since the reference was produced.

It would be great to have the citation builder assess differences in the taxonomy_species_ID fields to automatically add "(as <I>Genus species</I>)" at the end of the citation when citation.is_accepted_name = 'Y' and citation.taxonomy_species_ID != taxonomy_[use; common_name; etc.].taxonomy_species_ID. There are 2,571 notes in the use table with the string %as <I>% and 5,127 in the common name table.

Change History (5)

comment:1 by Melanie Schori, 2 years ago

Italics formatting is missing for part of scientific name after citation, see Economic use for ​https://npgsdev.ars-grin.gov/gringlobal/taxon/taxonomydetail?id=310639 (Zabelia biflora)

comment:2 by Melanie Schori, 2 years ago

Formatting problems for common name too, see Citrus japonica ​https://npgsdev.ars-grin.gov/gringlobal/taxon/taxonomydetail?id=10724

If there is a separate citation note, the "as Genus species" note doesn't get appended.

comment:3 by Kay Kittell, 2 years ago

Changed taxonUtil so that taxon names are formatted correctly.

comment:4 by Kay Kittell, 2 years ago

Milestone: → Server 2.3.11

comment:5 by Kay Kittell, 23 months ago

Status: assigned → addressed
Note: See TracTickets for help on using tickets.