Page MenuHomePhabricator

Button to switch first and last name
Closed, ResolvedPublic

Description

When loading a reference with the Citoid service, often the first and last names come reversed. It would be convenient to have a little button to switch the position of the first and last names.

Example OCLC to reproduce the issue:

  • 978-1771602891
  • 0963564226
  • 9780807861325

Event Timeline

Sophivorus triaged this task as Medium priority.

The UI for this could be a button similar to the "Today" button in the date fields, but reading "Switch first and last".

Also, it seems like this button should only appear when a reference is loaded via Citoid.

Sophivorus closed this task as Resolved.EditedOct 2 2019, 4:50 PM
Sophivorus claimed this task.

I just tested the OCLC given to reproduce the issue (and a few others too) but something has changed. Now, rather than getting the first and last names reversed, they are both coming together, separated by a comma, like so: "Eskew, Glenn T."

According to T160845 the Citoid service has improved, though it's not perfect yet. I'm now unable to reproduce the issue as reported. The issue could be reinterpreted as a request for adding a Split button to split author names with commas into first and last name. However, it's not clear how annoying the commas actually are, since it would be easy to just cut and copy the first name into the right field. Also, if adding the button were easy, I'd do it right away, but since the field names vary per language, we would require a map in the template data to tell ProveIt where to add the Split button. However, since recently, ProveIt no longer requires a template map, and it would be a shame to reintroduce them just for this tiny reason.

The best way forward would be to resolve T160845, so I'm closing this task until someone argues that T160845 is unlikely to get resolved, and a Split button should be added, even if it requires a template map.