Page MenuHomePhabricator

Make Special:MIMESearch more user friendly
Closed, DuplicatePublic

Description is extremely user unfriendly.

There should be drop-downs with the variations pre-filled.

Dropdown 1: MIME main type:

  • image/drawing (jpg, png, svg, wmf, ps, etc.)
  • audio (ogg, mp3, wav, midi, etc.)
  • video (ogg, mpg, etc.)
  • multimedia (scriptable multimedia: flash, advanced video container formats, etc)
  • office (office documents, containing apples, scripts, etc)
  • text (plain text, e.g. *.txt or *.php)
  • executable (binary executable, e.g. *.exe)
  • archive (?)
  • unknown (unknown formats and 'bitmap')
  • non-image (all, except 'image')

A second dropdown could list the minor types.

I know this can be hard to add a sdefault so add a global where I can define them. E.g.

$wgMIMESearchSelect = array(

' audio/ogg',


It would of course be much better if you craete the dropdowns automatically based on $wgFileExtensions.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:07 AM
bzimport set Reference to bz33834.
bzimport added a subscriber: Unknown Object (MLST).

Same for the pretty useless Special:UnusedFiles

^^ = The MIME type selcetor could be used on other specials as well:

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 23 2015, 5:52 AM