Jump to content

User talk:Diegodlh

Add topic
From Meta, a Wikimedia project coordination wiki

About Web2Cit

[edit]

Hello,

I think Web2Cit is a great tool to correct mistranslated references. It's really easy to use and it works really well. Thank you and the others for all the work on it!

I do not exactly know what an ambassador does, as I have never taken up such a role. I would need more information before answering this offer.

When setting the templates, I've had troubles treating the case of people having several / complicated names (1) and the case of names with additional information after a comma or between parenthesis (2), (3).

I was also wondering if you intended to add more translation fields in the future. I noticed that Zotero often finds issns, while Web2Cit does not seem to support them.

About the wikiconference, unfortunately I am not really interested in it. Sorry about that. Escargot rouge (talk) 10:50, 12 November 2022 (UTC)Reply

Hi, @Escargot rouge! Sorry that it took me so long to reply. I'm currently away from home.
Regarding what I said about being an ambassador of Web2Cit for the French Wikipedia, I probably said that too lightly. There's not such an "official" thing. I was meaning someone other Web2Cit contributors who speak French or work with French sources may refer to if they have questions. But maybe we could just create a section for Web2Cit contributors to add their names (if they want to) somewhere on the Web2Cit homepage, maybe including the Wikipedia(s) they usually work with? What do you think?
We were also thinking of creating some userbox for Web2Cit contributors to add to their user pages. We may have these automatically add a "Web2Cit contributor" category to the user page as well.
Concerning splitting between first and last names, this is a problem that goes beyond Web2Cit I'm afraid. I wonder whether these threads could help us better think about it: phab:T300207 and phab:T299981. Alternatively, I sometimes just use the authorLast field (which is for author last or full names).
On the other hand, regarding names with additional information after a comma or between parenthesis, I don't see problems in the monitor result pages you shared. I wonder if you managed to sort it out.
Regarding adding more translation fields in the future, this is something that we had in mind when we designed the software, and should be relatively easy to do (such as adding additional selection or transformation steps). However, in doing so, we have to think carefully how we would map from Web2Cit output to Citoid/Zotero fields, and what would be the default procedure for that field used by the fallback template. This and this mappings, and the Fields and Fallback template documentation pages may be useful resources. Finally, you may suggest such new fields in Phabricator, using the w2c-core project.
Cheers! Diegodlh (talk) 15:18, 22 November 2022 (UTC)Reply
Hello,
I am totally fine with helping that way. I would be happy to answer any questions by french-speaking users or about french sources. I agree with writing names somewhere so that people can find concerned users easily.
Yes I was able to solve the issue of comas and parentheses in the names. As long as it is repetitive enough, it does not pose any problem. I also found some cases like this example where people are just doing what they want, and I decided not to mind these cases (In this website, comas supposedly separate authors' names). Escargot rouge (talk) 13:10, 23 November 2022 (UTC)Reply
Cool! I've created a Web2Cit contributors category and added a "Ask someone" section to the Web2Cit homepage. Users may add this category to their user profiles on Meta if they want to. Eventually, if we create a Web2Cit contributor userbox, we may have it add the category automatically.
Concerning those sites where people are just doing what they want, there are lots of those out there unfortunately! In the example you shared they are even including the author's description in the supposedly structured JSON-LD data! I agree we should just focus on doing our best attempt in these cases.
Thank you, @Escargot rougeEscargot rouge! Diegodlh (talk) 15:41, 29 November 2022 (UTC)Reply
Ok, I've created my User Page on Meta and added the category to it! Escargot rouge (talk) 08:28, 30 November 2022 (UTC)Reply

Git repo

[edit]

Hi Diego,

is there a git repo with all Web2Cit/data JSONs?-- U. M. Owen (talk) 20:38, 5 June 2023 (UTC)Reply

Hi, @U. M. Owen! I'm sorry I just got a notification for this old message! No, there isn't. Let me know if I can help you any further! And once again, sorry for the looong delay :') Diegodlh (talk) 08:25, 6 July 2023 (UTC)Reply

Test and co-create a new feature for reusing references with different details

[edit]

Hi,

this is Lina and Eline from the Technical Wishes product team at Wikimedia Deutschland. We hope this message finds you well!

We are currently working on a solution to help Wikimedians easily reuse references with different details – a problem related to several Community Wishlist Survey wishes (partially) supported by you (e.g. 1, 2, 3, 4).

We want to invite you to a user testing session. During the session, you can test a prototype for Visual Editor and provide your feedback. Sessions will take 30–45 minutes, compensation is available. If you are interested, please sign up here (privacy policy).

Please note that most likely, we won’t be able to have sessions with everyone who is interested. We will try to test with a diverse group of wiki contributors. If you’re a fit, we will reach out to you to schedule an appointment.

Hope to hear from you soon, and please let us know if you have any questions!

Best, Lina Farid (WMDE) (talk) 18:17, 10 July 2024 (UTC)Reply

Capacity Exchange: New Design, Features & Ways to Connect!

[edit]

Hello Diegodlh!

Our platform has undergone several updates and has a new design and brand-new features available. We would like to invite you to explore the tool and give your feedback to help us make it even better.

Also, call your wiki-friends to Join for the Exchange.

If you experience any difficulty navigating the tool, here is our User Guide with a step-by-step tutorial on how to use each feature.

To interact with the CapX team, share your feedback, or offer a suggestion, you can use the Bug Reports feature in the tool or email capx(_AT_)wmnobrasil.org.

For quick questions and suggestions, we've set up a Telegram channel. We also invite you to add the {{CapacityExchange}} template and the {{CapXsupporter}} userbox to your user page to express your support.

Finally, we created a newsletter channel for those interested in receiving regular updates about the tool and the Capacity Exchange project - click here to subscribe.

See you exchanging around!

You are receiving this message because you have registered on Capacity Exchange.

Sincerely,
AJurno (WMB)
MediaWiki message delivery (talk)
13:02, 19 August 2025 (UTC)Reply

Updates from Capacity Exchange (CapX)!

[edit]

Hello Diegodlh,

My name is Joris Darlington Quarshie, and I am an Outreach Facilitator for the Capacity Exchange (CapX) — a platform for finding and connecting with peers to exchange knowledge and skills on a global level.

CapX is a community-built tool, designed by and for the Wikimedia Movement, to make it easier for Wikimedians across the world to find and connect, collaborate, and exchange skills and knowledge with peers.

If you don't know it yet, I invite you to access capx.toolforge.org and create your user profile with your Wikimedia account. But, if you already have a profile, I invite you to check out the new features and possibilities we just launched. I am sure you will be delighted.

CapX's new version incorporates valuable community feedback gathered over the past months, including the Organization Profile - a feature for Wikimedia affiliates, initiatives, or community groups to create their own CapX presence (see here how to create yours).

Click to log in using your Wikimedia unified account through authentication:

Explore CapX's new features

[edit]

→ Access: capx.toolforge.org
→ Watch the launch video:Meet the Capacity Exchange
→ Navigate CapX's User Guide and Frequently Asked Questions
→ Share your profile on Meta by adding the predefinition {{CapacityExchange}} to your userpage.
→ Visit our Meta Page for all documentation on the project
→ Join our telegram channel: Capx Telegram Group

Please, let me know if you think your community would enjoy a presentation, workshop demonstration, or feedback session. I would be happy to support you on that. Just reach out, and we can schedule the best date and time together.

Best regards,

Joris Darlington Quarshie
Outreach Facilitator,
Capacity Exchange Project – Wikimedia Brasil
MediaWiki message delivery (talk) 16:56, 29 October 2025 (UTC)Reply

Join us for “Many Tongues, One Movement: Voices Across Languages”!

[edit]

Hello Diegodlh,

We’re excited to invite you to an inspiring global virtual gathering: the first Capacity Exchange Translat-a-thon.

Together with Language Diversity Hub, the Capacity Exchange (CapX) team will host its first Translation Marathon dedicated to ensuring linguistic equity in access to this amazing tool aimed to connect Wikimedians.
If you enjoy contributing to Wikimedia projects through translating and adapting content into different languages, this event is for you! Join us in the celebration of the multilingual spirit of the Wikimedia Movement at an event where communities that contribute in diverse languages will be able to share local knowledge and collaborate across borders.
Many Tongues, One Movement: Voices Across Languages

  • Date: December 6, 2025
  • Time: 12 PM (UTC) - Check the event page for your local timezone
  • Location: Online (Meta-Wiki + live session links)

If you can’t join the live event, you can still contribute to the translations! Edits will be counted for two weeks, until December 20th. And everyone who participates will receive a special badge to display on their CapX profiles.

Strengthen your collaboration through CapX

[edit]

We invite you and your community to join the Capacity Exchange (CapX), a Wikimedia community-built platform for connecting, collaborating, and exchanging skills with peers across the movement.

CapX helps Wikimedians and organizations find each other, share expertise, and build stronger, more connected communities.

Whether you’re an individual contributor, a user group, a community initiative or an affiliate, CapX helps you grow through knowledge exchange.

More information

[edit]

→ Explore the CapX platform: capx.toolforge.org
→ Read: User Guide & FAQ
→ Watch: Meet the Capacity Exchange video
→ Join our Telegram community chat: CapX Telegram Group

If your community, usergroup or affiliate would like to have a CapX organization profile, please reach out at capx@wmnobrasil.org, and we’d be delighted to support you.

With warm regards,
Joris Darlington Quarshie
Outreach Facilitator,
Capacity Exchange ProjectWikimedia Brasil

MediaWiki message delivery (talk) 14:55, 13 November 2025 (UTC)Reply

Creating a Web2Cit template from scratch

[edit]

Hi. I wanted to use Web2Cit to translate a GOV page to citation, but I cannot seem to get it working. In the videos I found, you seem to start with a template that already exists. What if there is no template? For example: CRFOP (pl.gov). Pattern editor linked on the web2cit looks nice, but I think it would help if there were a link to the template editor too.

You also talk a lot about tests in the videos I found, but when I looked through Web2Cit data, it seemed to give me a different picture. I found some tests, very few patterns, and a lot of templates. So this is very confusing to me: are tests required for the editor to work? Or are those tests just nice to have? Not that I don't like to test, but I'd like to check whether the tool is even working for the site I want it to work with.

Is there a basic step-by-step starter guide? Preferably for devs? By a starter guide, I mean some minimal steps to even get a title from the website. Nux (talk) 22:58, 19 May 2026 (UTC)Reply

Hi, @Nux! I'm sorry I took so long to reply.
Unfortunately, the domain you are trying to cite doesn't seem to be reachable from the country where I am, and presumably can't be reached from Wikimedia servers either. I'm getting "Access denied / Error 16". That's why both Web2Cit and plain Citoid are failing.
> In the videos I found, you seem to start with a template that already exists. What if there is no template? ... I think it would help if there were a link to the template editor too.
Absolutely. This is a known bug. See phab:T317448. I've fixed this in code just recently and should be deployed to production soon.
Anyways, even with that fixed, you won't be able to achieve much, since both Web2Cit and Citoid run on Wikimedia servers, and your source seems to be unreachable from there. But you may be able to get at least some very basic citation by using fixed selection steps in itemType, publishedIn and language fields. In some cases, you may also use the upcoming URL selection step (should be implemented soon as part of this task list I'm currently working on) in the title field.
> I found some tests, very few patterns, and a lot of templates. So this is very confusing to me: are tests required for the editor to work? Or are those tests just nice to have?
Tests are not required for the editor to work. They are something nice to have, but they are important for collaborative maintenance of templates. That's why the editor will soon require tests before a template can be defined. See phab:T408860.
> Is there a basic step-by-step starter guide? Preferably for devs?
I know Web2Cit can be challenging and confusing at first. Some of the work I'm currently focusing on aims at improving usability. The resources available from the home page should be enough to start with some easy cases. If possible, for now, please find some website that plain Citoid can reach (I mean the basic citation generator) and try making some improvements. And let me know if I can help you from there.
Hope this helps and answers some of your questions! Diegodlh (talk) Diegodlh (talk) 19:41, 26 May 2026 (UTC)Reply
Thanks. It was unclear to me if Web2Cit is using some different proxies or some different methods that might be able to reach the website. So yes, that did clear up my confusion :). I guess only a browser extensions would be able to fully work around IP-blocks and similar issues with some publishers. I'll try to improve another site next time. Nux (talk) 21:31, 26 May 2026 (UTC)Reply
> I guess only a browser extensions would be able to fully work around IP-blocks and similar issues with some publishers.
Absolutely! That would be a great idea. We were discussing about this in a group recently. I think of an extension that could use Citoid, Web2Cit or other pluggable services to extract metadata from browser's HTML and copy the resulting citation template to the clipboard for pasting into Wikipedia. For this it would be nice to have Citoid service (which Web2Cit relies on) accept user-provided HTML, but last time I checked it wasn't possible. It would require a bit more work, but it's possible and would be nice to have, specially with these times of websites increasingly blocking bots because of AI crawlers.
Let me know if you need any further help with Web2Cit. I'll be happy to help! Diegodlh (talk) 21:19, 27 May 2026 (UTC)Reply

