Last modified: 2014-03-17 19:03:15 UTC
Parsoid's bug 49844 with link attributes has been fixed. In https://bugzilla.wikimedia.org/show_bug.cgi?id=49844#c5 James Forrester wrote: This is worked around (albeit with potentially a bit of a hack) in VisualEditor, so not so important now from VisualEditor's POV. Now that the parsoid fix has been deployed (for a while now), I'm opening a new bug to revert Visual Editor's hack.
Change 114352 had a related patch set uploaded by Jforrester: Revert "Set href attribute of newly inserted image to image title" https://gerrit.wikimedia.org/r/114352
Change 114352 merged by jenkins-bot: Revert "Set href attribute of newly inserted image to image title" https://gerrit.wikimedia.org/r/114352
This isn't fixed. http://en.wikipedia.beta.wmflabs.org/w/index.php?title=User:Whatamidoing_(WMF)/Sandbox&diff=81525&oldid=81245 *sighs*
I believe the reversion is correct. Clarified the spec: https://www.mediawiki.org/w/index.php?title=Parsoid%2FMediaWiki_DOM_spec&diff=931265&oldid=931084 VE's current behavior matches the spec.
Change 119087 had a related patch set uploaded by Cscott: Clarified the default link for image insertion. https://gerrit.wikimedia.org/r/119087
Change 119088 had a related patch set uploaded by Jforrester: Remove commented-out, now-confirmed-as-wrong wrong image insertion code https://gerrit.wikimedia.org/r/119088
Change 119087 merged by jenkins-bot: Clarified the default link for image insertion. https://gerrit.wikimedia.org/r/119087
Change 119088 merged by jenkins-bot: Remove commented-out, now-confirmed-as-wrong wrong image insertion code https://gerrit.wikimedia.org/r/119088
As discussed, this wasn't a hack, this was the right thing to do, so INVALIDing this bug.