Page MenuHomePhabricator

Add a Commons user search preference to exclude certain file types / mime types
Open, LowPublic

Description

There is no way for users to opt for a default search option to exclude documents. Adding "-filemime:pdf -filemime:djvu" verges on being incomprehensible for most non-tech users.

This could be usefully added as a site user preference, or made another field in the Commons search UI.

This is an issue made more significant recently, with the IA books project adding a million PDFs to the collections on Commons. Consequently even simple (non-document type) searches like "cats with flowers" are returning lots of uninteresting looking PDFs in the top search returns, unless you happen to be very interested in Seed Trade Catalogs.

Event Timeline

When looking at a category, we already have a gadget for displaying only a certain filetype. When searching in other ways, we have selectors for namespace. I wonder if we could have a search-selector for filetype?

Aklapper renamed this task from Add a Commons user search preference to exclude documents to Add a Commons user search preference to exclude certain file types / mime types.Dec 18 2020, 6:41 AM
CBogen removed a project: SDAW-MediaSearch.
CBogen added a subscriber: CBogen.

Removing the SDAW-MediaSearch tag because the MediaSearch interface already has tabs that allow users to view results by file type, so presumably this is about the old/standard Commons search interface.

the MediaSearch interface already has tabs that allow users to view results by file type

If you mean the search currently used by en.Wikipedia, for example, it allows "search for one file type", it does not allow the user to search one, or a few, types and see results for all other types.

the MediaSearch interface already has tabs that allow users to view results by file type

If you mean the search currently used by en.Wikipedia, for example, it allows "search for one file type", it does not allow the user to search one, or a few, types and see results for all other types.

The SDAW-MediaSearch project refers to the interface at https://commons.wikimedia.org/wiki/Special:MediaSearch.