If one tries to put, for example this link "http://www.bbc.com/zhongwen/trad/world/2016/05/160504_us_trump_clinton" into citoid in english wikipedia, it can get the citation properly. However, if you put the same link into Chinese Wikipedia, then it can only shows "空引用”(empty citation).
Description
Event Timeline
The most probable cause of this is missing a citoid maps object in the
template data for the template corresponding to 'newspaperArticle'. I will
have a look to confirm.
Thank you so much, @Mvolz . It seems to be broken for a few months, but I didn't know how should we report. It is really nice to have instant feedback on a long stuck issue. :D
So it looks like that link is actually a "webpage" type citation and the cite web template is missing the 'maps' object in the template data. I've added maps to this template.
It's possible that the feature still won't work all the time if other templates are also missing this information; unfortunately I have to leave for the airport soon but I will make sure to check the other templates as well when I get back.
If you want to try fixing it yourself, you can go to https://zh.wikipedia.org/wiki/MediaWiki:Citoid-template-type-map.json and check each template listed there to make sure they each have a maps object (ctrl+f for 'citoid' in the documentation page). You can learn more about adding maps to templates here:
https://www.mediawiki.org/wiki/Citoid#Ensure_each_template_specified_in_MediaWiki:Citoid-template-type-map.json_has_an_.27citoid.27_maps_value
https://www.mediawiki.org/wiki/Citoid/Maps_TemplateData
https://www.mediawiki.org/wiki/Citoid#Empty_references_appear
Yes, it appears the mediawiki message was installed without putting citoid maps in any of the tempaltes.
So I've gone through and added template data maps object to all of the citation templates listed in https://zh.wikipedia.org/wiki/MediaWiki:Citoid-template-type-map.json simply by copying them from en wiki. https://zh.wikipedia.org/wiki/Template:Citation didn't have template data at all so it could probably use some translation :)
I've tried a few things and it works ... sort of . 10.1101/050211 gets me
"
Saulnier, Emma; Alizon, Samuel; Gascuel, Olivier. -{zh;zh-hans;zh-hant|Assessing the accuracy of Approximate Bayesian Computation approaches to infer epidemiological parameters from phylogenies}-. bioRxiv. 2016-04-26: 050211. doi:10.1101/050211 (英文).
"
When I open the template data editor, the title is correct though with no prefix. Is the {zh;zh-hans;zh-hant| prefix supposed to appear in citations on zh wiki?
Thank you!
Yes, that's the result of the language variants system, which VE doesn't support right now.