About this board

This is a MediaWiki.org user page.

If you find this page on any site other than MediaWiki.org, you are viewing a mirror site. Be aware that the page may be outdated, and that the user this page belongs to may have no personal affiliation with any site other than MediaWiki.org itself. The original page is located at https://www.mediawiki.org/wiki/User_talk:Shirayuki.

The MediaWiki logo
Tacsipacsi (talkcontribs)
Shirayuki (talkcontribs)

After updating old code, check all checkboxes feature is needed to avoid invalidating the existing translation units.

P858snake (talkcontribs)

@Shirayuki Can you please slow down your editing? You are making RecentChanges extremely hard to look at for actioning edits such as spam, and there is also complaints from other people about their watchlists.


"Old syntax still works and will probably work forever, but new code should use the new syntax, and we should gradually update old code as well."


Since it's indicated that the old method still works, There shouldn't be such a rush in what feels like to edit every single translated page on this wiki.


This seems like a task that would be prefer for a Bot Flagged account so the edits can be hidden.

Shirayuki (talkcontribs)

I see. Sorry about that. I have edited pages containing more than 30 <tvar>s.

Reply to "New tvar syntax"
HirnSpuk (talkcontribs)

You used a sad smiley... Sorry to have you bothered. I'm sorry for not being familiar with translation-interface. But I used a fair amount of my time to check what this paragraph meant, so I thought I help the next user to save upon this time. I'd really appreciate, if you explain to me, what I should have done to avoid the sad smiley on your behalf :(.

Especially, since the warning doesn't seem to be translateable now and in my version, they should have, or am I wrong?

Regards

Shirayuki (talkcontribs)
HirnSpuk (talkcontribs)

I was and you frowned... That didn't feel well. And actually I experienced this a lot in Mediawiki-Projects. I mean being bold and obviously not doing the right stuff. And instead of getting an explanation there usually happens one of three things: a simple revert, a "correction" (meaning changed in a way somebody else liked better, who didn't care for the stuff for month) or like in your case just an editing comment that does not help... BTW: You still did not explain, what I should have done. I'll probably refrain from editing again, so just not to bother. I'm sorry I don't mean to offend. Regards

Shirayuki (talkcontribs)
HirnSpuk (talkcontribs)

Thanks! But on the contrary, that's noted otherwise there: Help:Extension:Translate/Page_translation_example#Step_4:_Making_changes

Or am I misunderstanding the example?

Do I understand it correctly, I put the already translated, not changed, paragraph out of translation-synch (which isn't so bad after all, but causing the necessity to translate the whole text again, because the translation-IF gets messed up)? It would have been fine, if I just would have added my text before the < ! - - T:53 - - > -Tag? Cause then, the system would have known, that there is "only" a new paragraph and the old paragraph didn't change?

Regards

Reply to "Sorry to bother..."
Adamw (talkcontribs)

Hi, apologies for making the bad changes to various translated pages, and thank you for helping clean up the mess I left. I was wondering if you could explain what went wrong with a change like this, and how I can better verify my work next time. Maybe the mistakes are more visible in the translation admin interface?

Shirayuki (talkcontribs)
Adamw (talkcontribs)

I tried to compare the rendered English and Japanese pages at each revision and they look identical to me. Where should I be looking to see a problem?

The thought behind my edit is that <translate> tags don't need to be closed and opened again immediately, they can span multiple translation units safely and this makes the wikitext easier to understand. I was hoping that my change wouldn't invalidate any of the translated units, but maybe that wasn't the case?

If you agree this is a worthwhile change but I made a mistake somewhere, I'd be happy to apply in smaller bites so we can experiment carefully and still improve the markup. If this page doesn't feel important enough to spend time on, I would understand that as well!

Shirayuki (talkcontribs)

Compare paragraphs. "<translate> tags don't need to be closed and opened again immediately" is wrong.

Adamw (talkcontribs)

Please let me know which paragraphs to compare, and in which language, or maybe post a screenshot? I still don't see where the mistakes occur.

The documentation suggests that <translate> can and should span multiple translation units, maybe the documentation is wrong, or I misunderstood it?

Shirayuki (talkcontribs)

Compare the above two links. Compare the section "Dependencies". Why don't you find???

Adamw (talkcontribs)

I see it now, thank you for your patience. I was looking for a text or translation unit change, but you were pointing out the extra newline in my version. I see the documentation about this under "splitting units", it seems that the translate extension requires the extra newline to automatically split units, otherwise they will be considered part of the same paragraph.

My suggestion is that the translation units (T:6 and T:94) should be merged, since they are meant to be rendered as a single paragraph—do you know why this hasn't been done already? Maybe just to avoid the invalidation and extra work for translators?

Shirayuki (talkcontribs)

I don't understand what you wanted to do. You broke the page.

Adamw (talkcontribs)

I was trying to reduce the number of unnecessary translate tags, they clutter the wikitext and make it difficult to edit.

The extra line break hardly "broke" the page, but I agree that my cleanup change should have been pure markup and not caused any visible differences on the page. Since it's partly my responsibility as a developer to help maintain mediawiki.org pages, I'll continue to do translation cleanup when possible, so I appreciate your help. In the future, at least while I'm still learning the nuances of page translation, I'll make smaller changes so they can be reverted individually.

Shirayuki (talkcontribs)
Pols12 (talkcontribs)

As we already explained you Shirayuki, your “fix” still produces wrong markup with post-2020 Translate syntax: we need to exclude bullets from translate tags, like this.

Shirayuki (talkcontribs)

But your edit makes the existing translation units outdated.

Pols12 (talkcontribs)

True, indeed, but easy to fix in any language: if you mark it now, I commit to fix all translations today.

Pols12 (talkcontribs)

Done, thank you Shirayuki!

Reply to "My bad translate tags"

Possible block evasion by The IP address

1
Nieuwsgierige Gebruiker (talkcontribs)
Reply to "Possible block evasion by The IP address"
Pokai (talkcontribs)

Hey! @Shirayuki I request you to create a page for Gyaanipedia. It is a wiki farm, having various language wikis. So I think like Miraheze and WikiApiary, Gyaanipedia is also eligible to be here as it also uses MediaWiki software for its wikis. So it's my humble request kindly create a page for Gyaanipedia. Thanking you with due respect. Pokai (talk)

Shirayuki (talkcontribs)
Reply to "Request for page creation"

Setting up XTools pages for translation

5
MusikAnimal (talkcontribs)

Thanks for the help getting the XTools pages set up for translation! I just did XTools/Page History, going by the corrections you made to the other pages, so hopefully I did it properly time time :) I intend to set up all the pages listed at XTools#User documentation, should you feel inclined to help.

