Last modified: 2013-04-12 11:45:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47160 - zh: Missing whitespace between strings for notification of a page change in my watchlist
zh: Missing whitespace between strings for notification of a page change in m...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-12 09:00 UTC by Qiyue2001
Modified: 2013-04-12 11:45 UTC (History)
4 users (show)

See Also:
Web browser: Google Chrome
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments
look at the part with underline (1.56 MB, image/bmp)
2013-04-12 09:00 UTC, Qiyue2001
Details

Description Qiyue2001 2013-04-12 09:00:22 UTC
Created attachment 12086 [details]
look at the part with underline

Sometimes the notification of a Wikipedia page's change in my watchlist with have a bad link,it should link to http://zh.wikipedia.org/wiki/Y_Combinator_(%E5%85%AC%E5%8F%B8),but in actual it linked http://zh.wikipedia.org/wiki/Y_Combinator_(%E5%85%AC%E5%8F%B8)查看当前版本("查看当前版本"means "view this change")
Comment 1 Andre Klapper 2013-04-12 11:32:02 UTC
Thanks for taking the time to report this!

It looks like the translated message misses spaces around the $3 variable:

./languages/messages/MessagesZh_hans.php:'enotif_body_intro_changed' => '{{SITENAME}}页面$1已于$PAGEEDITDATE被$2{{GENDER:$2|更改}},请浏览$3查看当前版本。',

Affected messages:
'enotif_body_intro_created'
'enotif_body_intro_moved'
'enotif_body_intro_restored'
'enotif_body_intro_changed'

However, it seems like it's common to not have space around variables? This might be something to discuss with the Chinese translators.

Not sure where to move this bug report.
Comment 2 Liangent 2013-04-12 11:35:23 UTC
(In reply to comment #1)
> Thanks for taking the time to report this!
> 
> It looks like the translated message misses spaces around the $3 variable:
> 
> ./languages/messages/MessagesZh_hans.php:'enotif_body_intro_changed' =>
> '{{SITENAME}}页面$1已于$PAGEEDITDATE被$2{{GENDER:$2|更改}},请浏览$3查看当前版本。',
> 
> Affected messages:
> 'enotif_body_intro_created'
> 'enotif_body_intro_moved'
> 'enotif_body_intro_restored'
> 'enotif_body_intro_changed'
> 
> However, it seems like it's common to not have space around variables? This
> might be something to discuss with the Chinese translators.
> 
> Not sure where to move this bug report.

If $3 is a URL, spaces are usually needed to properly mark the end of that URL for softwares making links automatically, especially it's in some plain text environment...
Comment 3 Nemo 2013-04-12 11:38:33 UTC
Thanks, hopefully this will be enough: <https://translatewiki.net/w/i.php?title=Special:Contributions/Nemo_bis&dir=prev&offset=20130412083753&limit=4&target=Nemo+bis>
Please fix the translations on translatewiki.net if they have further problems, follow https://translatewiki.net/wiki/Special:FirstSteps
Comment 4 Liangent 2013-04-12 11:41:59 UTC
(In reply to comment #3)
> Thanks, hopefully this will be enough:
> <https://translatewiki.net/w/i.php?title=Special:Contributions/
> Nemo_bis&dir=prev&offset=20130412083753&limit=4&target=Nemo+bis>
> Please fix the translations on translatewiki.net if they have further
> problems,
> follow https://translatewiki.net/wiki/Special:FirstSteps

I'm not sure whether using <> is fine, as they don't appear in en messages...

Also zh-hant messages suffer the same problem.
Comment 5 Nemo 2013-04-12 11:45:43 UTC
(In reply to comment #4)
> I'm not sure whether using <> is fine, as they don't appear in en messages...

You know the language, I don't. :) If spaces are ok, add them.

> 
> Also zh-hant messages suffer the same problem.

{{sofixit}} :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links