Last modified: 2012-12-10 20:36:59 UTC
when adding a link with Chinese characters, [[天安门广场]] in wikitext, the unicode character in the wikilink are percent-encoded, and the result i get after saving is [[%E5%A4%A9%E5%AE%2589%E9%2597%A8%E5%B9%BF%E5%9C%BA|天安门广场]]. it seems to be linked with the browser. my browser is firefox 14.0.1. the link added by others before are also encoded. see http://www.mediawiki.org/w/index.php?diff=594584
This does not happen in Chromium. From developer I see, in Firefox, href of a[rel=mw:WikiLink] is urlencoded in generated DOM but in Chromium it is not. The second issue is bug 40004.
*developer tool
Per bug 41152 , the Parsoid team decide to keep non-urlencoded form in <a href=" "> so VisualEditor shouldn't send an encoded form for newly created links, at least by default (except when user manually input an encoded link target).
Whatever patch we make, it's going to depend on I9cb862f8498ba62ad7fc7669d70ea2b8e2eddbef and whatever additional patch comes after it to finish fixing what that didn't quite accomplish.
I5e1de9244d727641c10b6f0a89acc61afba7ecad looks to be the commit that will resolve the dependency - it's not the whole solution and it's not done yet though, so don't go and resolve this bug just yet.
(In reply to comment #5) > I5e1de9244d727641c10b6f0a89acc61afba7ecad looks to be the commit that will > resolve the dependency - it's not the whole solution and it's not done yet > though, so don't go and resolve this bug just yet. That change was abandoned, I45fb3206 is the successor (and has been merged).
Confirmed fixed in master.