Mvolz created this task.
Mvolz triaged this task as "Normal" priority.
Mvolz added projects: Knowledge-Integrity, Epic, Wikidata, Citoid.

TASK DESCRIPTION

As opposed to mediawiki, where all citation data are stored as strings, Wikidata has a strict typing system. https://www.wikidata.org/wiki/Special:ListDatatypes

I think integration of citoid with wikidata would benefit from creating a wikibase specific export format. In particular, allowing:

  • Possibly returning of integers in the JSON format for fields where this is expected (i.e.e number of pages) or at least validating the string can be coerced into an int
  • Plausibly a structured date format compatible with wikibase dates. Failing that, validate all date fields and return ISO dates (currently return unvalidated strings which may be invalid for wikibase).
  • Validating language codes against wikibase's allowed values

Other issues:

Wikidata expects isbns to have dashes (we don't).
Wikidata wants the pmcid without the pmc prefix.


TASK DETAIL
https://phabricator.wikimedia.org/T208213

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Mvolz
Cc: Aklapper, Samwalton9, Susannaanas, Lydia_Pintscher, Ocaasi_WMF, marcella, aude, Phil_Boswell, He7d3r, MichaelSchoenitzer, Jsamwrites, Jklamo, The_RedBurn, PKM, Juandev, Glorian_Yapinus, DarTar, Izno, Whatamidoing-WMF, czar, Daniel_Mietchen, BrillLyle, Stryn, Tobias1984, Scott_WUaS, Elitre, Liuxinyu970226, Trizek-WMF, VIGNERON, Jdforrester-WMF, Florian, Mvolz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Shangkuanlc, mobrovac, Wikidata-bugs, Deskana, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to