Page MenuHomePhabricator

Allow filtering on Special:ListFiles by category
Open, LowestPublic


As it is currently, using the mediawiki search function, there appears to be no direct image search. Any search that returns images is text-based. To find a picture of a banana, you have to search for "banana" and won't find banana1.jpg. So good luck with that. Maybe if captioning has been done "accurately" throughout, ie according to your needs, or if you are inspired to use the right search term ...

There is one place where you can browse images visually, and that is: "title=Special:ListFiles". This Special Page shows all images as thumbnails along with some info. It can be optionally sorted by date, file size and name but none of these sorts are particularly useful. Marginally more useful is the ability to limit the list by specifying the uploading user. But if i don't know who uploaded the image i'm trying to find, i'm out of luck. Even more so if i want to compare a bunch of images.

Another option that could be easily introduced in this Special Page is Category. All image files, in fact all media files, already know and display which pages link to each file. It should be a relatively easy matter to configure this ListFiles page to restrict results to a specified category, as the wiki will also know which categories those linking pages belong to. Then, only thumbnails in the category i am interested in will be displayed and they will be RELEVANT to my inquiry. This can reduce what i have to plough through by 90% or more, no small triumph in a big wiki.

Several comments below were made before this description was edited.


Event Timeline

Sarlo created this task.Apr 1 2015, 4:30 PM
Sarlo raised the priority of this task from to Needs Triage.
Sarlo updated the task description. (Show Details)
Sarlo added a subscriber: Sarlo.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 1 2015, 4:30 PM

if I get it right this sounds a lot like T10738: Improve media (image) search display and maybe T37701: Clustering (category facets) for image searches?
Or is there something that is not covered by these two tasks?
(T38159: For category search results, provide an image preview seems to be unrelated).

And "More useful" is rather subjective - if there is a specific request here, e.g. search images by categories, please describe that request by editing this task's summary so anybody looking at a list of task summaries would have a clearer idea what this request is actually about. Thank you :)

Sarlo added a comment.EditedApr 1 2015, 7:04 PM

Hello Andre,

I feel like a bit of a klutz dealing with your quick and informed
response. I have spent quite a bit of time since then exploring how to
answer your questions. My suugestion is NOT like the two others you
cite, not covered by them, not related, but i am at a loss to explain
precisely what i meant because the search results i did get when i first
looked at this are not findable by me any more. Either i am lost or the
version of wikimedia/mediawiki used in the wiki i frequent (do not own
or administer, just a frequent editor) has changed. I will nevertheless
try to explain.

Formerly (two or so weeks ago) i got results that showed (the first)
fifty images, who uploaded and when, size, etc, and somewhere on that
page there was the option to restrict search by user, size and/or date
uploaded. But no varieties of search i have tried today have produced
anything resembling what i found then. The only page i have found this
time resembling that is a Special Page, "title=Special:ListFiles", but
the only relevant option left for restricting the search (and so far
it's not a search, just a file list) is user. What i would like to see
is a way to list, with thumbnails, all the images (along with their
info) that are used in all the pages in a given category. Then the
thumbnails provide an easy way to find a specific image or compare
various images that is not text-based. So no tags are needed, words in a
description, caption, no "image categories", nothing verbal.

To give you an idea of proportion, let's say there are about 10,000
images in the wiki, but only 1,000 in the category i am interested in
searching. At 50 per page of search results, this could go fairly easily
if restricted to images used in my category, but fairly tediously
otherwise. Does that make sense?

Thanks, Sarlo

Sarlo added a comment.Apr 1 2015, 9:50 PM

I'd like to edit off the redundant repetition of Aklapper's comments but it seems editing is not enabled here once something is posted. (I had replied via email without being aware of this "comments" section.)

Anyway, i have sorted things out a bit and now realize that what i had done was not a search per se but the same as what i found in the Special Page, "title=Special:ListFiles", that i went to today also. So this Special Page is not actually a search but can function as one in a primitive way. It has the option of limiting returns according to user name plus the options, via sortable columns, of PRIORITIZING returns by file name, size and date uploaded.

So what i would like to see, failing a viable image search, is an option added to this Special Page whereby one could specify / limit returns to only those images used in a specified category. Such an option would make searching for images within a category doable, if one knows to go there.

I will look later at editing the task. If it can be done, including changing the title, i'll do it; otherwise, this task is better scrapped and a new one started.

Thanks, Sarlo

Sarlo renamed this task from More Useful Image Search to An Image Search Limited by Category.Apr 2 2015, 4:09 AM
Sarlo updated the task description. (Show Details)
Sarlo set Security to None.

You can edit your own comments via the "Edit Comment" dropdown on the right, and you can edit the task description and task summary via "Edit task" in the upper right corner.

Aklapper renamed this task from An Image Search Limited by Category to Allow filtering on Special:ListFiles by category.Apr 2 2015, 1:56 PM
Aklapper triaged this task as Lowest priority.