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

            Bug ID: 62229
           Summary: VisualEditor: Link inspector dirties links, causes
                    dirty diffs for links with underscores
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Data Model
          Assignee: jforrester+veteambztick...@wikimedia.org
          Reporter: roan.katt...@gmail.com
                CC: esand...@wikimedia.org, jforres...@wikimedia.org,
                    roan.katt...@gmail.com, ryasm...@wikimedia.org,
                    tpars...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

Edit a page with wikitext [[User:Trevor_Parscal|Trevor Parscal]] ([[User
talk:Trevor_Parscal|talk]]). Inspect the second link ("talk"), wait for the
suggestions to load, then click out of the inspector. The save button
activates. Click the save button and review the diff, and you'll see that the
underscore in the link target went away.

Looking at the DM transaction history, the link was replaced with a newly
generated annotation that doesn't have htmlAttributes and doesn't have
origTitle or any of the orig* attributes.

For whatever reason, this bug doesn't happen for the first link. Maybe it's
because only the second link has a namespace prefix that contains a space?

-- 
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