Web2Cit template paths

[edit]

Hi @Diegodlh! Thank you for being a Web2Cit contributor!

Some translation templates you have worked on may need attention. Could you help us fix them?

Translation templates should be based on specific webpages and ideally should have corresponding translation tests indicating the expected output. This is important for maintainability, so other contributors can understand why a template has been set in some way, and so the Web2Cit Monitor can detect when citations break.

We found some templates for paths that do not have a corresponding test. This is usually because the path is generic (i.e., not corresponding to a specific webpage of interest; e.g., / or /**), or simply because a translation test hasn't been defined for that path.

Here's a list of domain configurations you have contributed to, and corresponding template paths for which no tests have been defined. Other editors may have contributed to these files as well and they will or have been notified too.

To help us, for as many of these paths as you can, could you please make sure:

  1. that it corresponds to a specific webpage of interest, and
  2. that a corresponding translation test has been defined?
Domain Template path
apps.des.qld.gov.au /heritage-register/detail/?id=600065
/species-search/details/?id=1835
churchesaustralia.org /list-of-churches
ncca.gov.ph /about-ncca-3/subcommissions/subcommission-on-the-arts-sca/literary-arts/bikol-literature-in-the-philippines/
parks.des.qld.gov.au /management/managed-areas/world-heritage-areas/current/wet-tropics/parks
profit.ro /stiri/economie/grafice-numarul-total-al-contractelor-de-munca-din-economie-a-crescut-contractele-cu-norma-redusa-se-apropie-din-nou-de-1-milion-pierderea-de-salariati-nu-a-fost-insa-deocamdata-recuperata-20890311
statements.qld.gov.au /statements
teara.govt.nz /en/**
/en/biographies/**
thomblake.com.au /qc_new
www.dw.com /tr/avrupada-emeklilik-krizi-nasıl-çözülebilir/a-69964185
www.elespectador.com /salud/detectan-en-colombia-dos-nuevos-casos-de-viruela-del-mono/
www.findandconnect.gov.au /guide/qld/QE00439
www.gameswelt.de /?/?/?
www.gov.uk /government/publications/frank
www.pcgames.de /?/Tests/?
www.sabah.com.tr /dunya/israil-lubnani-vurdu-10-olu-7052708
www.tportal.hr /vijesti/clanak/americka-bomba-konacno-stigla-u-ukrajinu-sto-ce-se-sad-dogoditi-na-ratistu-foto-20240224
www.voaturkce.com /a/timur-cihantimur-un-tahliyesi-icin-mahkemeye-psikiyatri-raporu-sunuldu/7746737.html
www.yenisafak.com /gundem/akinci-tespit-etti-atak-vurdu-sirnak-uluderede-4-pkkli-terorist-etkisiz-hale-getirildi-4639542

For the full list of domains affected, you can check our new Web2Cit Monitor Results with missing tests category.

Note that to help prevent this issue in the future, the templates editor has been updated to only accept paths that already have a test defined.

Please let me know if you have any questions and thank you again for your support!

Diegodlh (talk) 23:27, 19 June 2026 (UTC)Reply

Web2Cit/data/de/gamestar/www/templates.json

[edit]

I don't understand why this always uses the fallback instead of the template defined. [1] This used to work. Matthias (talk) 09:49, 20 June 2026 (UTC)Reply

Making the broken author fields not mandatory seems to make the Web2Cit/data/de/gamestar/www/templates.json applicable again. This is not at all how I would have expected it to work. Matthias (talk) 10:19, 20 June 2026 (UTC)Reply
Hi @Matthias M.! It seems you have fixed it, right? Just in case, let me clarify.
As you seem to have realized, Web2Cit was using the fallback template to translate https://www.gamestar.de/artikel/operation_flashpoint_red_river,2322238.html because the only other template available was returning an invalid output for authorLast field, and because this field was marked as "required" in the template it rendered the template non-applicable (see Web2Cit/Docs/Templates#Template_applicability).
As you very well found out, marking the problematic field as non-required worked this around. Finally you fixed it by fixing the authorLast field in the template. You should be able to mark this field as "required" now if you want. Diegodlh (talk) 01:19, 21 June 2026 (UTC)Reply

Preview template output before saving the template

[edit]

Hi Diego. I did what you asked me for in your June 19 message, and some more... but then I got stuck trying to extract the publication date in this template. Maybe I'm just rusty with all this, and nothing I found online, including ChatGPT, helped. I wouldn't mind trying some more options, but to see what the output would be, every time I need to save and go check the output/test results. Would it be possible to have the extracted params listed on request at template editing page, before saving the template? Also, maybe you/we could make a page with some common but advanced examples for Xpath selectors. Thanks, ponor (talk) 15:07, 20 June 2026 (UTC)Reply

I somehow figured it out (I think). Even though the extracted date was in the debug tables, there was a temporary mismatch of the translation output (19.06.2026.) and the expected output (2026-06-19), which was intentional since I was still working on Xpaths: the translation output shown was blank in the topmost table because of this mismatch, and not because there was nothing extracted. Is this intentional or is it a bug? It'd still be nice to have the whole debug output available before the template is saved, it'd save me a lot of time. ponor (talk) 15:34, 20 June 2026 (UTC)Reply
Hi, @Ponor! Thank you for your message!
> I did what you asked me for in your June 19 message, and some more...
Oh wow! Thank you!!
> Would it be possible to have the extracted params listed on request at template editing page, before saving the template?
Oh this would definitely be nice, but unfortunately it's not possible. That was the idea behind an alternative editor that was planned and that I had been working on a few years ago (see Web2Cit/Docs/Editing#Integrated editor), but unfortunately I couldn't continue working on it.
The only thing available is using sandbox configurations so that changes don't impact all users while testing (see Web2Cit/Docs/Server#Sandbox configurations), but you would still need to save and refresh the translation summary page, I'm afraid :(
> the translation output shown was blank in the topmost table because of this mismatch, and not because there was nothing extracted. Is this intentional or is it a bug?
If I understood your question correctly, the reason why the 19.06.2026. was not shown in the translation output at the top is not because of the test mismatch, but because it was an invalid output for the date field. You should have been able to see in the debug section that the output had been marked as "invalid". Invalid field outputs won't be part of the translation output by design (and they may render the template non-applicable if the field is marked as "required").
By the way, I really liked how you used the new Replace transformation step to convert the output into a valid output. The same result could have been obtained by combining split, range and join transformations, but yours is much shorter. Diegodlh (talk) 02:22, 21 June 2026 (UTC)Reply