Last modified: 2014-01-09 18:04:07 UTC
I have tried to copy and paste a line of code on my Wikipedia subpage https://fr.wikipedia.org/w/index.php?title=Utilisateur:Quark67/common.js&action=edit For exemple, the line 22 : + ' <li><a href="https://fr.wikipedia.org/wiki/Wikipédia:Le_Bistro_multimédia">Le Bistro Multimédia</a></li>' I copy (cmd+C on my Mac) this line, then go to the end of this line, click (so the insertion point is at the end of this line), then press the key "ENTER". This give me a non void line with this content : ia</a></li>' and the precedent line is cut at the end, and is : + ' <li><a href="https://fr.wikipedia.org/wiki/Wikipédia:Le_Bistro_multimédia">Le Bistro Multiméd Second bug (related to the first ?) : If for exemple I click in the middle of the text, for exemple with the line 22 at the begin of the word Wikipédia of the URL, and then press the key "a", this gives not : ...fr.wikipedia.org/wiki/aWikipédia... but : ...fr.wikipedia.orga/wiki/Wikipédia... (the TLD is not the correct ".org" but ".orga") I have also tried with Safari 5.1 on other computer. On 5.1, there is not the bugs. I don't know if there are present on Safari 6.x.
Attached : The URL to the video displaying the bug.
I've the feeling the current line buffer contains only the start a too long string. See for example what happens on the video at 0:22 when enter is pressed at the END of the line: it breaks the line in two. Bug has been reproduced by Quark67 on a test MediaWiki/WikiEditor installation. Adding upstream keyword, this seems to be related to the Ace library. I tested some stuff with Quark67, the last demos of Ace don't work for example under Safari 7.
This is upstream issue: https://github.com/ajaxorg/ace/issues/1534 Which is fixed. An update to CodeEditor is in: https://gerrit.wikimedia.org/r/104510
Change 104510 had a related patch set uploaded by TheDJ: CodeEditor: Update to package 12.02.2013 (December 2013) https://gerrit.wikimedia.org/r/104510
Change 104510 merged by jenkins-bot: CodeEditor: Update to package 12.02.2013 (December 2013) https://gerrit.wikimedia.org/r/104510