The [[ http://mediawiki.org/wiki/Citoid | Citoid extension in conjunction with the citoid service]] allows users of [[https://www.mediawiki.org/wiki/VisualEditor | VisualEditor]] (a what-you-see-is-what-you-get way of editing wikis) to insert references automatically by inserting a link to a book, journal article, newspaper article, or other identifiers like DOI and PubMed IDs. However, it currently doesn't have the functionality to insert citation templates in wikitext.
There is at least one on-wiki JavaScript gadgets that already do this, i.e. https://en.wikipedia.org/wiki/User:Salix_alba/Citoid However, this relies on hard-coded wiki templates and won't work universally on other-language wikis. The [[https://en.wikipedia.org/wiki/Wikipedia:RefToolbar/2.0 | reference toolbar]] suffers from the same problem of requiring hardcoded templates.
We could add support to the [[https://www.mediawiki.org/wiki/Extension:WikiEditor|WikiEditor Extension]] for citoid using the MediaWiki:Citoid-template-type-map.json message that the Citoid extension already uses for VisualEditor integration and the accompanying [[https://www.mediawiki.org/wiki/Extension:TemplateData|templateData]] in each citation template (this code could probably go in the Citoid extension and require WikiEditor as a dependency).
* Primary mentor: @Mvolz
* Co-mentor: //(Phabricator username)//
* Other mentors: //(optional, Phabricator username)//
* Skills: //(Phabricator tags are welcome)//
* Estimated project time for a senior contributor: //(must be 2-3 weeks)//
* Microtasks: //(links to Phabricator tasks that must be completed in order to become a strong candidate)//