The Search Platform Team
<https://www.mediawiki.org/wiki/Wikimedia_Search_Platform> usually holds
office hours the first Wednesday of each month. Come talk to us about
anything related to Wikimedia search!
Feel free to add your items to the Etherpad Agenda for the next meeting.
Details for our next meeting:
Date: Wednesday, May 6th, 2020
Time: 15:00-16:00 GMT / 08:00-09:00 PDT / 11:00-12:00 EDT / 17:00-18:00 CEST
Etherpad: https://etherpad.wikimedia.org/p/Search_Platform_Office_Hours
Google Meet link: https://meet.google.com/vyc-jvgq-dww
Join by phone in the US: +1 786-701-6904 PIN: 262 122 849#
Hope to talk to you in about a week!
—Trey
Trey Jones
Sr. Software Engineer, Search Platform
Wikimedia Foundation
UTC-4 / EDT
Routing to discovery@ where all the search people are.
On Fri, Apr 10, 2020 at 2:43 PM Kaartic Sivaraam <
kaarticsivaraam91196(a)gmail.com> wrote:
> Hi,
>
> Is there any MediaWiki API that could be used for a proper
> case-insensitive category title search? Or is this still something that
> doesn't exist yet?
>
> For some context, I'm asking this for a feature request[1] in the
> Commons Android app that asks for a case insensitive category title
> search. In case you're wondering where category search comes into
> picture in the app, adding appropriate categories for an image is part
> of the upload flow.
>
> I wonder that such an API doesn't exist yet for the following reasons:
>
> A) The exhaustive search for such an API wasn't fruitful. The closest we
> got was using `generator=search` with `srsearch=intitle:$SEARCH_TERM`
> and `srnamespace=14` (14 is the id for category namespace in Commons).
> But it's not a proper category search as it is essentially a search for
> pages existing in Category namespace. See [2] for why it's not a proper
> category search.
>
> B) I saw "T59302 Suggest case insensitive results when searching for
> categories to add"[3] which is still open. In particular the comment in
> the ticket pointed to by [4].
>
> So, is my understanding that an API for case-insensitive category title
> search doesn't exist correct? Or am I missing something?
>
> Footnotes:
> [1]: https://github.com/commons-app/apps-android-commons/issues/3179
> [2]: https://phabricator.wikimedia.org/T59302#2707969
> [3]: https://phabricator.wikimedia.org/T59302
> [4]: https://phabricator.wikimedia.org/T59302#3977813
>
> Hoping you're safe,
> Sivaraam
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Guillaume Lederrey
Engineering Manager, Search Platform
Wikimedia Foundation
UTC+1 / CET