Page MenuHomePhabricator

Use listboxes instead of comboboxes for reason in deletion and protection dialogs
Closed, DeclinedPublic

Description

To save extra click


Version: 1.13.x
Severity: enhancement

Details

Reference
bz13843

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:11 PM
bzimport set Reference to bz13843.
bzimport added a subscriber: Unknown Object (MLST).

That would take up much more space. Besides, a click more isn't that important, right? :)

(In reply to comment #1)

That would take up much more space. Besides, a click more isn't that important,
right? :)

Heh, ever tried to work at backlogs on enwiki, for example, where you can click day and nights and won't delete everything anyway. If you multiply it by several hundereds of blocks/deletions, it wouldn't seem so insignificant.

(In reply to comment #2)

(In reply to comment #1)

That would take up much more space. Besides, a click more isn't that important,
right? :)

Heh, ever tried to work at backlogs on enwiki, for example, where you can click
day and nights and won't delete everything anyway. If you multiply it by
several hundereds of blocks/deletions, it wouldn't seem so insignificant.

^_^ That's what we have Bots and Userscripts for.

I don't think we should reduce the visual quality of the interface on wiki everywhere, just cause there are some people on Wikipedia who have to go through large logs.

Think, API+JSON, something api based drafted up in a userscript could probably give you even faster results.

herd wrote:

Easy as a user script:

if(wgAction == 'delete' || wgAction == 'protect') addOnloadHook(function() {

var sel = document.getElementsByTagName('select');
for(var i=0;i<sel.length;i++) sel[i].setAttribute('size','10')

})

Might even be possible with CSS... ?

(In reply to comment #4)

Easy as a user script:

if(wgAction == 'delete' || wgAction == 'protect') addOnloadHook(function() {

var sel = document.getElementsByTagName('select');
for(var i=0;i<sel.length;i++) sel[i].setAttribute('size','10')

})

Might even be possible with CSS... ?

Doesn't work for me.

alexsm333 wrote:

I was experimenting with the same idea, and setting the size attribute doesn't seem to work in Opera (9.2). A workaround is possible, like sel.outerHTML = sel.outerHTML.

Leave a note on [[Wikipedia:WikiProject User scripts/Requests]] or [[User talk:Alex Smotrov]] and we'll try to make a userscript for you.

WONTFIX. Per comment 3, and as there are scripting work arounds for the particular use case mentioned (working on backlogs in huge wikis).