Turn Special:NewFiles list of media types into list of checkboxes
authorMatthias Mullie <git@mullie.eu>
Wed, 30 Aug 2017 13:29:26 +0000 (15:29 +0200)
committerMatthias Mullie <git@mullie.eu>
Wed, 30 Aug 2017 13:29:29 +0000 (15:29 +0200)
It's a pretty short, finite list of media types, so we don't need
it to be this dropdown thingy.
Just a list of checkboxes is more convenient because it'll be
easy to see which of the media types are missing/not selected.

Bug: T174518
Change-Id: Ice768f0808eb9d70f682697f48272795417bbe74

includes/specials/SpecialNewimages.php

index 0a653e7..693b8aa 100644 (file)
@@ -155,7 +155,6 @@ class SpecialNewFiles extends IncludableSpecialPage {
 
                        'mediatype' => [
                                'type' => 'multiselect',
-                               'dropdown' => true,
                                'flatlist' => true,
                                'name' => 'mediatype',
                                'label-message' => 'newimages-mediatype',