Smalyshev added a comment.

I like the structure of the syntax but would probably bikeshed the exact delimiters a bit if possible (later). Also, are we following fallback chains or only seeking exact language match? If we match exactly we may want to also think about allowing fallbacks.

inlabel:"pt-br,pt,colaborativa"

Did you mean inlabel:"pt-br,pt|colaborativa" ?

inlabel:gift,wrap
Pages that have the words wrap and gift in labels.*, along with a warning that gift is an unknown language.

Why? Didn't you define | as language marker? This query has no | - why talk about the language?

inlabel:en,gift,wrap
Pages that have the words wrap and gift in labels.en.

Not sure I like this. One consistent syntax FTW. Note that most people would be interested in "these words in my language" anyway.

Speaking of which - we need to support this mode I think. Maybe label.* should be "use my interface language first, if not - use fallbacks, if not - use any language you like".

inlabel:en,gift wrap

Can we make inlabel:gift wrap greedy? Not sure yet it's the right thing to do, just asking.


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