Page MenuHomePhabricator

Enable the functionality of generating citations using QID from Wikidata in Citoid for English Wikipedia
Closed, InvalidPublic

Description

I was told that it is not possible to create a reference using QID via Visual Editor on Wikipedia. Even there are just a few book's items on Wikidata it would be nice Citoid can create a citation from QID on English Wikipedia.

Event Timeline

This functionality is enabled, you can add citations using a qid number.

@Mvolz, the citations are all ending up in {{cite web}}, even if they're books or journal articles. Can you fix that?

@Mvolz, the citations are all ending up in {{cite web}}, even if they're books or journal articles. Can you fix that?

Can you give me an example?

There's a wikidata translator that should be able to determine the type, but it's not perfect and is limited by the metadata in the wikidata item. If the wikidata item doesn't state that it is a book the translator won't be able to determine that and it will default to web.

This is the map:
https://github.com/zotero/translators/blob/master/Wikidata.js#L40