Help some smaller Wikipedias' communities by writing the TemplateData and enabling citoid for them
Open, NormalPublic8 Story Points

Description

Most Wikipedias have very few technically-inclined editors, and are therefore unable to write citation templates or enable them for the visual editor. Enabling citoid for them might be a mitzvah for those communities.

The simplest route would probably be importing templates from the English Wikipedia (or perhaps from the nearest fallback language). This would result in the templates being in the 'wrong' language, but this is unlikely to affect most users of the visual editor (who will use the citoid service instead of the template editor), and it might encourage more citations, less linkrot, and better reliability.

Steps:

  1. Find the citation templates used by the VE Citation tool
    1. If the VE Citation tool is not installed, first inquire at the Village Pump. Some communities do not want to use templates.
    2. Import basic 5 templates from en wiki (import requires sysop privileges).
    3. Enable Visual Editor Citation tool
  2. Write TemplateData for each template in the citation tool.
  3. Write the JSON maps in the TemplateData that citoid needs to find and use the citation templates listed in step 5.
  4. Enable the VE citation tool (non-citoid citation feature) (requires sysop privileges).
  5. Install the JSON Mediawiki message that turns on citoid (requires sysop privileges).

There is a master list where citoid is enabled here in order to figure out which communities to prioritise:

Related Objects

StatusAssignedTask
ResolvedQgil
ResolvedRfarrand
ResolvedQuiddity
OpenNone
ResolvedTrizek-WMF
DeclinedTrizek-WMF
Resolvedmatej_suchanek
ResolvedMvolz
OpenNone
ResolvedMvolz
ResolvedTrizek-WMF
OpenNone
ResolvedNone
ResolvedMvolz
ResolvedMvolz
ResolvedAcamicamacaraca
OpenNone
ResolvedTiven2240
ResolvedMvolz
ResolvedNone
OpenNone
OpenNone
DeclinedTrizek-WMF
ResolvedMvolz
There are a very large number of changes, so older changes are hidden. Show Older Changes
Qgil added a comment.Sep 28 2016, 7:29 AM

We should keep this task in mind whenever there is a hackathon or similar type of technical meeting. For instance, what is the status of Greek, and could T146327: ThessHack - Wiki Hackathon play any role here?

You don't really need to have technical knowledge to write TemplateData. Just know how to do that and good sense. :)
Writing TD cans be an activity for any meetup with willingness to improve user experience.

Qgil added a comment.Sep 28 2016, 8:45 PM

I know. In fact we have used Google Code-in to create tasks related with TemplatedData, and perhaps this is the best way forward for this task?

  1. State of el wiki citoid-wise is okay; it is installed properly: (T114515 contains list of most wikis where citoid is installed, for reference)
  2. Even so, could use translation, some of the descriptions are in English. The ones VE uses are the same as en wiki ones:
  3. I agree that it could work for this to be a Google code in thing, which I am happy to do this year, although the advantage of doing it for language specific conferences is that they can actually work on it in their language, so big plus there.
  4. Template Data has a GUI for params, but not for the citoid maps, so technically I'd argue it *is* technical, but that's a technicality. :) Both are needed so getting just the params in is a big help.
Mvolz added a comment.Oct 8 2016, 6:40 AM

ja is a good candidate for this, they use all the same templates as en wiki already and the templates have templatedata in them already, with the exception of Template:citation.

I agree that it could work for this to be a Google code in thing, which I am happy to do this year

Now is a great time to draft & propose (cloneable) Google Code-in tasks.
Who else will join as a (co-)mentor to give this a try? (Thanks to @Mvolz for already being in!)

To not reinvent the wheel: In 2014 we linked to info in https://en.wikipedia.org/wiki/User:Mvolz/GCI_TemplateData_Tasks in GCI tasks such as this one (ignore the look of that old site, last GCI edition has been using a new one).
Could that be (updated and) recycled?

