Talk:VisualEditor/Citation tool

Citoid help
Does this tool use Citoid? I need a help page for end users on how to use citoid. Citoid is for developers and VisualEditor/Citation tool is only for wiki "builders", so I'm lost. The easiest "help page" I found is w:en:User:Salix alba/Citoid. --Nemo 14:21, 13 February 2015 (UTC)


 * This is documentation for the existing system, not the new one. As the new one isn't finished, obviously there is no documentation on how to extend it. Why do you think you need a help page for end-users to use Citoid when it's not yet deployed? Jdforrester (WMF) (talk) 16:51, 13 February 2015 (UTC)


 * Well, whether Citoid is used was my first question. :)
 * There are two tools using Citoid at the moment, so it's not too early to start a help page. But sure, it's understandable that one wasn't created yet. There are some users I need to instruct about the tool, for now I'm using Salix alba's page. --Nemo 23:30, 14 February 2015 (UTC)


 * Please, like we've said to many people several times, do not use the wmflabs demonstration of what the service might look like in actual production. It's abusing API keys that were issued only for testing, and is not appropriate. Jdforrester (WMF) (talk) 03:43, 15 February 2015 (UTC)


 * I must have missed this warning, where was it? Should I remove the script from w:en:User:Nemo_bis/common.js? --Nemo 14:54, 20 February 2015 (UTC)


 * The wmflabs version is not abusing any API keys, sorry about the confusion! It is okay to use (although obviously when the production one is up that would be better!- It's not currently puppetised so when labs goes down I have to manually kick it back up.) Mvolz (WMF) (talk) 23:11, 27 February 2015 (UTC)

Reusing this work in the future
How many wikis added the definitions asked by this page? Are there plans to reuse in Citoid all this work MediaWiki:Visualeditor-cite-tool-definition.json and TemplateData? https://github.com/zotero/translators/blob/master/Wikipedia%20Citation%20Templates.js currently works well enough for me on it.wiki, but most wikis are different. Should/can I submit a patch upstream for that translator to fetch "maps" from each wiki, or are you going to do that, or do you have different plans? --Nemo 14:54, 20 February 2015 (UTC)
 * Ping. Any idea? If there is no plan to make VisualEditor aware of the meaning of citation templates fields, either by itself or via Citoid/Zotero, is there a plan to make a plan? :) I know Content translation has some sort of map (made manually for some templates on some wikis, I think), it would be nice to join forces. --Nemo 08:39, 3 April 2015 (UTC)
 * I think pinging Mvolz (WMF) and Jdforrester (WMF) directly may work better. --Elitre (WMF) (talk) 10:40, 3 April 2015 (UTC)
 * Nemo: Currently only FR and IT have the definitions and the associated template data. We're planning to roll this out to all wikis, just working out the kinks on FR and IT first, they get to be the guinea pigs :). Citoid has its own internal format, called "mediawiki"; it is similar to the Zotero internal format, with some tweaks, to make it suitable for using with TemplateData. You can see comparisons of the the mediawiki format with the other formats here: Citoid/API We are not using the Wikipedia translator you linked to in Zotero because, as you mention, it is hardcoded to work with en wiki. Theoretically using different versions of MediaWiki:Visualeditor-cite-tool-definition.json and TemplateData on each wiki should make it work on any wiki, albeit with varying degrees of success.