Is Justin's suggestion of aliases feasible, so that "filetype:image" is the same as "filetype:bitmap"? there's still the question of what to map to what, but that seems like it would help if it's easy enough to implement. And of course a histogram of filetype:<x> would tell you what people are trying to use.

But maybe adding aliases to reserve words is too messy.

—Trey

Trey Jones
Software Engineer, Discovery
Wikimedia Foundation


On Wed, Nov 16, 2016 at 12:00 PM, Stas Malyshev <smalyshev@wikimedia.org> wrote:
Hi!

> Cool feature. I love power user search operators.
>
> Without reading the instructions, I tried (and failed):
>
>   * shark filetype:jpg
>   * shark filetype:image
>   * shark filetype:photo

Unfortunately, wiki file types (not to confuse with MIME types!) are
kind of unobvious. The right incantation is:

shark filetype:bitmap

Though shark filetype:drawing works too :)

Yes, there's no chance to know that without the docs[1] and it isn't
something I'm happy about, but so far no idea of how to improve it has
been found. If anybody has good ideas in this regard, please feel
welcome to share.

[1] https://www.mediawiki.org/wiki/Help:CirrusSearch#filetype


P.S. at least filetype:video and filetype:audio are intuitive :)
--
Stas Malyshev
smalyshev@wikimedia.org

_______________________________________________
discovery mailing list
discovery@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/discovery