Page MenuHomePhabricator

Provide additional shortcuts as workaround for AZERTY keyboards
Open, Needs TriagePublic


With AZERTY Windows keyboard, (the most common in France), full stop . and slash / are only reachable through Shift key, so shortcuts which use them do not work (T64282), and numerical keypad cannot be used as workaround (T90723).

Could you consider adding the following shortcuts:

  • Ctrl + ; for Superscript
  • Ctrl + : for Keyboard shortcuts

The proposed shortcuts are based on the same keys than current defect shortcuts, but Word or LibreOffice shortcuts would probably be good, even better, alternatives.

Event Timeline

Pols12 created this task.Jun 3 2016, 3:41 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 3 2016, 3:41 PM

There's no way to detect the keyboard layout using JavaScript.

Pols12 added a comment.Jun 4 2016, 3:57 PM

I understand.
It would be best to have a setting to define which keyboard we use and be able to personalize shortcuts.

However, to set default keyboard layout and shortcuts, is it possible to detect user country (by IP geo-tracking) ?
The shortcuts I have proposed seem to be correct for France and Belgian, but not for Quebec.

Esanders added a comment.EditedJun 21 2016, 12:42 PM

One issue may be that extensions can also register new keyboard shortcuts - so having multiple keyboard mappings in core could lead to conflicts.

If you were going to guess you'd probably want to do it based on user agent locale setting rather than GeoIP - I imagine a significant percentage of Quebecois use QWERTY, for example.

For consistency across devices and languages, we provide multiple keyboard shortcuts rather than change what shortcuts are available (except for Ctrl vs. Cmd for Macs, which is an OS consistency issue). E.g., you can use both ⌘+/ and ⌘+⇧+/ to open the keyboard shortcuts window.

Maybe re-purpose this to "provide additional shortcuts that are easier to use on AZERTY keyboards"?

Jdforrester-WMF changed the task status from Open to Stalled.Jul 19 2016, 7:18 PM

Maybe re-purpose this to "provide additional shortcuts that are easier to use on AZERTY keyboards"?

I agree. I guess you have a way to detect the keyboard, or something similar?

Possible things to do can be (as previously suggested):

  • turn [CTRL] + [.] (superscript) into [CTRL] + [;]
  • turn [CTRL] + [/] and [CTRL] + [Shift] + [/] (show shortcuts) into [CTRL] + [:] and [CTRL] + [Shift] + [:]
Cirdan added a subscriber: Cirdan.May 29 2018, 7:39 AM
Pols12 renamed this task from Change some shortcuts for French keyboards (slash /, point . and backslash \) to Provide additional shortcuts as workaround for AZERTY keyboards.Jan 2 2020, 11:02 PM
Pols12 changed the task status from Stalled to Open.
Pols12 updated the task description. (Show Details)