WMDE Technical Wishes/AdvancedSearch

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
AdvSearch Screen 20170620.png

AdvancedSearch[edit]

The AdvancedSearch feature enhances Special:Search by an advanced parameters form and aims to improve the way how to configure namespaces. The advanced parameter form only shows already existing search options such as "intitle" that are currently only listed on help pages. The project has been kicked-off by a workshop serie on advanced search in Germany in autumn 2016. The AdvancedSearch feature will be developed as a Mediawiki extension and be provided as a beta feature from 2017 on.

Background & Research[edit]

The workshop approach[edit]

Search mapping in Cologne, Germany
On our way back to Berlin: Discussing workshop results and implementing the first prototype based on the results

Beside the wishlist approach, WMDE Tech & the German-speaking contributors developed a second way to discuss & identify technical needs in a collaborative way: "User specific" or "topic specific" workshops. The wishlist approach aims to collect, discuss and prioritize different technical requests from a broad community onwiki. The workshop approach aims to dive deeper into one area of the software, or focus on the needs of a specific user group and discuss & identify the critical issues in real life and onwiki (e.g.: "What kind of tools do admins need?").

The advanced search workshop series[edit]

Wikipedia's search is already very powerful but hardly anyone knows about it! - This is why Raymond, Lea and Birgit had the idea to conduct the workshop serie on advanced search in autumn 2016.

Search parameters like "incategory", "intitle" "deepcat" or "filetype" are currently only listed on help pages of cirrus search, and not easy to find. Most people - no matter if they are Wikipedia beginners or longterm editors - don't know about these keywords and how to use them.

The goals of the workshop series were a.) learn about the existing search options and how to use & combine them b.) design first ideas how those options could be made more visible c.) have a good understanding of what would be important when implementing an advanced search functionality aka making existing search options accessible for everyone.

First prototype and feedback rounds[edit]

Based on the results of the workshop serie, a first prototype has been created. With the help of the prototype, we could gather more valuable input to define the concept and requirements for the first "real" product.

Open questions were:

  • What can we do that people can easily find the advanced search interface?
  • How do we integrate the selection of name spaces into the search interface?
  • Which search options and name spaces are the most important ones/often used & how to integrate them best?

The first prototype has been discussed & tested

Development of the Mediawiki extension AdvancedSearch[edit]

Screenshot 1: AdvancedSearch extension with info popup
Screenshot 2: Advanced Search interface with collapsed bar

The AdvancedSearch extension is going to be provided as a beta feature first.

Functionality and usage[edit]

The AdvancedSearch extension adds two bars to the search form on special:search: "Advanced parameters" and "Search in" (see screenshot 1).

Advanced parameters
  • The advanced parameters section can be expanded.
  • The expanded view shows a selection of options to specify the search queries.
  • The options in the search fields can be combined.
  • Users don't need to know the exact search operators "behind" a search query, but they can learn about it: There is an info icon behind each row. By clicking on that, a short introduction to the actual keyword/search operator such as "intitle" will be shown.
  • When the advanced parameters section is collapsed, the selected parameters are shown as tags within the bar, each showing a preview of the search terms. The tags can be removed by clicking on the "x" within the tag. (see screenshot 2)


Search in
  • Namespaces can be selected by typing or from a dropdown menu.
  • Different namespaces can be combined.
  • The checkbox "all" selects all namespaces.
  • The selected namespaces are shown as tags. They can be removed individually by clicking on the "x" within a tag.

Status[edit]

  • The first version of the feature ("minimum viable product") has been deployed to the beta cluster. (Nov 2017)

Deployment roadmap[edit]

Planned deployment dates of the beta feature:

  • Mediawiki.org: Nov 22, 2017
  • deWP and arWP: Nov 29, 2017
  • other wikis: tba

Feedback[edit]

Comments or further ideas are very welcome on the talk page! Thanks!