Page MenuHomePhabricator

Add a keyboard shortcut to "Add links" from Wikipedias
Open, LowPublic

Description

I miss a shortcut like ALT+SHIFT+<something> for the "Add links" feature, similar to the ALT+SHIFT+r which is available for the recent changes link.

Details

Reference
bz72808

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:53 AM
bzimport set Reference to bz72808.
bzimport added a subscriber: Unknown Object (MLST).
He7d3r created this task.Oct 31 2014, 11:10 AM

Which shortcut could we use?

He7d3r added a comment.Nov 3 2014, 5:42 PM

I'm not sure which letters are already in use by MediaWiki.

hoo added a comment.Nov 3 2014, 6:32 PM

Picking proper access keys is quite hard, especially if you want to keep accessibility in mind (which we clearly should).

Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher removed a subscriber: Unknown Object (MLST).
Lydia_Pintscher lowered the priority of this task from Medium to Low.Dec 27 2014, 8:47 PM
Lydia_Pintscher added a project: patch-welcome.
Lydia_Pintscher set Security to None.
Oxta28 added a subscriber: Oxta28.Jan 11 2015, 2:28 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 27 2015, 7:30 AM
This comment was removed by Ricordisamoa.
He7d3r renamed this task from Add a keyboard shortcut to "Add links" to Add a keyboard shortcut to "Add links" from Wikipedias.Jul 29 2015, 8:15 PM
darthbhyrava claimed this task.EditedNov 10 2015, 6:40 PM

I would like to take this up. :)

These are the list of current keyboard shortcuts:
https://en.wikipedia.org/wiki/Wikipedia:Keyboard_shortcuts

Edit: Wrong link. Refer to the comments made on Nov 12th.

Cool :)
Do you want to pick a shortcut and post it here to see if anyone sees issues with it?

darthbhyrava added a comment.EditedNov 11 2015, 11:22 PM
The modifier keys remain the same as the ones prescribed on https://en.wikipedia.org/wiki/Wikipedia:Keyboard_shortcuts
The access key can be 'a', if there are no issues with it?

Edit: Ignore this comment, read below.

Being new to the MediaWiki codebase, I was trying to read up on how to achieve a solution for this. I found T48538 to be very helpful.
Also, sorry, I posted the wrong set of access keys. The MediaWiki shortcut keys are here.

The available alphabet keys are: j, k
I hope we can go with 'k'?

Hmmmm j and k as keyboard shortcuts are usually used for previous/next. So I fear we can't go with k :(

Hmmmm j and k as keyboard shortcuts are usually used for previous/next. So I fear we can't go with k :(

Well, some other options are: [ , ],[ / ],[ \ ], [ ; ], [ - ], [ * ]
How about [ , ]?

Ok how about you submit a patch with this and we'll see if someone else still has a better idea then. Should be easy enough to change in that case.

Okay, I'll go ahead with , and get working on the patch, then!

dg711 added a subscriber: dg711.Jan 10 2016, 8:49 PM
He7d3r updated the task description. (Show Details)Jan 19 2016, 12:03 PM

I had taken this task up a while ago, but couldn’t follow it up due to my lack of familiarity with mediawiki-extensions and my preference towards pywikibot projects. Now that I am trying to work towards GSoC in pywikibot, I don't think I'll be able devote time towards understanding and solving this, and hence am placing it up for grabs.

If no one claims it by April, I'd be glad to take this up again! :)

darthbhyrava removed darthbhyrava as the assignee of this task.Mar 4 2016, 2:49 PM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptOct 3 2016, 11:06 AM
Anikethfoss removed Anikethfoss as the assignee of this task.Oct 3 2016, 11:43 AM
Anikethfoss added a subscriber: Anikethfoss.

Removed the good first task tag as this needs further discussion before it can tackled (if we even want this at all).

Would like to take it up .
Will alt+a could be shortcut for the Add links.