Page MenuHomePhabricator

Citoid automatic citation generator is broken on Persian Wikipedia
Closed, ResolvedPublicBUG REPORT

Description

First of all, I have to mention that almost all Wikipedia users inside Iran are experiencing some connection issues due to which some vital tools stopped working without a proxy.
Following a recent report on village pump regarding an issue with Citoid automatic citation generator in Visual Editor, I thought that it can be a new problem caused by the recent connection issues. but later I realized that the report mentions that the issue with Citoid is just present on Persian Wikipedia and the tool is working fine on English Wikipedia. So I think it can be some kind of compatibility problem.

Steps to replicate the issue:

What should have happened instead?:
The Citoid automatic citation generator works in all other wikis mentioned above and some others I've tested, but it's not working on Persian Wikipedia

Event Timeline

It looks like someone deleted the citation template documentation, which will cause VE to be unable to generate the templates: https://fa.wikipedia.org/w/index.php?title=الگو:یادکرد_وب/توضیحات&diff=prev&oldid=37198101

Looks like vandalism? Reverting that edit will probably fix the problem.

I didn't know that removing TemplateData from /doc supages can break the tool, so I didn't check that documentation page. The edit is now reverted and the tool is back online. :) I Indefinitely protected the page. Thank you.

Jeeputer set Final Story Points to 0.

Thanks!

I didn't know that removing TemplateData from /doc supages can break the tool, so I didn't check that documentation page. The edit is now reverted and the tool is back online. :) I Indefinitely protected the page. Thank you.

Just to explain why: VE relies on the "maps" defined in TemplateData to know which template parameters (different for every language, every wiki and every template) should be used for title, authors, dates and so on. Without this it doesn't know how to fill out the citation template. You can read more about this here: https://www.mediawiki.org/wiki/Citoid/Maps_TemplateData