Last modified: 2014-01-09 18:04:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60521, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58521 - Bugs with CodeEditor and Safari 7.0; Ace-related?
Bugs with CodeEditor and Safari 7.0; Ace-related?
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Derk-Jan Hartman
https://vimeo.com/81949232
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-15 23:21 UTC by quark67
Modified: 2014-01-09 18:04 UTC (History)
5 users (show)

See Also:
Web browser: Apple Safari
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description quark67 2013-12-15 23:21:29 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.
Comment 1 quark67 2013-12-15 23:23:01 UTC
Attached : The URL to the video displaying the bug.
Comment 2 Dereckson 2013-12-15 23:27:27 UTC
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.
Comment 3 Derk-Jan Hartman 2013-12-31 09:48:48 UTC
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
Comment 4 Gerrit Notification Bot 2013-12-31 09:57:01 UTC
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
Comment 5 Gerrit Notification Bot 2014-01-09 18:01:22 UTC
Change 104510 merged by jenkins-bot:
CodeEditor: Update to package 12.02.2013 (December 2013)

https://gerrit.wikimedia.org/r/104510

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links