| EBernhardson added a comment. |
In T215967#4956419, @Smalyshev wrote: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?
This was supposed to be inlabel:gift|wrap. I'm not sure if we should interpret gift|wrap as the query when gift isn't a language, or always treat the part before a pipe as the language regardless.
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".
Was supposed to be inlabel:en|gift|wrap, separating multiple languages with continued | chars. I wasn't much of a fan of this, the current update to require inlabel:a,b|wrap to choose languages a,b makes more sense.
inlabel:en,gift wrap
Can we make inlabel:gift wrap greedy? Not sure yet it's the right thing to do, just asking.
We could, but the plan has been to try to kill all the greedy things. Currently I think we have non-greedy alternatives for everything that's greedy but no way to shift clients.
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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
