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

       Web browser: ---
            Bug ID: 53432
           Summary: Serialization of new language and interwiki links is
                    broken.
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: serializer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

These currently serialize as external links:

echo '<link rel="mw:WikiLink/Language" href="http://ko.wikipedia.org/wiki/";>' |
node parse --html2wt
[[http://ko.wikipedia.org/wiki/]]

echo '<a rel="mw:WikiLink/Interwiki"
href="http://ko.wikipedia.org/wiki/";>ko:</a>' | node parse --html2wt
[[http://ko.wikipedia.org/wiki/|ko:]]

We should probably match absolute URLs against the list of patterns and
serialize to the locally defined interwiki / language prefix when that is
defined.

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

Reply via email to