GSoC 2018: Week 1 with WikiMedia Foundation

Nikhil Kumar
2 min readJun 5, 2018

--

My first sub-sub task was to “Print most popular filter values for combo box input and text box input in Special:Drilldown Page”.

In Special:Drilldown Page, if for a filter there are more than a specified number of filters values, then to add/select filter values, user need to use a combo box. And if the no of filter values are too many(more than 250), then user need to use a text box input to add/select a filter value.

What my task was that If a filter has more than that specified number of filter values(i.e. user need to use combo box or text box for selecting/adding filter values), then print 20 most popular filter values for that filter so that user can at least know what the most popular filter values are.

After doing this first sub-sub task, filters looked something like:

The values above the combo box and text box are the most popular values for the corresponding filters.

My second sub-sub task was to “Add autocomplete feature even for the applied filters”

Autocomplete feature(not to be confused with the normal autocomplete feature provided by the browsers based on previous interactions) is used for text box inputs. It computes all possible values that can actually be entered in the text box and then shows the autocomplete option accordingly. Previously the autocomplete feature was there but was only for the unapplied filters. This was really interesting.

Auto complete in progress for the Author filter

My first sub task comprised of the above mentioned two sub-sub tasks. My work on this can be seen here: https://gerrit.wikimedia.org/r/#/c/433388/

My next subtask is to “Display the drilldown results in map format if there are field(s) of type coordinates in the table and in calendar or timeline format if there are field(s) of type date or datetime in the table”.

Thanks for reading!

--

--