Jump to content

User talk:Shirayuki

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
The MediaWiki logo
Mahabarata73 (talkcontribs)

In this category, the first listed page (in the "Pages in category MediaWiki hooks" section) is "Manual:Hooks".

If you change the language, the displayed name is, for example for Deutch: "de"; for Espanol: "es"; for French, "fr"; instead of "Manuel:Hooks/de_or_es_or_fr".

The problem probably is in the source of this page, could you fix it?

Shirayuki (talkcontribs)

{{HideCategoryPrefix|Manual:Hooks/}} removes "Manual:Hooks/" from category names.

Reply to "Category:MediaWiki_hooks"
Mahabarata73 (talkcontribs)

Could you allow translations for this page ?

Mahabarata73 (talkcontribs)

Could you allow translations for this page ?

Reply to "Manual:Hooks/UserLogout"
Mahabarata73 (talkcontribs)

Could you allow the translation of this page ?

Stop using rollback inappropriately.

4
Summary by Shirayuki

Yes Done

Ammarpad (talkcontribs)

First, the purpose of rollback is to deal with bad edits.

I made an edit, you did not understand it, but nonetheless you reverted it with 'undo button' with a false claim of wrong markup, which it was not. I challenged you and restored it. Instead of you to explain your reasoning, you went ahead and just 'rollbacked' it with absolutely no reason just because you can. You cannot even explain what you're doing.

I will revert it. If you disagree with the edit, explain yourself and stop misusing rollback thinking just everything has to suit you.

Shirayuki (talkcontribs)

Adding <br> to a sentence that already has translations invalidates the existing translations and creates extra work for translators in each language. If you only want to reduce the width, we should use TemplateStyles.

Chealer (talkcontribs)

@Shirayuki was right to revert your change. Your markup was indeed incorrect, and the reason why you added it was also wrong. His edit summary could have been much clearer, but it was not false. Your intentions may have been good, but I consider that your edit was "bad".

Shirayuki (talkcontribs)

I have explained sufficiently. </br> is not a valid HTML tag.

Misleading edit metadata ("minor" edits)

4
Summary by Shirayuki

Yes Done

Chealer (talkcontribs)

Greetings,

I notice that you have been reverting changes incorrectly in several recent cases:

  1. Special:Diff/6770494
  2. Special:Diff/6770519
  3. Special:Diff/6813778

Although the first 2 reversions are correct, all of these are misleading because they are marked as minor edits. Edits which revert a recent intentional change by another contributor should never be marked as minor. Additionally, "wrong markup" is not an appropriate edit summary for #3, where you:

  1. altered formatting
  2. changed whole sentences
  3. inserted a stray newline
  4. prevented translation of localized text.

In a case like this, the discussion page must be used to explain your changes and why you think the markup is wrong. You must also notify the contributor whose changes you revert.

Shirayuki (talkcontribs)
  • The translation unit marker <!--T:474--> is duplicated. As it is added automatically, it should not be inserted manually.
  • The translation unit beginning with "MediaWiki interprets certain" is too large. To reduce the impact of source text changes on translations, more granular markup is necessary.
  • The link text "Help:Extension:ParserFunctions#Escaping pipe characters in tables" should remain translatable. To respect existing translations, the translation unit marker should not be removed.
Chealer (talkcontribs)
  1. The text beginning with "MediaWiki interprets certain" is not a translation unit. It is just a localizable text.
  2. The link text you mention is basically a shortened URL, and as such, cannot be translated at least in this case.
