Last modified: 2013-06-28 18:05:02 UTC
Intended edit (ve-edit + fixup): https://www.mediawiki.org/w/index.php?title=Wikimedia_technical_search&diff=715707&oldid=715705 - [https://github.com/search?l=&q=wgWellFormedXml+%40wikimedia Search] + [https://github.com/search?l=&q=ResourceLoader+%40wikimedia Search] Actual edit saved by Parsoid/VisualEditor: https://www.mediawiki.org/w/index.php?title=Wikimedia_technical_search&diff=715706&oldid=715705 - [https://github.com/search?l=&q=wgWellFormedXml+%40wikimedia Search] + [https://github.com/search?l=&q=ResourceLoader+%2540wikimedia Search] Note how the % got encoded to %25.
Looks like a Parsoid bug. Works fine when data-parsoid is present, but for new annotations URLs are encoded. <a rel="mw:ExtLink" href="https://github.com/search?l=&q=ResourceLoader+%40wikimedia">Search</a> serialises to: [https://github.com/search?l=&q=ResourceLoader+%2540wikimedia Search]
Change 71082 had a related patch set uploaded by GWicke: Bug 50042: Don't percent-encode modified external link hrefs https://gerrit.wikimedia.org/r/71082
Change 71082 merged by jenkins-bot: Bug 50042: Don't percent-encode modified external link hrefs https://gerrit.wikimedia.org/r/71082
We might later want to prettify the percent encoding. Basically decode everything but some vital percent-encoded values ([%? ], probably more). But for now this is fixed.