User talk:Shirayuki

Jump to navigation Jump to search

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
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!"
Dinoguy1000 (talkcontribs)

Could you explain (or point to some page that explains) how to search through code history on Gerrit, to track down changes for configuration options, as you did for Manual:$wgFileExtensions? I attempted to do the same for Manual:$wgFileBlacklist (which surely has a long and sordid history of changes to its default value), but couldn't figure out how to navigate the interface.

Shirayuki (talkcontribs)

I have a local copy of the Git repository. I locally added lost branches, e.g. REL1_1, REL1_2, etc.

Dinoguy1000 (talkcontribs)

Aah. I guess it would be easier to just point you at things, then, as long as you don't mind.

Shirayuki (talkcontribs)

I made links for you:

Reply to "Searching code history?"

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.
Reply to "Markup for incomplete translations"

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

1
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.

Reply to "What's the php file for the vector/minever skin side bar"
Pppery (talkcontribs)

I think the edit Thanksforhelp made was trying to make was page corruption caused by using VisualEditor on translatable pages rather than deliberate vandalism, and thus your block was inappropriate.

Reply to "Thanksforhelp"

Reversed my edit on External Data Plugin Talk page

3
2605:E000:254F:9600:40EC:1B54:2148:AFB0 (talkcontribs)

You reversed my edit on the http://www.mediawiki.org/wiki/Extension_talk:External_Data discussion page - can you .. undo that?

I spoke with Yaron Koren directly via email and the issue turned out to be extremely simple - I had an out of date version of the plugin. After resolving that, I had a legitimate question regarding the syntax of the #get_db_data requests to MongoDB. I removed the bits of the discussion that no longer applied. I'm not sure why you did this?

Shirayuki (talkcontribs)

If so, you should write in the edit summary as such.

2605:E000:254F:9600:40EC:1B54:2148:AFB0 (talkcontribs)

10-4. That was my first-ever edit of the mediawiki and did not realize that was necessary. I shall go back and resubmit the edit with an appropriate summary. Thank you!

Reply to "Reversed my edit on External Data Plugin Talk page"

Several reversions of my editions

2
Jmarchn (talkcontribs)

Hi!.

You have reverted several editions of the text I had made for the Catalan Wikipedia.

The edits I have made (and you reverted) do not conform to the "official" text, but they do conform to the implementation of the Visual Editor on the Catalan Wikipedia. I’ve used official variables whenever possible, but they don’t always fit, so I don’t use them.

Thus the problem is mainly due to obsolete official explanations, inconsistencies and even one error.

I didn’t want to go into discussing each of the modifications I made to try to make a new official explanation because I didn't want to spend any more of my time on it. I thought that no one would revert my best explanations for the Catalan Wikipedia.

There are three solutions to this problem:

  1. I forget all this, even if the explanations do not fit the reality.
  2. We enter into a lengthy discussion about each obsolete content.
  3. I put back the text you deleted and you don't revert it.

What we do?.

Shirayuki (talkcontribs)

Can you update the English source text? On MediaWiki.org, Catalan text should be a translation of the English source text.

Reply to "Several reversions of my editions"

Reverted edit needs explanation

3
The-erinaceous-one (talkcontribs)

Hello, you just reverted my edit here, but "$wgLogo = $wgScriptPath . '/images/4/47/mylogo.png'" does not work and the line I added "$wgLogo = '{$wgScriptPath}/images/4/47/mylogo.png';" does. Can you explain?

Clump (talkcontribs)
The-erinaceous-one (talkcontribs)

Ah, I wasn't aware of the different handling of double quotes vs. single quotes.

Reply to "Reverted edit needs explanation"
1234qwer1234qwer4 (talkcontribs)

Hello, how can one change the displayed link title in the translation now?

Shirayuki (talkcontribs)

Sorry, fixed.

Reply to "Special:Diff/4045414"
BoldLuis (talkcontribs)
Reply to "Barnstar"