Page MenuHomePhabricator

Improve Zotero Validation
Closed, ResolvedPublic

Description

Currently we do some minor validation, such as validate the language code and fix the access date.

We should validate every field Zotero hands us, i.e.

  • Ensure all dates are ISO
  • Ensure any html is stripped from any field
  • Ensure url field is a fully qualified uri
  • Delete extraneous keys

Event Timeline

Mvolz raised the priority of this task from to Needs Triage.
Mvolz updated the task description. (Show Details)
Mvolz added a project: Citoid.
Mvolz moved this task to Zotero on the Citoid board.
Mvolz subscribed.
Mvolz updated the task description. (Show Details)
Mvolz set Security to None.
Mvolz renamed this task from Better Zotero Validation to Improve Zotero Validation.Jun 9 2015, 7:40 PM
Mvolz updated the task description. (Show Details)
Mvolz triaged this task as High priority.Jun 20 2015, 6:40 PM

Change 220190 had a related patch set uploaded (by Mobrovac):
Hot-fix for production:

https://gerrit.wikimedia.org/r/220190

Change 221131 had a related patch set uploaded (by Mvolz):
Clean html tags out of top level fields

https://gerrit.wikimedia.org/r/221131

Change 221369 had a related patch set uploaded (by Mvolz):
Convert all Zotero date fields to ISO

https://gerrit.wikimedia.org/r/221369

Change 221131 merged by Mobrovac:
Clean html tags out of top level fields

https://gerrit.wikimedia.org/r/221131

Change 221369 merged by Mobrovac:
Convert all Zotero date fields to ISO

https://gerrit.wikimedia.org/r/221369

Change 229368 had a related patch set uploaded (by Mvolz):
[WIP] Validate Zotero url

https://gerrit.wikimedia.org/r/229368

Change 231254 had a related patch set uploaded (by Mvolz):
Remove Zotero library specific keys from citation

https://gerrit.wikimedia.org/r/231254

Change 231254 merged by Mobrovac:
Remove Zotero library specific keys from citation

https://gerrit.wikimedia.org/r/231254

Mvolz updated the task description. (Show Details)
Mvolz removed a project: Patch-For-Review.