Community Wishlist Survey 2022/Citations/Add support for the 'Cite Q' template to Citoid

Add support for the 'Cite Q' template to Citoid

  • Problem: Cannot use Cite Q template in Citoid
  • Proposed solution: When a user enters a QID into Citoid, then Citoid should (or should offer to) generate a reference using the 'Cite Q' template (if it exists on that wiki), with the QID as its first parameter value. When the user enters some other PID, such as a DOI, ISBN, or PubMedID, Citoid should check whether there is a corresponding QID, and if so then proceed as above.
  • Who would benefit: Editors wishing to cite documents whose metadata is in Wikidata
  • More comments: Template:Cite Q en:Template:Cite Q is a wrapper for Template:Citation, which it populates on-the-fly using data from Wikidata. Initiated on the English-language Wikipedia, using Lua, it has been developed to be as portable as possible to other projects and to work with minimum setup and translation on those projects. More details in the Phabricator ticket.
  • Phabricator tickets: T289287
  • Proposer: Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:06, 15 January 2022 (UTC)[reply]


The first stew would be to make Cite_Q working on all wikis. We tried to copy it to cs.wikisource, but still not working as expected - too much submodules and templates needed.

This is far from insurmountable - its already used on about 40 projects. Please ask on en:Template talk:Cite Q if you need assistance getting it working on your project. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:24, 17 January 2022 (UTC)[reply]

It would be great if this project could be accompanied by some basic fixes to Cite Q and/or Wikidata to make it so that Cite Q conforms with CITEVAR. See en:Template talk:Cite Q for many reports of CITEVAR problems that should be fixable. Jonesey95 (talk) 22:16, 28 January 2022 (UTC)[reply]

As is made clear in the template's documentation, you - or indeed anyone else - are welcome to make such changes, in the template's sandbox. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:40, 9 February 2022 (UTC)[reply]
But cite Q must be implemented in the software; else wikis where the template does not exist could not use citoid. --Matthiasb (talk) 15:08, 20 February 2023 (UTC)[reply]
This is an archival page, so discussion would be better directed to the template's talk page; but are all the other templates used by Ciotid also "implemented in the software"? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:20, 20 February 2023 (UTC)[reply]