Do not escape some entities used in pipe-separator in Special:Contributions
OpenPublic

Description

When MediaWiki:pipe-separator contains ​ (zero-width space: code 8203) , Special:Contributions escapes and shows the code itself instead of the space.

An example is http://translatewiki.net/wiki/Special:Contributions/Whym&uselang=ja where MediaWiki:Pipe-separator is "​|​". (although this wiki is 1.20alpha, I confirmed in the Wikimedia deployment wiki as well)

Possibly other codes are affected by the same problem.


Version: 1.18.x
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz34321.
whym created this task.Via LegacyFeb 10 2012, 4:02 PM
MarkAHershberger added a comment.Via ConduitFeb 11 2012, 7:51 PM

Note that it does this only for the sequence of messages which is (histlast)(pipe-separator)(histfirst) and not on the individual lines which are (diff)(pipe-separator)(hist) (Message sequences from uselang=qqx)

whym added a comment.Via ConduitFeb 12 2012, 5:17 AM

Just to add:

  • An obvious work around is not to use character reference by the numerical code, and use the character directly. This is not very useful when you want to zero-width space, however.
  • Some character references are not affected by this problem as seen in the English Wikipedia's configuration http://en.wikipedia.org/w/index.php?title=MediaWiki:Pipe-separator&action=edit, which uses   and  .
MarkAHershberger added a comment.Via ConduitFeb 13 2012, 4:57 PM

(In reply to comment #2)

Right, in fact, I'm not sure *why* these are affected. From looking at the code,   is treated just like ​

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.