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

            Bug ID: 66967
           Summary: Special:ContentTranslation inserts source links as
                    target
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentTranslation
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

If a target link doesn't exist, the source link may be inserted incorrectly.

This can be fixed by removing `|| page.title` in ext.cx.tools.link.js line 112,
because if there's no page.langlinks[ 0 ][ '*' ], then there's probably no
target link to insert, but then the problem is that redirects are not handled
correctly: linkPairs is indexed by the real target article, while the
adaptations parameter in apply() is looked up by the href, which is the name of
the redirect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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