Starting the Wikimedia Rust developers user groupEdit

Hi everyone,

We are starting a user group for people interested in spreading the adoption of the Rust programming language in the Wikimedia movement. If you're not familiar with it, Rust is a systems programming language that aims to provide the trifecta of safety, concurrency and speed. It's very fun to use (rated #1 favorite language in Stack Overflow's survey 5 years and counting) and has fantastic tooling.

If you're already using Rust or looking to get started - please sign up!

The current proposed goals of the user group are:

  • Develop a rich toolkit of Rust libraries and applications for working with Wikimedia and MediaWiki projects and APIs
  • Make Rust a first-class language in Wikimedia infrastructure like Toolforge
  • Encourage the usage of Rust where appropriate to build safer and better tools
  • Assist others who end up encountering Rust and need help (e.g. when upstreams adopt Rust)
  • Mentor new developers who are interested in contributing technically to the Wikimedia movement, including through programs like GSoC and Outreachy

Have other ideas of what we could do? Please suggest them on the talk page!

Legoktm (talk) 07:50, 12 February 2021 (UTC)

API query in Polish languageEdit

Hi,

I'm trying to get a result like the one here:

https://codepen.io/malavender/pen/qdvMyO

but when swapping the API URL to 'pl.' and query titles to ex. 'Szczęście' (Happiness), I get nothing. Tried using UTF-16 encoding (Szcz%C4%99%C5%9Bcie) to avoid diacritics, but that fails, too.

Can anyone advise? I'd just like to be able to list some topics, like the codepen author does on line 7 of his .js script.

Best regards, bo —The preceding unsigned comment was added by Bonobonoxyz (talk) 12:24, 12 February 2021 (UTC)

Bonobonoxyz, is the API response also empty or only the final result? English and Polish Wikiquote probably use different formats of templates, so you need to rewrite response parser to accommodate that. There is a proposal of Structured Wikiquote and I very much hope that in the future we will have it, then something as simple as getting a list of quotes will be a trivial task, but at the moment it is what it is. P.S. Please use four tildes, ~~~~, to sign. --Base (talk) 13:14, 12 February 2021 (UTC)
The language here is not an issue, it's more a matter of what you're trying to do. From your code I see you're trying to use the mw:Extension:TextExtracts, which is better than trying to do all the parsing yourself, but what do you expect to get from it? What are you trying to accomplish? How did you determine that's the best API for the purpose? From what I can tell, it's working as expected: https://pl.wikiquote.org/w/api.php?action=query&prop=extracts&exsectionformat=plain&titles=Szcz%C4%99%C5%9Bcie
The API does very little work for you, don't expect to have anything that works consistently across languages. I wonder if maybe it would be helpful to consider the matter more generally: mw:API:Parsing wikitext, mw:Extension:FeaturedFeeds. Nemo 19:05, 12 February 2021 (UTC)

Technical maintenance planed‬Edit

Translating Wikimedia portalsEdit

I want to translate https://www.wikibooks.org/, https://www.wikiversity.org/, https://www.wikivoyage.org/, https://www.wikinews.org/, https://www.wikiquote.org/ and https://www.wiktionary.org/ in Romanian, but I do not know where I can do that. Also, I already translated https://www.wikipedia.org/ on translatewiki in Romanian, but the translations are still not live. --NGC 54 (talk / contribs) 10:51, 22 February 2021 (UTC)

@NGC 54: Hi, looks like the last "Localisation updates from https://translatewiki.net" was merged into the codebase seven days ago. The codebase then gets copied (deployed) on the servers usually once a week (if all goes well). So things can take up to two weeks in total. When did you finish the translations? --AKlapper (WMF) (talk) 15:23, 22 February 2021 (UTC)
For general info and context: Project portals. --AKlapper (WMF) (talk) 15:26, 22 February 2021 (UTC)
@AKlapper (WMF): 35 messages on 6 February 2021, 2 messages on 17 February 2021 and 4 messages on 20 February 2021. None of these messages are live. --NGC 54 (talk / contribs) 17:49, 22 February 2021 (UTC)
Are you sure? I just randomly checked https://translatewiki.net/wiki/MediaWiki:Wikibase-sitelinks-wikiversity/ro and it's on https://www.wikidata.org/wiki/Q80699535?uselang=ro. Stryn (talk) 08:21, 23 February 2021 (UTC)
@Stryn: When I acces https://www.wikipedia.org/, I see "enciclopedia liberă" instead of "Enciclopedia liberă" (https://translatewiki.net/w/i.php?title=Wikimedia:Portals-wiki.slogan/ro&action=history); I see "Wikipedia is hosted by the Wikimedia Foundation, a non-profit organization that also hosts a range of other projects." instead of "Wikipedia este găzduită de Wikimedia Foundation, o organizație non-profit care găzduiește de asemenea o varietate de alte proiecte."... --NGC 54 (talk / contribs) 11:33, 23 February 2021 (UTC)
I also still see the old translation (I had to dig into my browser preferences as it doesn’t seem to be a way to change the display language on www.wikipedia.org…), even though the change appeared in Git almost two weeks ago now. No idea what’s going on. —Tacsipacsi (talk) 14:38, 28 February 2021 (UTC)
@NGC 54 and Tacsipacsi: The portals are unlike the MediaWiki software, they have a separate manual deployment process: phab:T128546. Normally this happens on a Monday morning, but it appears to have been missed for a few weeks (I know one of those Mondays was a WMF holiday). A deployment did just happen this morning, and the Romanian translations appear to be live now. the wub "?!" 12:13, 1 March 2021 (UTC)
@The wub: The translations are live now. --NGC 54 (talk / contribs) 12:23, 1 March 2021 (UTC)

Template:LangSelect doesn't work with all language settingsEdit

Hope this is the correct place to report this, if not please forward: Template:LangSelect displays nothing if the language is set to for example de-CH. Would also be nice if it'd fall back to de or even en or any other available language to at least display something instead of just nothing, or maybe give a hint about the selection box at the very top of the page if the current language isn't translated for some text. --Nenntmichruhigip (talk) 13:28, 3 March 2021 (UTC)

Strings to translate not updated for Wikimedia EndowmentEdit

Hello, Strings to translate for Wikimedia Endowment has not been updated since a year, is there something we can do to update them ? Thanks Jona (talk) 17:22, 5 March 2021 (UTC)

@Jona: Translations need to be pushed manually by a translation administrator, because it’s difficult to get the translation syntax right, so a human review is often necessary. If you’re lucky, we notice pages in need for pushing after some time, but you can reach out at Meta talk:Babylon if you’re impatient. (I pushed this page for translation now.) —Tacsipacsi (talk) 02:05, 6 March 2021 (UTC)
@Tacsipacsi: OK, thank you ! Jona (talk) 17:39, 7 March 2021 (UTC)