Saving quick edits in wikitext is a bit faster because 1) I don't get the save modal, 2) I can do it with a single keyboard shortcut. Whether or not there's a better answer than the modal, I would like to at least be able to quickly save by pressing Alt+Shift+S twice from the editor.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Set 's' accesskey on save button inside save dialog | mediawiki/extensions/VisualEditor | master | +2 -1 |
Related Objects
Event Timeline
[27-11-2014 22:48:38] <Krenair> I guess it could be achieved with this.getActions().get( { actions: 'save' } )[0].$button.attr( 'accesskey', 's' ); while changing to the save panel
[27-11-2014 22:48:45] <Krenair> but ew.
I hear your "ew" and raise you $( '#ca-edit' ).text() ;-)
https://gerrit.wikimedia.org/r/#/c/176071/2/modules/ve-mw/ui/pages/ve.ui.MWAdvancedSettingsPage.js
Change 179988 had a related patch set uploaded (by Alex Monk):
Set 's' accesskey on save button inside save dialog
Change 179988 merged by jenkins-bot:
Set 's' accesskey on save button inside save dialog
Shortcut does not work fine.
When dialog is displayed, if I press ALT+MAJ+S focus is given to the blue button "Save the page" in background. If I press a second time ALT+MAJ+S, focus is given to green button "Save". Focus switch between both buttons as pressing ALT+MAJ+S.
So, to save the page, I have to press twice ALT+MAJ+S then press Enter or Spacebar.
I use Firefox 42 on Fedora.