Last modified: 2014-01-28 18:26:38 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 T61673, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59673 - Redirect hrefs do not round trip cleanly (./ not stripped)
Redirect hrefs do not round trip cleanly (./ not stripped)
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: ssastry
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-05 11:28 UTC by Roan Kattouw
Modified: 2014-01-28 18:26 UTC (History)
3 users (show)

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


Attachments

Description Roan Kattouw 2014-01-05 11:28:02 UTC
Input wikitext:

#REDIRECT [[Foo]]

Output HTML:

<link rel="mw:PageProp/redirect" href="./Foo" data-parsoid='{"src":"#REDIRECT ","a&":{"href":"./Foo"},"sa":{"href":"Foo"},"dsr":[0,17,null,null]}'>

Input HTML (same as output of previous step with data-parsoid stripped):

<link rel="mw:PageProp/redirect" href="./Foo">

Output wikitext:

#REDIRECT [[./Foo]]


So the serializer doesn't strip ./ prefixes. Either ./ prefixes should not be present in the output HTML, or the serializer should strip them correctly.
Comment 1 Gerrit Notification Bot 2014-01-27 18:04:04 UTC
Change 109694 had a related patch set uploaded by Subramanya Sastry:
(Bug 59673) Fixed serialiation of link redirects

https://gerrit.wikimedia.org/r/109694
Comment 2 Gerrit Notification Bot 2014-01-28 18:24:34 UTC
Change 109694 merged by jenkins-bot:
(Bug 59673) Fixed serialization of link redirects

https://gerrit.wikimedia.org/r/109694
Comment 3 ssastry 2014-01-28 18:26:38 UTC
Yet to be rt-tested (and deployed later).

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


Navigation
Links