Subramanya Sastry has submitted this change and it was merged. Change subject: Handle link trails better ......................................................................
Handle link trails better Fixed the bug where [[link]]s, if modified in the HTML to be [[lin]]s, would round-trip to [[link]]s still. The behaviour is now reasonable. Basically the difference is, we now check the actual href of a token instead of only using the shadowed attribute values, and we don't try to cheat with shortcuts based on data-parsoid elements. No changes in parserTests, and VE will now be able to change linktrails (and probably this will fix some other bugs as well). Change-Id: I2a6cb59df691d7ccbcc7cc663249b5b696f2cae8 --- M js/lib/mediawiki.WikitextSerializer.js 1 file changed, 19 insertions(+), 10 deletions(-) Approvals: Subramanya Sastry: Verified; Looks good to me, approved jenkins-bot: Checked -- To view, visit https://gerrit.wikimedia.org/r/40342 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2a6cb59df691d7ccbcc7cc663249b5b696f2cae8 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/Parsoid Gerrit-Branch: master Gerrit-Owner: MarkTraceur <[email protected]> Gerrit-Reviewer: MarkTraceur <[email protected]> Gerrit-Reviewer: Subramanya Sastry <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