Whatamidoing-WMF renamed this task from Consider helping some smaller Wikipedias' communities (which?) by writing the TemplateData to enable citoid for them to Consider helping some smaller Wikipedias' communities (which?) by writing the TemplateData and enabling citoid for them.Oct 24 2016, 5:13 PM
Whatamidoing-WMF updated the task description. (Show Details)

@Aklapper, I think that the "hard" parts could be done by any familiar with the local language and their citation preferences. But two of the steps (that I just added to the description) require the user to be an admin at the local site, so it will probably require assistance from either a local or global sysop.

Mvolz updated the task description. (Show Details)Oct 24 2016, 6:00 PM
Mvolz moved this task from Backlog to Zotero & External on the Citoid board.Oct 28 2016, 3:18 PM
Mvolz added a comment.EditedJan 13 2017, 2:15 PM

Have we reached a consensus on this? Is this okay to delete the "consider" and actually do it?

I have some candidates in mind and if we agree to do this would be happy to do them with my work account if that is considered acceptable.

  • jp - has all the en wiki templates already uploaded, just needs the maps value and message installed.
  • simple - also has all the appropriate en wiki templates, just needs the maps value and message installed.

I'm in favor of doing this. I have not yet seen a community object to having citoid enabled.

However, if it's necessary to import all the citation templates in step #1 (if none exist), then that step should be preceeded by a note on the local Village Pump. There may still be a few Wikipedias that do not want to use citation templates at all (and therefore cannot use the citoid service).

In the case of Simple English and Japanese Wikipedias, citation templates are already in use. It might be good to offer an update to the CS1 Lua modules. Both of these wikis seem to be using pre-Lua versions of the citation templates.

Trizek-WMF added a comment.EditedJan 18 2017, 11:54 AM

That task is still a good one for non-developers during Wikimedia Hackathons.

Mvolz renamed this task from Consider helping some smaller Wikipedias' communities (which?) by writing the TemplateData and enabling citoid for them to Help some smaller Wikipedias' communities (which?) by writing the TemplateData and enabling citoid for them.Jan 19 2017, 7:53 PM
Mvolz updated the task description. (Show Details)
Mvolz updated the task description. (Show Details)
Mvolz updated the task description. (Show Details)Jan 19 2017, 7:58 PM
Mvolz updated the task description. (Show Details)Feb 28 2017, 5:15 PM
Mvolz added a comment.Mar 1 2017, 3:49 PM

There's a related outreachy project requesting this on hu wiki: T147618

Mvolz renamed this task from Help some smaller Wikipedias' communities (which?) by writing the TemplateData and enabling citoid for them to Help some smaller Wikipedias' communities by writing the TemplateData and enabling citoid for them.Jun 29 2017, 8:36 AM
Mvolz updated the task description. (Show Details)Jul 3 2017, 11:17 AM
Ivi104 added a subscriber: Ivi104.Jul 26 2017, 6:29 AM

Good day! I would like to ask someone to please look over a request to fill MediaWiki:Visualeditor-cite-tool-definition.json on Croatian Wikipedia and to verify everything is as it should be. TemplateData for citing templates has been made. Next I would like to ask for help in enabling Citoid for hr.wiki. Thank you for your time!

Mvolz added a comment.Jul 26 2017, 4:10 PM

Good day! I would like to ask someone to please look over a request to fill MediaWiki:Visualeditor-cite-tool-definition.json on Croatian Wikipedia and to verify everything is as it should be.

Looks fine to me.

TemplateData for citing templates has been made. Next I would like to ask for help in enabling Citoid for hr.wiki. Thank you for your time!

Great, the guide for this is at https://www.mediawiki.org/wiki/Citoid/Enabling_Citoid_on_your_wiki Let us know if you need any more help.

Mvolz updated the task description. (Show Details)Jan 15 2018, 10:52 AM
Mvolz updated the task description. (Show Details)Jan 20 2018, 5:20 PM
Mvolz updated the task description. (Show Details)
Acamicamacaraca added a subscriber: Acamicamacaraca.

