Page MenuHomeMiraheze

Rendering citoid references
Closed, ResolvedPublic

Description

When using the visual editor, citoid creates "references" that look like copies of the associated TemplateData table.

Capture d’écran 2020-08-13 à 11.40.39 PM.png (428×1 px, 99 KB)

However, when editing source, the reference does seem to be correct,

Capture d’écran 2020-08-13 à 11.37.51 PM (2).png (1×1 px, 675 KB)

Any thoughts about what might be going on?

Relevant materials:

Event Timeline

Reception123 triaged this task as Normal priority.Aug 16 2020, 14:27

We still have this problem, but I have noticed that the references page simply copies over the template page for whatever type of reference the current reference corresponds to. For example, if you cite a journal, it just copies over whatever text is on the Template:Cite_Journal page. We can avoid having these annoying tables by include a noinclude tag, but the resulting references are empty (of course).

Even when we disable citoid and enter the references manually, we see the same behavior. So, the problem seems less to do with citoid, and more to do with the rendering of references directly.

Any suggestions, please? I'm really at the end of my knowledge trying to figure this out, and it is very important for our wiki to have references.

Unknown Object (User) added a comment.EditedSep 15 2020, 22:26

To get the issue clear, it does work on WikiEditor, but not on VisualEditor, correct?

Almost, but not quite. It *does* work for the WikiEditor. But with *either* editor, it fails to render properly in the references section of the page (either just copies whatever it finds in the template link).

Unknown Object (User) added a comment.Sep 15 2020, 23:24

You may be better off asking this issue on the Wikimedia phabricator, honestly. I am not to familiar with the extension, I did see alot of issues about it on wikimedia phabricator and none answer your issue though. Sorry.

Krisrs1128 claimed this task.