Just one issue I noticed... Putting the <translate> tags around bulleted items breaks accessibility in the translated pages. For instance view the HTML of the bulleted items at XTools/de#ArticleInfo gadget. Each one is in its own <ul> tag, when there should only be one <ul> tag. I'm assuming we can fix this by changing the message from:

<translate>

* Number of revisions.</translate>

to:

* <translate>Number of revisions.</translate>

Is that correct? Many thanks for the assistance!

Shirayuki (talkcontribs)

Untranslated translation units are enclosed in div tags. It will be resolved by translating them.

Pols12 (talkcontribs)
MusikAnimal (talkcontribs)

Thanks, I will remove the bullet points from the messages as it seems they haven't been translated yet, so it's not too late.

Nikerabbit (talkcontribs)

Shirayuki, please follow the recommended syntax for lists per the documentation linked above. I see you have used the wrong syntax on other pages too, for example on MediaWiki history.

I have also observed a while that you are splitting a lot of existing translations units, for example here: https://www.mediawiki.org/w/index.php?title=MediaWiki_history&diff=4305770&oldid=4048950&diffmode=source. I understand this makes sense for translators, as it is easier to translate shorter units. However, you are needlessly invalidating existing translations (causing more work for translators) and making the page source more cluttered with the translation markup (which makes page editors less likely to edit and update the page). I think this practice does more harm than good, and I suggest you stop doing it.

Reply to "Setting up XTools pages for translation"
Ciencia Al Poder (talkcontribs)

I'd like to prevent changes such as those, which sole purpose is renaming variables. This makes no benefit to existing translations. In fact, it causes all of them to become invalid/outdated, consuming valuable translators time in fixing them. It's good to use this on new translations but please don't change them on existing translations unless there are also other changes to do in such translation units. Thanks for your cooperation.

Reply to "Renaming variables"
Baris6161TURK (talkcontribs)
Reply to "Moving pages"
Tacsipacsi (talkcontribs)

Hi! Please turn off translation-aware transclusion of Template:Free screenshot, otherwise my revert doesn’t have any effect (as it can be seen at the first two examples, which should show valid licenses instead of error messages). (Also, as I have indicated in several edit summaries, translation-aware transclusion simply doesn’t work for templates used on file description pages, as they always have page language set to English, so it shouldn’t have been turned on in the first place.)

Pppery (talkcontribs)

Yes Done

Reply to "Template:Free screenshot"

Help about move translatable page

1
Want (talkcontribs)
Reply to "Help about move translatable page"