Last modified: 2012-07-30 13:27:12 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 T40300, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38300 - no blank before/after "(talk | contribs)" in Japanese messages
no blank before/after "(talk | contribs)" in Japanese messages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-11 08:30 UTC by Penn Station
Modified: 2012-07-30 13:27 UTC (History)
4 users (show)

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


Attachments

Description Penn Station 2012-07-11 08:30:22 UTC
In the log, English messages are displayed like, for example,

00:00, 11 July 2012 Example (talk | contribs) blocked ...

However, Japanese message are displayed like

2012年7月11日 (水) 00:00 Example(会話 | 投稿記録)が ...

There is no blank between "(talk | contribs)" and the previous/next letter
in Japanese messages. 
I tried to insert blank into just before and after "(talk | contribs)", 
but could not find the message that defines this in Mediawiki namespace.
Could you please help?


Regards,
Penn Station
Comment 1 Siebrand Mazeland 2012-07-11 14:02:13 UTC
This is the message "pipe-separator". I've removed the spaces around it[1]. This will be updated in Wikimedia wikis somewhere in the next 48 hours.

[1] https://translatewiki.net/wiki/MediaWiki:Pipe-separator/ja
Comment 2 Niklas Laxström 2012-07-11 14:47:40 UTC
I understand this is about "2012年7月11日 (水) 00:00 Example[SPACE MISSING HERE](会話 | 投稿記録)[SPACE MISSING HERE]が" rather than the spaces around the pipe.

Can you provide link where you see this?
Comment 3 Penn Station 2012-07-11 16:02:17 UTC
Yes, Niklas's comment is what I want to state here.

http://ja.wikipedia.org/wiki/Special:Log/block is an example.

Foo[SPACE MISSING HERE](会話 | 投稿記録) が 999.99.99.99[SPACE MISSING HERE](会話) を1週間ブロックしました。

Please note that you might see the second blank in this case, but this is 
just because that [[MediaWiki:Blocklogentry/ja]] has been modified to enforce  
blank at the beginning of the message. This blank is not originally necessary 
if there are blanks around "(会話 | 投稿記録)".
Indeed, [[MediaWiki:Blocklogentry/en]] does not start with blank.

You can also see examples on many other places such as watchlist, recent changes, 
page history, etc on the Japanese Wikipedia (or using "&setland=ja" on url).


Anyway, Siebrand, spaces around the pipe are necessary and should not be removed.
Could you please revert the change?
Comment 4 Niklas Laxström 2012-07-11 17:58:32 UTC
That space might come (=be missing because of) from mediawiki:word-separator message. http://translatewiki.net/w/i.php?title=MediaWiki:Word-separator/ja&action=edit

Can you explain in more details what are the rules for having or not having space?
Comment 5 Penn Station 2012-07-11 19:25:37 UTC
Yes, MediaWiki:Word-separator seems to be related to those missing blanks.

Okay, I'll try to explain the general rule briefly below (using my user name).

Note: "_" means blank
Note: two kinds of punctuation: ja:(|) en: (|) 
Note: Japanese and English characters coexist in Japanese statements.

 1. [en only+enPunc] Penn_Station_(talk_|_contribs)_        : Good
 2. [en only+enPunc] Penn_Station(talk|contribs)            : Bad
 3. [en+ja+enPunc]   Penn_Station_(会話_|_投稿記録)_        : Good
 4. [en+ja+enPunc]   Penn_Station(会話_|_投稿記録)          : Bad
 7. [ja only+enPunc] ペンステーション_(会話_|_投稿記録)_    : Good
 8. [ja only+enPunc] ペンステーション(会話_|_投稿記録)      : Bad/Good
 9. [ja only+jaPunc] ペンステーション_(会話_|_投稿記録)_ : Bad
10. [ja only+jaPunc] ペンステーション(会話_|_投稿記録)   : Good

Case 1     - Current English Wikipedia
Case 4, 8  - Current Japanese Wikipedia
Case 3, 7  - Desired Japanese Wikipedia


BTW, Siebrand, I confirmed you had deleted MediaWiki:Pipe-separator/ja
Thanks for your help.
Comment 6 Penn Station 2012-07-11 19:30:59 UTC
Sorry, I correct the case 10 as below.

10. [ja only+jaPunc] ペンステーション(会話|投稿記録)     : Good
Comment 7 Penn Station 2012-07-12 06:26:45 UTC
I have updated MediaWiki:Word-separator/ja [1] to insert blank.
I'll briefly check if or not this causes side effects.
Hope this will work fine.

[1] http://translatewiki.net/wiki/MediaWiki:Word-separator/ja
Comment 8 Nemo 2012-07-26 20:39:36 UTC
(In reply to comment #7)
> I have updated MediaWiki:Word-separator/ja [1] to insert blank.
> I'll briefly check if or not this causes side effects.
> Hope this will work fine.
> 
> [1] http://translatewiki.net/wiki/MediaWiki:Word-separator/ja

Messages should have been updated, is the problem fixed?
Comment 9 Penn Station 2012-07-30 13:27:12 UTC
Yes, the problem was fixed. It took about 2 weeks to reflect the change on 
the jawiki, but now it works fine. Many thanks for your cooperation.

I will change the status to "RESOLVED" with "FIXED".

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


Navigation
Links