[Wikidata-bugs] [Maniphest] [Commented On] T139228: Better match language names when creating Wikidata items
thiemowmde added a comment. Oh, absolutely right. Thanks! It's just an other approach: I was more thinking in the line of teaching all suggesters to understand word boundaries, no matter what the content of the suggester is. Reusing the ULS API when searching for languages is definitely worth looking into!TASK DETAILhttps://phabricator.wikimedia.org/T139228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Nikerabbit, gerritbot, thiemowmde, Aklapper, Zppix, Nikola_Smolenski, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Zoranzoki21, LawExplorer, Lewizho99, Maathavan, JGirault, ferdbold, Wikidata-bugs, aude, Gryllida, Ricordisamoa, TheDJ, Jdforrester-WMF, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139228: Better match language names when creating Wikidata items
Nikerabbit added a comment. I just wanted to highlight alternative possibilities: given that the ULS language search api is way more advanced that just matching word boundaries, it would be useful to take advantage of it more widely instead of re-implementing it. This can be done by moving it to MediaWiki core or a library.TASK DETAILhttps://phabricator.wikimedia.org/T139228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: NikerabbitCc: Nikerabbit, gerritbot, thiemowmde, Aklapper, Zppix, Nikola_Smolenski, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Zoranzoki21, LawExplorer, Lewizho99, Maathavan, JGirault, ferdbold, Wikidata-bugs, aude, Gryllida, Ricordisamoa, TheDJ, Jdforrester-WMF, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139228: Better match language names when creating Wikidata items
thiemowmde added a comment. Sure. That's not what I wanted to imply. What OOUI can do is to look at the UX pattern and apply it via it's own, independent client-side code. What a word-boundary is is defined in RegExp. OOUI can reuse this definition (being aware it will not work in languages where the idea of word-boundaries is a little different).TASK DETAILhttps://phabricator.wikimedia.org/T139228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: thiemowmdeCc: Nikerabbit, gerritbot, thiemowmde, Aklapper, Zppix, Nikola_Smolenski, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Zoranzoki21, LawExplorer, Lewizho99, Maathavan, JGirault, ferdbold, Wikidata-bugs, aude, Gryllida, Ricordisamoa, TheDJ, Jdforrester-WMF, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139228: Better match language names when creating Wikidata items
Nikerabbit added a comment. The language search (action) API is provided by the ULS extension. OOUI can't depend on it unconditionally.TASK DETAILhttps://phabricator.wikimedia.org/T139228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: NikerabbitCc: Nikerabbit, gerritbot, thiemowmde, Aklapper, Zppix, Nikola_Smolenski, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, Zoranzoki21, LawExplorer, Lewizho99, Maathavan, JGirault, ferdbold, Wikidata-bugs, aude, Gryllida, Ricordisamoa, TheDJ, Jdforrester-WMF, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
[Wikidata-bugs] [Maniphest] [Commented On] T139228: Better match language names when creating Wikidata items
gerritbot added a comment. Change 415377 had a related patch set uploaded (by Thiemo Kreuz (WMDE); owner: Thiemo Kreuz (WMDE)): [mediawiki/extensions/Wikibase@master] Match all words, not only the first in siteselector.js https://gerrit.wikimedia.org/r/415377TASK DETAILhttps://phabricator.wikimedia.org/T139228EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, thiemowmde, Aklapper, Zppix, Nikola_Smolenski, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, Zoranzoki21, LawExplorer, JGirault, ferdbold, Wikidata-bugs, aude, Gryllida, Ricordisamoa, Nikerabbit, TheDJ, Jdforrester-WMF, Mbch331, Jay8g___ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs