Help the community configure citoid on gdwiki
Open, NormalPublic0 Story Points

Description

Referring to guidance on mediawiki.org (https://www.mediawiki.org/wiki/Citoid/Enabling_Citoid_on_your_wiki) Step 1 appears to be complete as the cite menu in visual editor gives six options including 'basic' and 'reuse'.

Current citation templates:

  1. Cite news: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_naidheachd
  2. Cite journal: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_iris
  3. Cite web: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_l%C3%ACon
  4. Cite book: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_leabhar
  5. Citation: missing - does this need creating?

For step 2a a data map needs to be created. Are these added to each template separately or is there a central place they need to be created?

Restricted Application added a project: VisualEditor. · View Herald TranscriptJun 27 2017, 10:56 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Mvolz added a subscriber: Mvolz.Jun 27 2017, 12:30 PM

For 2a, you need to add extra template data (called a 'map') to each template you need to use, so yes, they are added to each template separately.

As for the templates themselves, that is kind of up to you/the community. It's designed to be able to use any set of templates. So you can choose to use Teamplaid:Iomradh_l%C3%ACon instead of Template:Citation in the Mediawiki message (or one of the others, depending on type.)

Deskana triaged this task as Normal priority.Jun 27 2017, 6:55 PM
Deskana moved this task from To Triage to External and Administrivia on the VisualEditor board.
Jdforrester-WMF renamed this task from Enabling Citoid on gd.wp to Help the community configure citoid on gdwiki.Jun 28 2017, 11:57 AM
Jdforrester-WMF set the point value for this task to 0.
Mvolz moved this task from Backlog to Zotero & External on the Citoid board.Jun 29 2017, 1:58 PM

Thank you, Mvolz.

I've tried creating a data map for https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_l%C3%ACon/doc

Is someone able to check that the format works before I start fiddling with other templates?

Diff: https://gd.wikipedia.org/w/index.php?title=Teamplaid%3AIomradh_l%C3%ACon%2Fdoc&type=revision&diff=532291&oldid=517347

Mvolz added a comment.Jun 30 2017, 4:08 PM

Thank you, Mvolz.

I've tried creating a data map for https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_l%C3%ACon/doc

Is someone able to check that the format works before I start fiddling with other templates?

Diff: https://gd.wikipedia.org/w/index.php?title=Teamplaid%3AIomradh_l%C3%ACon%2Fdoc&type=revision&diff=532291&oldid=517347

Looks good to me!

Great! If no one spots anything in the meantime, I'll work on the other templates next week.

Mvolz added a comment.Jul 10 2017, 2:43 PM

Yes, the next step is to install the message.

These look okay but just a few issues:

With the way the authors are set-up, you will only ever have one author filled in. Are there ways to add multiple authors in these templates? If there aren't fields for each author (i.e. last1, last2) it is better to set the entire thing equivalent to the key, i.e. "author": "last"

Because you didn't import Citation, there are some missing fields that need to be added to one of the other templates. But at this point it's a little hard to point out which fields go where since I don't know what templates are going to be used instead of Citation. It is possible to install the message first and do that after without it being *too* terrible because these tend to be obscure item types that aren't commonly used.

The templates are set up so that there is a main author ("last", "first") a field for "other author" (ùghdar_eile), and a field to be used when there are multiple "other authors" (ùghdaran_eile). Both of those are in the data maps, but might not be obvious becuase they don't follow the "last", "first" format. Would that need to be changed?

I'll see what I can do about getting the MediaWiki message sorted.

Mvolz added a comment.Oct 23 2017, 4:58 PM

The templates are set up so that there is a main author ("last", "first") a field for "other author" (ùghdar_eile), and a field to be used when there are multiple "other authors" (ùghdaran_eile). Both of those are in the data maps, but might not be obvious becuase they don't follow the "last", "first" format. Would that need to be changed?

I'll see what I can do about getting the MediaWiki message sorted.

I think probably the best option here would be to do:

'author':'ùghdaran_eile'

This way all the authors will go in this field (comma separated). It's not ideal but it should display the citation correctly without having to change how the template works.

Do you need any more help with this? I don't have the permissions to import the Citation template, but if we skip that (this has been stalled) we can just install the web one instead maybe?

We now have five citation templates:

  1. Cite news: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_naidheachd
  2. Cite journal: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_iris
  3. Cite web: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_l%C3%ACon
  4. Cite book: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_leabhar
  5. Citation: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh

We have data maps for 1-4, and I think I should be able to put one together for #5. Once that's done, I'll put a message on the gd.wp village pump to ask for admin help editing the Mediawiki message.

We now have five citation templates:

  1. Cite news: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_naidheachd
  2. Cite journal: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_iris
  3. Cite web: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_l%C3%ACon
  4. Cite book: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh_leabhar
  5. Citation: https://gd.wikipedia.org/wiki/Teamplaid:Iomradh

    We have data maps for 1-4, and I think I should be able to put one together for #5. Once that's done, I'll put a message on the gd.wp village pump to ask for admin help editing the Mediawiki message.

What is the status of this? It looks like you're very close. You could just paste the English one in for Teamplaid:Iomradh and I could enable the message if you'd like :). Could always translate later.