Last modified: 2007-08-23 08:54:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3435 - Keyboard access keys on system messages
Keyboard access keys on system messages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.6.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-11 23:46 UTC by Get_It
Modified: 2007-08-23 08:54 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Get_It 2005-09-11 23:46:31 UTC
Since the keyboard access keys are available in the form of 
system messages - 
 # Keyboard access keys for power users
 'accesskey-search' => 'f',
 'accesskey-minoredit' => 'i',
 'accesskey-save' => 's',
 'accesskey-preview' => 'p',
 'accesskey-diff' => 'v',
 'accesskey-compareselectedversions' => 'v',
- maybe they could be inserted automatically in other system 
messages. For example the 'tooltip-preview' message could be 
changed as the following:

- 'tooltip-preview' => 'Preview your changes, please use this 
before saving! [alt-p]',
+ 'tooltip-preview' => 'Preview your changes, please use this 
before saving! [alt-$1]',

$1 should then return the content of msg:accesskey-preview

Best regards,
Comment 1 Rowan Collins [IMSoP] 2005-09-12 14:19:33 UTC
I have a feeling all those messages are actually deprecated - the real tooltips
are inserted by a piece of JavaScript after the page is loaded. That may seem
silly, but the problem is that all MediaWiki does is insert the standard HTML
'accesskey' attribute into appropriate links, and different browsers use
different conventions for how that can then be used - some may make you hold
down 'alt', some 'ctrl', some the Mac's 'command' key, possibly some just let
you type it on its own, etc. 

That's hard to express in one tooltip (since people generally don't know how it
works on their own browser), so someone hit on the idea of dynamically
generating appropriate tooltips through a function in [[MediaWiki:monobook.js]]
Comment 2 Niklas Laxström 2005-09-12 20:46:55 UTC
I've hopefully removed almost all of the accesskey- and tooltip- messages which
are handled by JS. The rest are referred in the code. And I have the feeling
that firefox doesn't understand them if they are added with JS.
Comment 3 Raimond Spekking 2007-08-23 08:54:17 UTC
The access key system changed a time ago, the access keys are not longer part of the 'tooltip-...' messages, they are generated dynamically on base of users browser/operation system now :-)

Some leftovers are removed with r25080.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links