You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know of a way to launch searches only with keyboard. Having to use the mouse when building queries just for clicking the submit button is not user friendly for advanced users.
Suggested enhancement
Bind accesskey="s" to the "Find results" submit button, so [Alt+Shift+S] runs the query (tested in Chrome only).
Note: "S" may mean "search", and is the same as the "Save" shortcut on mediawiki edit boxes.
Workaround:
I have put this in my mediaWiki:Common.js:
$(function(){// Allow to semantic-search with [Alt+Shift+S] in Special:Ask form.//$('input.smw-ask-action-btn.smw-ask-action-btn-dblue').each(function(){$(this).attr('accesskey','s');});});
The text was updated successfully, but these errors were encountered:
Thanks a lot for suggesting this enhancement and also showing a way to do this. Indeed "s" is already taken by MW core. However we are talking about a special page here were this key should not be available.
After having experimented for a week with [Alt+Shift+S],
i can tell that finger-RAM jupms to [Alt+Shift+P] (preview) because running queries feels like revieing a page while editing, a much less intrusive action than S (for saving), which you press only rarely.
So eventually i've changed accesskey it to P.
(from "perform search"?)
Problem
I don't know of a way to launch searches only with keyboard. Having to use the mouse when building queries just for clicking the submit button is not user friendly for advanced users.
Suggested enhancement
Bind
accesskey="s"
to the "Find results" submit button, so [Alt+Shift+S] runs the query (tested in Chrome only).Note: "S" may mean "search", and is the same as the "Save" shortcut on mediawiki edit boxes.
Workaround:
I have put this in my
mediaWiki:Common.js
:The text was updated successfully, but these errors were encountered: