Last modified: 2013-12-31 14:39:36 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 T55763, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53763 - Impossible to insert the "ę" character when editing in Module: namespace with the code editor
Impossible to insert the "ę" character when editing in Module: namespace with...
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
CodeEditor (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-04 17:35 UTC by Bartosz Dziewoński
Modified: 2013-12-31 14:39 UTC (History)
6 users (show)

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


Attachments

Description Bartosz Dziewoński 2013-09-04 17:35:30 UTC
[Please move this to a different component if applicable, I'm not sure where the editor comes from.]

It is impossible to insert the "ę" or "Ę" characters (latin letter "e"/"E" with ogonek) from keyboard when editing in Module: namespace with the code editor on the Polish Wikipedia.

"ę" is inserted on the Polish keyboard using AltGr+e (aka Ctrl+Alt+e). If the editor uses this as a hotkey, it shouldn't (nor should it use any other Ctrl+Alt combinations).

(Reported at https://pl.wikipedia.org/wiki/Wikipedia:Kawiarenka/Kwestie_techniczne#VisualEditor_a_polskie_diakrytyki)
Comment 1 Brad Jorsch 2013-09-04 18:26:24 UTC
You want CodeEditor.

I note that I can type ę and Ę fine in CodeEditor from here, where the key combinations are "<Compose> ; e" and "<Compose> ; E".

I also remapped Ctrl+Alt+E to "ę" temporarily, and I was able to enter that character using that key combination in CodeEditor on a module page on plwiki with no issues (using Firefox 24 on Linux).
Comment 2 Bartosz Dziewoński 2013-09-04 18:51:48 UTC
@Brad, depending on how exactly you remapped it, the Ctrl+Alt+E might be mapped to "ę" in some lower-level layer, not letting the browser even see it. (I used this a few times to wrestle with some stupid applications which take Ctrl+Alt shortcuts for themselves to take it away from them.)

Some grepping shows ACE Editor uses "Ctrl-Alt-E" / "Command-Option-E" for the "togglerecording" command. This is most likely the culprit.

This seems to be the only Ctrl-Alt shortcut involving regular letters (there are also a few with arrow keys and backspace).
Comment 3 Brad Jorsch 2013-09-04 19:48:08 UTC
In that case, it looks like you could follow the example in modules/jquery.codeEditor.js near line 151 to disable this command too.
Comment 4 Derk-Jan Hartman 2013-12-31 14:39:36 UTC
These are all the default defined key combinations:
https://github.com/ajaxorg/ace/blob/40ea516801332fb8e96f8ba2e5046eece2fd95d3/lib/ace/commands/default_commands.js

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


Navigation
Links