Last modified: 2011-03-13 18:05:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T15843, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13843 - Use listboxes instead of comboboxes for reason in deletion and protection dialogs
Use listboxes instead of comboboxes for reason in deletion and protection dia...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
1.13.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-25 17:06 UTC by Max Semenik
Modified: 2011-03-13 18:05 UTC (History)
3 users (show)

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


Attachments

Description Max Semenik 2008-04-25 17:06:52 UTC
To save extra click
Comment 1 Filip Maljkovic [Dungodung] 2008-04-26 21:51:42 UTC
That would take up much more space. Besides, a click more isn't that important, right? :)
Comment 2 Max Semenik 2008-04-26 22:08:57 UTC
(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.
Comment 3 Daniel Friesen 2008-04-26 22:29:52 UTC
(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.
Comment 4 Splarka 2008-04-26 22:45:49 UTC
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... ?
Comment 5 Max Semenik 2008-04-28 11:56:09 UTC
(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.
Comment 6 AlexSm 2008-04-29 17:20:31 UTC
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.
Comment 7 Siebrand Mazeland 2008-08-18 16:28:50 UTC
WONTFIX. Per comment 3, and as there are scripting work arounds for the particular use case mentioned (working on backlogs in huge wikis).

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


Navigation
Links