[Wikitech-l] Request for +2'ing some patches

2020-04-14 Thread Zoran Dori
Hello,
can someone review patches from list on
https://gerrit.wikimedia.org/r/#/q/status:open+extension+registration+reviewer
:"Zoranzoki21+%253Czorandori%2540gmail.com%253E" and if possible +2
these which haven't merge conflict.

I working on adding phpcs in extensions and skins, and I'm blocked on work
because of it, I no want to create follow-up patches because it can't be
merged before +2'ing extreg related patches.

Thanks and best regards,
Zoran Dori
volunteer, Wikimedia Serbia
s: zoranzoki21.github.io e: zorandori4...@gmail.com

Замислите свет у коме свака особа на планети има слободан приступ
целокупном људском знању. То је оно на чему ми радимо.
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [discovery] Case-insensitive category title search not possible?

2020-04-14 Thread Kaartic Sivaraam
Hi,


On 14 April 2020 00:54:13 GMT+05:30, Erik Bernhardson 
 wrote:
>On Fri, Apr 10, 2020 at 11:41 AM Guillaume Lederrey
>
>wrote:
>
>> Routing to discovery@ where all the search people are.
>>
>> On Fri, Apr 10, 2020 at 2:43 PM Kaartic Sivaraam <
>> kaarticsivaraam91...@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?
>>>
>>
>To my knowledge this is something that doesn't exist yet.
>

Ok.

>>
>>> 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].
>>>
>>
>This all seems correct to me. The comment linked here ([4]) still holds
>true today, ...

Thanks for the confirmation/clarification!

> ... to perform this search we would need to add lowercased
>prefix
>indices somewhere.
>

Yeah, that would be helpful. What would be even more helpful is an API that 
allows to search the list of categories in a way similar to the `search` API 
with `intitle:`. The prefix only search is a bit limiting as it requires the 
user to either know or guess the prefix of a relevant category. Thus it makes 
it difficult to find appropriate categories. Just sharing a thought :)

>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
>>>
>>> 

Thanks,
Sivaraam

Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l