Support/Archive/2024/02

From translatewiki.net
Archive icon This is an archive page for the Support page. Do not post new threads here, they will likely not be read. If you wish to continue an archived discussion, start a new thread on the Support page and include a link to the archived discussion.
Archives
2024
Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec

Frequency of updates

I am working on translations for Icelandic-language Wikimedia projects and am wondering how frequently updates, whether new translations or changes to existing translations, are pushed to the projects. Some days ago I translated the names of all the tracking categories (Special:TrackingCategories) and am still waiting to see the update appear live. Is it a manual process or is the a threshold to trigger an automated process? I am specifically talking about Wikimedia projects, not the MediaWiki software project itself. Stefán Örvar Sigmundsson 20:00, 3 February 2024 (UTC)

@Stefán Örvar Sigmundsson: The schedule for deploying updates (including translations) to Wikimedia projects is wikitech:Deployments/Train. So changes you make here up until a Monday (I might be wrong about the day here, hopefully someone will correct me if I am) will generally appear on the Icelandic Wikipedia the following Thursday (time of day might vary), and on the other sister projects the day before. There are some exceptions to the schedule for major holidays (Christmas/New Years come to mind), but not many. Jon Harald Søby (talk) 22:15, 3 February 2024 (UTC)
@Jon Harald Søby Monday ~ 3 UTC. Then the export script runs and later on Monday the branch is cutting by WMF staff for deployment. Raymond 20:50, 4 February 2024 (UTC)
Thank you both for the information. Stefán Örvar Sigmundsson 13:13, 5 February 2024 (UTC)
@Jon Harald Søby and @Raymond: Is it not strange that changes I made on Tuesday, 30 January, have not been deployed? I translated all the tracking categories and some of the message on Special:TrackingCategories but nothing has been deployed so far. Should they not have been exported on Monday, 5 February, and deployed on Thursday, 8 February (today), to Wikipedia and Wednesday, 7 February (yesterday), to the other projects? Stefán Örvar Sigmundsson (talk) 20:49, 8 February 2024 (UTC)
@Stefán Örvar Sigmundsson Your translations were exported on January, 31st and went live this night. Islandic Wikipedia belongs to the group2 (as one of the bigger WMF wiks) of the deployment train. You should see you translations now on Wikipedia. Raymond 07:29, 9 February 2024 (UTC)
I do see them live. I was getting worried. Thank you. Stefán Örvar Sigmundsson (talk) 13:59, 9 February 2024 (UTC)

Admin needed for a handful of changes

These changes were flagged by the anti-abuse filter as "Suggest changes to source texts using the "ask question" button", weirdly:

Shouldn't be "weirdly". We don't export source text changes. These need to be handled via upstream. Europeana is no longer translated here and Mifos/Phabricator are not very responsive I'm afraid. Nike (talk) 07:58, 17 February 2024 (UTC)

Request for username change

Please rename this account from "Tryvix1509" to "Hide on Rosé". Thanks! Tryvix1509 (talk) 03:03, 18 February 2024 (UTC)

@"Hide on Rosé Done. Raymond 09:14, 19 February 2024 (UTC)

<a> tag in messages for CI

Recently, I've gone over L10n-bot commits and searched for some that had to be merged manually. A common reason for this is that continuous integration (CI) automatically searches for translations with text that looks like XML tags. I fixed a few cases where this had to be done by adding tags that it didn't recognize (example one, example two). @Raymond and @Nike may have noticed it.

There's another tag that appears in some messages and isn't recognized by CI: <a>. Example from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikimediaMessages/+/1003352 :

[mediawiki-i18n-check-docker] $ /bin/bash /tmp/jenkins4030370713379051079.sh
+ cd src
++ pwd
+ git config --global --add safe.directory /srv/jenkins/workspace/mediawiki-i18n-check-docker/src
++ mktemp
+ additions=/tmp/tmp.AE5XxlT3qD
+ git show FETCH_HEAD -U0
+ grep '^+'
+ contains_disallowed_html /tmp/tmp.AE5XxlT3qD
+ cat /tmp/tmp.AE5XxlT3qD
+ sed -E -e 's/<\/? ?(abbr|span|br|strong|em|pre|nowiki|charinsert|b|del|code|kbd|p|tt|div|i|big|sup|sub|samp|var|small|h1|h2|h3|h4|u|ol|ul|li|mark|user|page|hr|templatestyles|NDL|math|syntaxhighlight|templatedata|pagelist|bdi|ref|dt|dd|dl)( ((class|id|title|lang|xml:lang|dir|xmlns|display|alttext)=\\?["'\''][^=<>"'\'']*\\?["'\'']))* ?\/?>//g' -e 's/<!--//g' -e 's/<https?:\/\/[a-zA-Z0-9./-]*>//g'
+ grep '<'
+	"graph-disabled-category-desc": "'A pàgene ave 'nu tag <graph>, 'u quale jè teboraneamende non disponibbele ([[phab:T334940|T334940]])."
+	"wikimedia-copyright": "Nanich tsəm-ikta kikwili <a href=\"https://creativecommons.org/licenses/by-sa/4.0/deed.en\">Creative Commons Attribution-ShareAlike License</a>;\nNanich x̣luima la yakwa!\nNanich <a href=\"https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use\">Terms of Use</a> pus maika tiki x̣luima kəmtəks.",
+	"wikimedia-copyright": "Nwed aba ke diak <a href=\"https://creativecommons.org/licenses/by-sa/4.0/deed.en\">Creative Commons Attribution-ShareAlike License</a>;\nmkpo nwen aya diana.\nSe <a href=\"https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use\">Nagha Udu</a> kama mi.",
+ echo 'HTML detected. Manual review required'
HTML detected. Manual review required
+ exit 1

