https://bugzilla.wikimedia.org/show_bug.cgi?id=35974

--- Comment #27 from Bartosz DziewoƄski <[email protected]> ---
Created attachment 11699
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11699&action=edit
A drawing to go with comment 27.

Sorry, but I still don't see how is this different than what I'm proposing
right now. Can you define "search suggestions" and "search result lists"?

I made a helpful graphic (in the attachment). The red part I'll call "the
dropdown", the green "the input", and the light-blue "the button". I'll also
use "Shift" to refer to any key that allows one to open something (a form
result or a link) in a new tab for simplicity; adjust accordingly for whichever
browser you use. 

The situation is like this:

* Right now, the version of MediaWiki deployed on WMF wikis doesn't support
middle-clicking, Shift-clicking, nor any other way I know of to open neither
search results, nor the specific article from the dropdown on a new tab/window.

* With my patch for bug 21167 & bug 17808 (not yet deployed on WMF wikis, but
it will be soon - see https://www.mediawiki.org/wiki/MediaWiki_1.21/Roadmap),
the dropdown support Shift-clicking and middle-clicking naturally (since it is
built on regular <a> links). However, you can't Shift-submit the form using
either the input or the button, as the keypress is captured by JavaScript
events. 

* It looks that the gadget you linked enabled Shift-clicking and
Shift-submitting on everything by the virtue of enforcing form submission
target to be a new tab if Shift is pressed, and this tab if it isn't. This,
well, works, but personally I don't like this solution at all from the "purity"
standpoint :)

What I'm going to work on is to allow the form submission to happen "naturally"
as well. This would allow Shift-submission to work in browsers supporting it,
and not do anything in the rest - I don't know about others, Opera certainly
does. (That Firefox addon should probably work, too.)

I hope I made it all clear now from my side So once again - please define
"search suggestions" and "search result lists", so that we both understand each
other :)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to