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
CMassaro (WMF) (talkcontribs)

Hi! I noticed that you marked some areas of text for translation after my edit. Is that something I can/should do when I make edits? If so, how?

Shirayuki (talkcontribs)

Thanks. It is translation administrators' area, so there is nothing to do.

Reply to "MediaWiki-Vagrant"
WikiForMen (talkcontribs)

Strange. I read, that it was deleted… --WikiForMen (talk) 23:11, 8 November 2020 (UTC)

Shirayuki (talkcontribs)
Reply to "MediaWiki:Common.js"

Question about historical pages

3
Baris6161TURK (talkcontribs)

Hello. I am here you to ask that if it is possible to mark translation for historical pages ({{Historical}}), like API:Account creation/pre-1.27 and other historical pages. Are you allowing to add them? I just asked that if it is possible.

Shirayuki (talkcontribs)

No need to translate historical pages. For example, MediaWiki 1.27, Release notes/1.27 and friends are "discouraged" (translatable, but hidden from the translation interface).

Baris6161TURK (talkcontribs)

Understandable, have a great day.

Reply to "Question about historical pages"

Markup for incomplete translations

8
Tacsipacsi (talkcontribs)

Hi! I see that you introduced |1= syntax for multiple pages. This is important and thanks for it, but it would be even more important if not only outdated, but also missing translations were marked in the wikitext. This is a new feature, enabled this week, but doesn’t automatically apply to pages in order not to break the whole wiki because of errors like missing |1=s. To enable it on a given page, you can tick “Use latest syntax version for this page” at the very bottom of the mark for translation page (after thoroughly checking the page for issues like unnamed parameters or use of translate tags where wikitext is not allowed, like HTML attributes; in the latter case, you can use <translate nowrap> instead of <translate> to disable marking both missing and outdated translations). While enabling the markup for untranslated texts is not a strict necessity, it greatly improves accessibility, so it would be great if you could migrate at least pages you touch anyway. Thanks in advance!

Shirayuki (talkcontribs)
Nikerabbit (talkcontribs)

I would like to add, that when splitting paragraphs, I recommend using this formatting:

<translate><!--T:1--> Text.</translate>
<translate><!--T:2--> Text.</translate>

In the above, untranslated or outdated sentences will get <span> wrapping.

If you do it like this:

<translate>
<!--T:1-->
Text
</translate>
<translate>
<!--T:2-->
Text.
</translate>

Untranslated or outdated sentences will get <div> wrapping and this breaks the paragraph flow. For example see the first paragraph in Development policy/fi which is split into two.

Shirayuki (talkcontribs)

I am using the style below to find translation unit markers quickly.

For this style, can the extension add <span> wrapping instead of <div>?

<translate>
<!--T:1-->
Text</translate>
<translate>
<!--T:2-->
Text.

<!--T:3-->
Text.
</translate>
Nikerabbit (talkcontribs)

Translate cannot know which one to add. It uses line breaks in the content as heuristics. If there are no line breaks, then it uses spans.

Tacsipacsi (talkcontribs)

@Nikerabbit: Do all line breaks count, i.e. before the unit ID, right after the unit ID and at the end? I looked at the code a while ago, and I recall that the line break check occurs after some preprocessing. Am I wrong?

@Shirayuki: The span syntax should be used only when the translation units actually form one paragraph and have no syntax that should be at the start of the line. See the last paragraph of Help:Extension:Translate/Page translation administration/lb#Anatomie vun enger iwwersetzbarer Säit for a bad example: it contains an unordered list syntax (*) and a definition list syntax (:), both of which are only valid at the very beginning of the line and thus they break if they are embedded in a <span> (with no line break after the open tag).

Nikerabbit (talkcontribs)

All line breaks count.

Shirayuki (talkcontribs)
<translate>
<!--T:1-->
* block text.</translate> <translate><!--T:2--> inline text.</translate> <translate><!--T:3--> inline text.</translate>
<translate>
<!--T:4-->
* block text.
</translate>

Actual result (untranslated or outdated):

  • block text.

inline text. inline text.

  • block text.
Speravir (talkcontribs)
Reply to "Manual ping"
Davidsmeltzer07 (talkcontribs)

I need help sir with a mediawiki extension. Can't seems to be able to install it

Reply to "An extension"
Kizule (talkcontribs)

Hi, please delete Communication/sr, page contains a lot of machine translation that is hard for me to fix. Best regards!

Shirayuki (talkcontribs)

Yes Done

Kizule (talkcontribs)
Shirayuki (talkcontribs)

Yes Done

Kizule (talkcontribs)

I've added one more now. :)

Kizule (talkcontribs)
Prof - Yung chang (talkcontribs)

Thanks for deleting I saw that you had deleted more psge, I'm really glad you did that

Reply to "Request for deleting of page"
Eihel (talkcontribs)

Hello Shirayuki,
I hope to find you in good health during this curious period. In Help:Substitution, I added the links to English Wikipedia by w:en:The_page_link, because some of these links were previously in red. But I added "en" on purpose, putting myself from the translator's point of view, even if this approach takes up more space. It was an incentive to find a link like w:fr:The_same_page_in_another_language or w:hi:This_language. What do you think ? Of course, when the link is in a translation variable, there is no need to add "en".

Also, when you add "(in English Wikipedia)", you may have seen my translations as well. For example, w:Help:Parameter default is currently the only existing page, hence the additional precision.

Best regards

Shirayuki (talkcontribs)

w:en:Help:Parameter_default causes an extra redirection.

# wget https://en.wikipedia.org/wiki/en:Help:Parameter_default
--2020-11-22 11:36:07--  https://en.wikipedia.org/wiki/en:Help:Parameter_default
Resolving en.wikipedia.org (en.wikipedia.org)... 103.102.166.224
Connecting to en.wikipedia.org (en.wikipedia.org)|103.102.166.224|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://en.wikipedia.org/wiki/Help:Parameter_default [following]
--2020-11-22 11:36:09--  https://en.wikipedia.org/wiki/Help:Parameter_default
Reusing existing connection to en.wikipedia.org:443.
HTTP request sent, awaiting response... 200 OK
Shirayuki (talkcontribs)
Eihel (talkcontribs)
Reply to "Links to english pages"

What's the php file for the vector/minever skin side bar

1
Summary by Wargo
Goodman Andrew (talkcontribs)

I need to change the donation URL link and I want to do it from the php file at the server end.

SamanthaNguyen (talkcontribs)
The Barnstar of Diligence
Thank you for all your work on MediaWiki.org, and constantly translating all the content to help make it more accessible to everyone! Your work is seen and very much appreciated. :)
Reply to "A barnstar for you!"