Should <a> be added, too? Or is it too generic and unsafe? Amir E. Aharoni (talk) 15:00, 15 February 2024 (UTC)

@Amire80 I think it is important to check a tags manually to see if someone has injected a bad link and/or dangerous HTML inside the a tag. But I am not a security expert. Raymond 09:13, 19 February 2024 (UTC)
a tag is most probably safe, but the href attribute is not, which is unfortunately used in most matches. Nike (talk) 12:11, 19 February 2024 (UTC)
I didn't count precisely, but it looks like reviewing these translations is a significant part of the manual work in translation exports. Perhaps we could be more strict about requiring no markup in messages, especially when it is the same in all the languages? Amir E. Aharoni (talk) 18:20, 23 February 2024 (UTC)
How would you be more strict in that? We already have challenges of getting fixes to message definitions. Nike (talk) 19:21, 23 February 2024 (UTC)
Well, umm... Some naïve ideas:
  • Write a stronger recommendation to avoid markup in :mw:Help:System message. It's already there, but it could be phrased more like a demand than a recommendation.
  • Find a way to avoid explicit "a href" in license and fundraising messages. That's where they mostly appear. I went over all other extensions used by Wikimedia (though not all the extensions hosted on Gerrit), and that's pretty much all I could find (I tried fixing a few other trivial things myself, and they are all listed in https://phabricator.wikimedia.org/T358384 ).
  • Report bugs instead of quietly saying "false positive" when manually merging patches that require it. (Or are they already reported, and I missed it?)
Amir E. Aharoni (talk) 00:03, 24 February 2024 (UTC)

Request to add script

Hello,

I want to request the Arabic script for Dobrujan Tatar to be activated.

  • Name: Dobrujan Tatar (Arabic script)
  • Native name: تَاتَارْشَا
  • Code: crh-ro -> crh-arab-ro

And to make the variation clear, I propose this changes too:

  • Name: Dobrujan Tatar (Latin script)
  • Native name: Tatarşa
  • Code: crh-latn-ro

Sincerely -Zolgoyo (talk) 17:01, 10 February 2024 (UTC)

I'll do the Arabic one some time soon. I need to check some more things about Latin. Amir E. Aharoni (talk) 00:06, 24 February 2024 (UTC)
@ User:Amire80 I withdraw my request. You don't need to add the script. Zolgoyo (talk) 22:44, 24 February 2024 (UTC)

Disabling Votic as a language option

Hello. After a conversation with an administrator and the subsequent deletion of all Votic Mediawiki translations due to their various issues, the language might be needed to be disabled as a language option both here and in Mediawiki. Having a language option for a language with no actual translations into it is questionable and can easily cause confusion. I am not currently aware of any better alternatives, as getting new translations seems unlikely at the moment. I don't really know enough about the logistics, so I can't really say much more than this at the moment. I do not know where else to put it at the moment, so forward this to the applicable people or let me know where to forward this message if it's worth your time. Comments are welcome. John k. (talk) 17:21, 16 February 2024 (UTC)

It's technically possible to remove it, although we usually don't do it only because there are no translations. Amir E. Aharoni (talk) 13:54, 23 February 2024 (UTC)
@Amire80 I would say that my argument here is that not only are there no translations, it seems quite unlikely to get new ones, especially those of higher quality; I assume that you're already aware of this though, and that this is unlikely to change your position. John k. (talk) 13:35, 24 February 2024 (UTC)
Not by itself :)
What I can say is that these days we generally try to watch for quality more strictly than in the past, so if someone does come, we'll try to verify it before it's imported. Amir E. Aharoni (talk) 16:27, 24 February 2024 (UTC)

Request for username change

I've changed my username in the Wikimedia project so I'd like to have the same account name in translatewiki.

Can I change it to User:Mirror-kt?

thanks! Misato Kano (talk) 10:24, 24 February 2024 (UTC)

@Mirror-kt Done now. Raymond 10:44, 25 February 2024 (UTC)