Last modified: 2014-01-14 22:11:41 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 T59945, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57945 - Flow: Some special characters are being mis-encoded, eg ndash
Flow: Some special characters are being mis-encoded, eg ndash
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-03 20:08 UTC by Quiddity
Modified: 2014-01-14 22:11 UTC (History)
3 users (show)

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


Attachments

Description Quiddity 2013-12-03 20:08:07 UTC
Reported at http://ee-flow.wmflabs.org/w/index.php?title=Talk:Flow_bugs&workflow=050acb70dc27f00fc8b1fa163e68c4ac&action=view  but I cannot replicate.

The user is copying the content at page-top ("Flow bugs – Flow"), and pasting it into the edit box. 
Then pressing "Preview" where it displays correctly. 
Upon saving, the ndash appears as:  –


Possibly this is a Windows7 problem? Or Parsoid?
Comment 1 Bingle 2013-12-03 20:12:34 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/572, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Quiddity 2013-12-03 21:07:29 UTC
Aha! Replicatable. It only happens when the text is wikilinked. (Thanks to Fram for clarifying my overlooked variable)

[[test – test]] previews fine, but when saved it transforms into a redlinked [[test – test]]
Comment 3 Gerrit Notification Bot 2013-12-24 18:39:57 UTC
Change 103569 had a related patch set uploaded by EBernhardson:
Special characters are being mis-encoded in links

https://gerrit.wikimedia.org/r/103569
Comment 4 Quiddity 2013-12-31 01:56:57 UTC
Interesting variations at https://www.mediawiki.org/w/index.php?title=Talk:Sandbox&workflow=050c553390ab9384b03a842b2b77e406#flow-post-050c878e4ad055356901842b2b77d2bd

When Ryūkotsusei previewed their own post, they saw "RyÅ«kotsusei", but once the post was saved, the name appeared correctly. (See https://www.mediawiki.org/w/index.php?title=Talk:Sandbox&topic[newRevision]=050c87914c196f3747a890b11c28d448&topic[oldRevision]=050c878e4ad055356901842b2b77d2bd&workflow=050c553390ab9384b03a842b2b77e406&action=compare-revisions

I had the opposite problem: The bluelinked @name displayed correctly, but when I saved the post, the mis-encoding is what came out.
Comment 5 Gerrit Notification Bot 2013-12-31 11:53:38 UTC
Change 103569 merged by jenkins-bot:
Special characters are being mis-encoded in links

https://gerrit.wikimedia.org/r/103569

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


Navigation
Links