https://bugzilla.wikimedia.org/show_bug.cgi?id=59673

       Web browser: ---
            Bug ID: 59673
           Summary: Redirect hrefs do not round trip cleanly (./ not
                    stripped)
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: serializer
          Assignee: gwi...@wikimedia.org
          Reporter: roan.katt...@gmail.com
                CC: jforres...@wikimedia.org, ssas...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to