Smalyshev added a comment.

But here since we have multiple languages I feel that one may ask for a word in two different languages and prefer having a OR between the two

Yes, this is possible, but I wonder how frequent it would be that somebody needs a label in Russian or Portuguese? I can invent a scenario, but it would not be a typical use case.

We are not that far from supporting OR between keywords, that parser is ready we just need to write the query building code

Maybe then we should wait for then instead of inventing mini-language for each keyword? Keep it simple and let the query builder do the complex stuff.

I prefer to force the language because using the current language will produce queries that may be hard to share.

That's a good point for shareable queries, but many people - just as in regular search - are just interested in finding stuff for themselves, not sharing it. For them, forcing them to specify the language feels wrong. I think we should DWIM here and use the current language environment if the language is not specified.


TASK DETAIL
https://phabricator.wikimedia.org/T215967

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: EBernhardson, Smalyshev
Cc: Smalyshev, dcausse, Nuria, Abit, Cparle, Ramsey-WMF, Aklapper, JKSTNK, Lahi, PDrouin-WMF, E1presidente, Anooprao, SandraF_WMF, EBjune, Tramullas, Acer, V4switch, Silverfish, Susannaanas, Wong128hk, Jane023, Wikidata-bugs, Base, matthiasmullie, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Matanya
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to