Page MenuHomePhabricator

Don't (un)expand headings on right click
Closed, ResolvedPublic

Description

Author: theevilipaddress

Description:
Simple patch, checking event.which

I have recently noted that the headings of the navigation bar also collapse or uncollapse on right click. IMO this is sort of unexpected, because you usually press the right mouse button maybe to go back or forward in the history, inspect an element out of interest as I did, check out the source or similar, however you don't expect the page to change when doing so.

I have added a simple patch which would solve this problem. I'm not sure about the middle mouse button, because I have never used one, so I left it as is with this button.

This fix is done in an extension, but under the component "MediaWiki extensions", I couldn't find Vector, so I did it here. Feel free to move.


Version: unspecified
Severity: enhancement

attachment collapsible.patch ignored as obsolete

Details

Reference
bz27381

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:15 PM
bzimport set Reference to bz27381.

theevilipaddress wrote:

Simple patch, checking event.which

Fixed path, since I only checked out the modules directory due to the tiny memory of my netbook.

Attached: