Jump to content

Topic on Talk:Citoid/Archive 2

Ignacio Rodríguez (talkcontribs)

Hi

In spanish wikipedia we have created the templatedata blocks for cite templates, the citoid maps and the mediawiki page.

After creating the mediawiki page the "Cite" menu in VisualEditor turned into the citoid automatic/manual menu, but it doesn't work quite well. For random websites it generates a correct citation, but not for DOIs or other mre complex websites.

Do you know what os going on?

Elitre (WMF) (talkcontribs)

Ninovolador, does this section answer your question? I had tried Spanish sources and published the results in Phabricator. Also, here is the list of the most referenced domains on your wiki. See also the thread below for more information about what can be done with this list.

Please point to pages where tests are being made so we can check what happens. Thank you!

Ignacio Rodríguez (talkcontribs)

I think that is possible that it is due to lack of zotero translators.

I ran several tests on es:Usuario:Ninovolador/Taller3. Scielo is one of the most popular scientific websites in spanish and portuguese, and citoid does OK.

But, some english popular websites, like Wiley or sciencedirect are not OK.

I will continue to test other sites, and put the results here if you like.

Ignacio Rodríguez (talkcontribs)

i conduced more test, at :es:Usuario:Ninovolador/Taller4 with some of the websites on your list.

Again, some well known English websites doesn't work quite well. I check the zotero github site for translators for, example, BBC, and there is one, but it doesn't seem to be used.

Mvolz (WMF) (talkcontribs)

Ninovolador, not all of the translators that are in the list on the github repo can be used/are used at any given time, unfortunately.

If you want a better list/explanation, see this: Citoid/Determining_if_a_URL_has_a_translator_in_Zotero

(I've basically just a copied an email in there, so it's a bit rambling)

Ignacio Rodríguez (talkcontribs)

@Mvolz (WMF): Is there something we or I can do to help implementing some of the most important translators? (such as JSTOR, sciencedirect, etc) I am not an expert in programming, but i am disposed to learn

Whatamidoing (WMF) (talkcontribs)

Maybe Halibutt knows how to do that? Hallibut knows a lot about Zotero.

Elitre (WMF) (talkcontribs)

There's a guide on the Zotero site. It states, "Who is this guide for? Anyone! No previous experience required!", which is encouraging.

Mvolz (WMF) (talkcontribs)

The tutorial is good, but it doesn't include testing for the translators using the "server" option or 'v' flag, which is what we need.

To test with translation-server, download and install https://github.com/zotero/translation-server

And your translator will have to have the 'v' flag enabled for 'browserSupport'. More here on that: https://www.zotero.org/support/dev/translators

I.e. see https://github.com/zotero/translators/blob/master/3news.co.nz.js you will see there are a bunch of letters, one of which is v, which corresponds to translation-server. If server support is not enabled by testing it/ then adding the 'v' flag, we won't be able to use the translator.

Reply to "Spanish wikipedia"