Page MenuHomePhabricator

SelectFileWidget: Remove MIME type information
Closed, ResolvedPublic

Description

MIME type (example as of v0.17.7: image/png) featured in SelectFileWidget is a very technical information that might be meaningless or confusing to majority of our users.

T142883 Remove MIME-type info OOjs UI Demos 2016-08-12.png (499×662 px, 71 KB)

MediaWiki theme already hides it in the single-line widget.

We should remove it completely.

An additional side-effect would be that we can easier address T127267: SelectFileWidget has no visible label on IE 11

Event Timeline

Volker_E updated the task description. (Show Details)
Volker_E removed a subscriber: gerritbot.

Citing @Pginer-WMF

I'd be more in favor of removing it. Exposing users to the MIME concept or making the effort of translating the mime strings into human-friendly text is probably not worth it.
For some context on how this control was intended to be used you can refer to T115860#1745586

Change 304586 had a related patch set uploaded (by VolkerE):
SelectFileWidget: Remove MIME type information

https://gerrit.wikimedia.org/r/304586

Volker_E raised the priority of this task from Medium to High.Aug 12 2016, 11:33 PM
Volker_E moved this task from Backlog to Review on the UI-Standardization-Kanban board.
Volker_E moved this task from Backlog to Reviewing on the OOUI board.
Volker_E added a subscriber: RHo.

Can we make it a config (showMime) that defaults to false?

Volker_E removed a project: Patch-For-Review.
Volker_E moved this task from Review to Done on the UI-Standardization-Kanban board.

Change 304586 merged by jenkins-bot:
SelectFileWidget: Remove MIME type information

https://gerrit.wikimedia.org/r/304586