Last modified: 2013-10-23 18:17:26 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 T36321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34321 - Do not escape some entities used in pipe-separator in Special:Contributions
Do not escape some entities used in pipe-separator in Special:Contributions
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-10 16:02 UTC by Yusuke Matsubara
Modified: 2013-10-23 18:17 UTC (History)
2 users (show)

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


Attachments

Description Yusuke Matsubara 2012-02-10 16:02:14 UTC
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.
Comment 1 Mark A. Hershberger 2012-02-11 19:51:57 UTC
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)
Comment 2 Yusuke Matsubara 2012-02-12 05:17:34 UTC
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  .
Comment 3 Mark A. Hershberger 2012-02-13 16:57:55 UTC
(In reply to comment #2)
> * 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  .

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

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


Navigation
Links