Shirayuki (talkcontribs)
  • By enclosing the large paragraph starting with "MediaWiki interprets certain" within translate tags, you turned it into a single translation unit.
  • Additionally, by moving the tvar tags, the link text was excluded from translation and became untranslatable. The freedom to translate link text (especially “#Escaping pipe characters in tables”) should not be restricted.

These were both instances of incorrect markup that would inconvenience translators, so I have reverted them.

Some questions about handling translations

13
Summary by Shirayuki

Yes Done

Anterdc99 (talkcontribs)

After viewing the recent edits on Extension:Scribunto/Lua reference manual, I have some questions:

  • Currently, separators in some compound sentences are included in <tvar> tags, it seems fine to reducing variable usages and well formatting in languages like English. But in some language, Simplified Chinese for example, is more prefer to use as separator to express such relation, or use full-width comma , is there have a proper way to both simplify translation units and formentioned translation issue?
  • I noticed that some translation units have formatting characters (e.g. the starting *) included, it's proper to include them in translate units? Since some translators might lose such formatting character to cause formatting issue, although is a rare situation.
  • Some translation units have multiple bullets (like T:2559), should them be separated or using multiple lines starting with bullet to list them? I noticed that the surrounding translation units contains only one item, should it be consistent with others?
Shirayuki (talkcontribs)

Many translation units already have translations in multiple languages. Forcing a trivial change, such as removing bullets from translation units, imposes the tedious task of updating existing translations on translators.

Anterdc99 (talkcontribs)

Despite of that, I still oppose introduce more leading format characters to new translation units. For existing ones, it might better to change it incidentally when other part is needed to change.

Shirayuki (talkcontribs)
Anterdc99 (talkcontribs)

K

Shirayuki (talkcontribs)

Stop insisting on making edits that remove formatting characters and respect the existing translations.

How many more times do I have to explain this for you to understand?

Anterdc99 (talkcontribs)

I have nothing to say, I will just quote what you just said "please take responsibility for updating the existing translations", if you not accept what I did, its fine for me to keep the current text, I don't realy care about that.

Shirayuki (talkcontribs)
Anterdc99 (talkcontribs)

I will responsible to source edits I made, absolutely. In fact, I have listed changed unit numbers for my last change, and I believe I'm ready to find these by numbers change them (if translations is already up to date in its literal meaning) when you approve it, but you didn't.

For unit 1295, if you want to blame someone, I'm sure that you find the wrong person since I checked edit I made in that day. Although, since you mention the unit, I will help splitting it if existing translations are up to date, as I mentioned above. For translations that not up to date, its more safe to wait a translator using that language, since non-formatting changes is responsible to these translators.

Shirayuki (talkcontribs)

Since you are saying that you are willing to remove formatting characters from translation units, even if it requires you to update each translation in other languages one by one, I will trust you and approve your edits.

Simply editing the source page does not invalidate translations; translations are only invalidated once a translation administrator approves the page, marking it for translation. Thus, I showed unit 1295 as an example by marking it experimentally, with no intent beyond demonstrating this process.

Anterdc99 (talkcontribs)

Also, translation unit separation (if also considered as trivial changes) like T:2559, I think it doesn't involve issues of imposes tasks to translators, since this type of separation is easy to handle during marking revision to be translated, or simply find the units that not separated yet and split it by its proposer.

Shirayuki (talkcontribs)

When dividing a translation unit into multiple translation units, it is easier to update existing translations by simply splitting at line breaks, regardless of the presence of bullet points. In particular, separating each item with a line break allows for easier confirmation of consistency with the original translation. This approach offers translators the advantage of maintaining consistency while responding quickly. Additionally, it helps minimize the impact of the split and avoids unnecessary confusion.

Shirayuki (talkcontribs)

If you absolutely need to change the comma style within <tvar>...</tvar>, the following can be used without creating tedious work for translators:

  • A{{int|comma-separator}}BA, B
  • A{{int|and}}{{int|word-separator}}BA and B

Page with several translation pages not linked to the English page

1
Summary by Shirayuki

Yes Done

Mahabarata73 (talkcontribs)

This page has several translation pages (for example /de and /fr) but not linked to the English page because the template "languages" is missing.

But this template is obsolete so could you allow the translation of the English page?

Translated pages with no "Other languages" line

2
Mahabarata73 (talkcontribs)

We can translate this English page, and several translated pages exist (the de and fr pages for example) but we cannot move from a translated page to another one because the line "other languages" is missing.

Shirayuki (talkcontribs)

Use <languages />. Once a translation administrator marks a page for translation, the "other languages" bar will be displayed.

For pages that are not planned to be marked, use {{languages}} instead.

Reply to "Translated pages with no "Other languages" line"
Summary by Shirayuki
Hasktyle554 (talkcontribs)

hi

Hasktyle554 (talkcontribs)
Documentation

Documentation

This template provides a standard layout for infoboxes.

Usage

To use this template, include the following in your article:

{{Infobox
| name            = 
| image           = 
| image_size      = 
| caption         = 
| property1       = 
| value1          = 
| property2       = 
| value2          = 
| ... (additional properties) ...
}}

Template Code

style="width: 22em;"
image = image_size = caption =
property1 = value1 =
property2 = value2 =
... (additional fields as needed) ...