Last modified: 2014-04-11 01:03:32 UTC
Created attachment 14985 [details] Screenshot Steps to reproduce: 1.Add a link 2.Apply format on it like Bold/Strikethrough 3.Now add a space right after that and add a text Observed Result: An error appears in the console Uncaught TypeError: Cannot read property 'constructor' of undefined and the text gets added in a weird way: One letter appears before the link and some letters gets typed inside the link text See the screenshot attached Test Environment: https://test2.wikipedia.org/ Browser: Chrome Version 26.0.1410.65 & FF 25 OS: MAC OS X 10. 8. 5 Page:https://test2.wikipedia.org/wiki/31stMarChrome?veaction=edit
Change 123373 had a related patch set uploaded by Esanders: Adjust loop counters in word break detection when removing item https://gerrit.wikimedia.org/r/123373
Change 123373 merged by jenkins-bot: Adjust loop counters in word break detection when removing item https://gerrit.wikimedia.org/r/123373
Verified the fix on Betalabs
Change 124488 had a related patch set uploaded by Catrope: Adjust loop counters in word break detection when removing item https://gerrit.wikimedia.org/r/124488
Change 124488 merged by jenkins-bot: Adjust loop counters in word break detection when removing item https://gerrit.wikimedia.org/r/124488
Verified the fix on mediawiki.org
Verified the fix in production