Page MenuHomePhabricator

Add missing parameters to list of citation templates
Open, Needs TriagePublic

Description

In the Web2Cit-Research project, extraction of reference metadata from selected articles relies on being able to map citation template parameters to one of our Web2Cit fields. This mapping is available from our collaboratively maintained list of citation templates: https://docs.google.com/spreadsheets/d/1xbc3FKE0m4JQHa6WCXtBbzeJ9in8P0EQ2NF_VNsaBaM/edit#gid=0

The first run of the extraction script revealed that some relevant parameters are missing for some citation templates. For example, "autor" parameter was missing for citation template "Cita libro", and "apellidos" parameter was missing for citation template "Cita web", both of the Spanish Wikipedia, and both mapping to Web2Cit field "authorLast". These parameters are hence ignored by the extraction script.

Once T299349 has been addressed, a list of parameters ignored by the extraction script will be available. This may help identify parameters that may be missing in the list of citation templates.

In the meantime, we may leverage the information available in citation templates' TemplateData to identify and add most of these missing parameters.

For example, TemplateData for citation template "Cita web" of the Spanish Wikipedia indicates that parameters "apellidos", "last" and "teúltimo" are aliases of "apellido", and should therefore all be mapped to Web2Cit "authorLast" in the citation template list.

Event Timeline

diegodlh moved this task from Done to To do on the Web2Cit-Research board.
Aklapper added a subscriber: Gimenadelrioriande.

@Gimenadelrioriande: Removing task assignee as this open task has been assigned for more than two years - see the email sent to all task assignees on 2024-04-15.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!