@Mvolz its added on hr wiki !

@Mvolz its added on hr wiki !

Oh, you're right, thank you for fixing it twice :).

@Mvolz its added on hr wiki !

Hello, thank you for adding Citoid maps! I wonder if the date format could be changed, to comply with standing referencing standards: instead of (accessed) "2018-01-23", change the date to "23. siječnja 2018."

The months are as follows: 01 - siječnja, 02 - veljače, 03 - ožujka, 04 - travnja, 05 - svibnja, 06 - lipnja, 07 - srpnja, 08 - kolovoza, 09 - rujna, 10 - listopada, 11 - studenoga, 12 - prosinca

also, instead of the foreign language indicator e.g. "(en)", could it be possible to add a template at the end: {{eng oznaka}}. Please refer to this table on hrwiki, column "Ime predloška".

Thank you!

Thanks for your question, @Ivi104. Realistically, the citoid service can't change the dates to match each wiki's preferences. However, the templates themselves can easily re-format citoid's dates to display whatever you would like. The English Wikipedia has the code (look for their df parameter.)

Mvolz updated the task description. (Show Details)Jan 29 2018, 12:21 PM
Ivi104 added a comment.Feb 6 2018, 3:00 PM

Thanks for your question, @Ivi104. Realistically, the citoid service can't change the dates to match each wiki's preferences. However, the templates themselves can easily re-format citoid's dates to display whatever you would like. The English Wikipedia has the code (look for their df parameter.)

Thank you, @Whatamidoing-WMF ! If you could perhaps elaborate a bit on where to find the df parameter, and how to format it to match hr.wiki styling? Thank you!

Mvolz added a comment.Feb 8 2018, 11:25 AM

@Whatamidoing-WMF - so I just enabled ta wiki. Interestingly they only had Template:Citation. I actually think this is the easiest and best approach for wikis that don't have a template ecosystem in place already, which is to import the most recent version of Template:Citation and then enable citoid using only the single template.

Elitre added a comment.EditedFeb 12 2018, 9:58 AM

@Whatamidoing-WMF - so I just enabled ta wiki. Interestingly they only had Template:Citation. I actually think this is the easiest and best approach for wikis that don't have a template ecosystem in place already, which is to import the most recent version of Template:Citation and then enable citoid using only the single template.

This tip could prolly go in https://www.mediawiki.org/wiki/Citoid/Enabling_Citoid_on_your_wiki ! I added it to https://www.mediawiki.org/w/index.php?title=Help%3AVisualEditor%2FVE_as_the_main_editor&type=revision&diff=2713319&oldid=2501704, although maybe the wording could be simplified.

