diegodlh / zotero-cita

Cita: a Wikidata addon for Zotero with citations metadata support
GNU General Public License v3.0
233 stars 12 forks source link

Add a Zotero item with a QID #236

Open Futur3r opened 1 year ago

Futur3r commented 1 year ago

Zotero allows to fetch an item by ISBN and DOI why not by QID ?

Describe the solution you'd like The ability to fetch an item by it's QID, like ISBN or DOI via the Add By Identifier function of Zotero.

I opened a feature request on the Zotero Forum, but meanwhile could we implement this via Cita ?

Dominic-DallOsto commented 1 year ago

Is this all we need?

https://github.com/diegodlh/zotero-cita/blob/b3db0a822448935430959cf22e8c121ca4232a84/src/wikidata.js#L885-L890

To get this to work with Zotero, I guess we'd have to patch the code that parses identifiers to also look for QIDs, then the lookup code, and also the message to state that QIDs are also accepted

Futur3r commented 1 year ago

Yes, it's a bit of work. Can't the user just give the QID and then the Wikidata.js translator do the rest ?