Hi @Mvolz I just noticed some changes were made in cawiki and I think they might have provoked that ISBN resolution stopped working (and I don't know other things). I deeply thank the efforts to solve any existing and potential issue, but I think it would have been good to find a way to communicate with the editor community (via local village pump or via a tech liaison) that some actions were going to be performed. Let me know how I can help now and in the future!

Hi @Mvolz I just noticed some changes were made in cawiki and I think they might have provoked that ISBN resolution stopped working (and I don't know other things). I deeply thank the efforts to solve any existing and potential issue, but I think it would have been good to find a way to communicate with the editor community (via local village pump or via a tech liaison) that some actions were going to be performed. Let me know how I can help now and in the future!

How about you provide more details about what is working and what not, for the time being? See https://www.mediawiki.org/wiki/How_to_report_a_bug/ca. There's plenty of time to jump to conclusions... Thank you. (I also see just one person on https://meta.wikimedia.org/wiki/Tech/Ambassadors/List from your community, if you're interested in even more collaboration in the future! :) )

Hi @Elitre , I arrived this bug via comments here: https://ca.wikipedia.org/w/index.php?title=MediaWiki:Citoid-template-type-map.json&action=history Some comments about the situation here: https://ca.wikipedia.org/wiki/Tema:U78vfqi6wdvcsyj4 I can open another bug if you think it's better. I added myself to tech ambassadors list. Let me know how I can help. Thanks.

@Elitre @Mvolz As you see in the thread, we reverted changes and things work again. However, since I guess we should update our templates for fully accepting all Citoid options, maybe a good approach could be testing this kind of stuff in beta wikis first, such as https://ca.wikipedia.beta.wmflabs.org/wiki/ This is what I originally did for enabling many Citoid features. Let's discuss it if you want, maybe it can also be helpful for other communities apart from the Catalan one...

You are absolutely also welcome to follow https://www.mediawiki.org/wiki/Citoid/Enabling_Citoid_on_your_wiki. Maybe there's a point there that needs updating or something. TY!

Mvolz added a comment.Feb 14 2018, 8:48 AM

@Elitre @Mvolz As you see in the thread, we reverted changes and things work again. However, since I guess we should update our templates for fully accepting all Citoid options, maybe a good approach could be testing this kind of stuff in beta wikis first, such as https://ca.wikipedia.beta.wmflabs.org/wiki/ This is what I originally did for enabling many Citoid features. Let's discuss it if you want, maybe it can also be helpful for other communities apart from the Catalan one...

@Toniher Whoops, sorry! Thank you so much for fixing it.

It actually looks like it was this edit: https://ca.wikipedia.org/w/index.php?title=MediaWiki:Citoid-template-type-map.json&oldid=19618739

I have made an additional change here which was a manual revert to https://ca.wikipedia.org/w/index.php?title=MediaWiki:Citoid-template-type-map.json&oldid=19618617:

This does not change any of the mappings, but it does add the required keys which were missing in the message.

This is the current change:
https://ca.wikipedia.org/w/index.php?title=MediaWiki:Citoid-template-type-map.json&oldid=19657419

I have checked that isbn is working and it is, but if you could review the change and make sure that appropriate templates are being used in the new keys for message, that would be great!

Thanks for your question, @Ivi104. Realistically, the citoid service can't change the dates to match each wiki's preferences. However, the templates themselves can easily re-format citoid's dates to display whatever you would like. The English Wikipedia has the code (look for their df parameter.)

Thank you, @Whatamidoing-WMF ! If you could perhaps elaborate a bit on where to find the df parameter, and how to format it to match hr.wiki styling? Thank you!

Sorry about the late reply; I missed this question! See https://en.wikipedia.org/wiki/Template:Cite_web#Date for the documentation on the |df= parameter. I believe that this was added to enwiki's citation templates more than a year ago.

Mvolz added a subscriber: kaldari.EditedApr 23 2018, 9:19 AM

@kaldari brought up a very good point in another thread that the en wiki citation templates are complicated and if we import them, the community may not have the technical ability to upgrade them, particularly if we can't find a local person with import rights to begin with- because the primary ways they've been maintained is simply to update them from en wiki using import rights.

I've been thinking that these smaller wikis would be a good place to trial wikidata citation templates (see: WikiCite ) which could actually could be fairly simple maintenance-wise as you can use non-lua templates. But that of course requires extra development to the citoid extension because we'd have to search for and create wikidata entities from the extension, so that seems fairly far out in the timeline. So I'm not sure if we should perhaps called this stalled?

Rical removed a subscriber: Rical.Apr 23 2018, 4:26 PM

I request here , Please enable this feature on Sindhi Wikipedia, Notify me for any answer to my request. Thanks.~~~~

I've been thinking that these smaller wikis would be a good place to trial wikidata citation templates (see: WikiCite ) which could actually could be fairly simple maintenance-wise as you can use non-lua templates. But that of course requires extra development to the citoid extension because we'd have to search for and create wikidata entities from the extension, so that seems fairly far out in the timeline.

Is there a separate task for extending citoid to support wikicite? (I think that there should be.)