WMDE Technical Wishes/AdvancedSearch
- 1 AdvancedSearch
- 2 Background & Research
- 3 Development of the Mediawiki extension AdvancedSearch
- 4 Feedback
The AdvancedSearch feature enhances Special:Search through an advanced parameters form and aims to improve the way how to configure namespaces. The advanced parameters 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 series on advanced search in Germany in autumn 2016. After some prototyping and feedback loops, the AdvancedSearch was developed as a Mediawiki extension and is a beta feature as of November 2017.
Background & Research
The workshop approach
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
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
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
- on German Wikipedia: de:Wikipedia_Diskussion:Technische_Wünsche/Workshop_spezialisierte_Suche
- in a joint session with the WMF's Search Team at the mediawiki developer summit 2017: T154911
- in real life tests and conversations back in our office in Berlin
Development of the Mediawiki extension AdvancedSearch
Functionality and usage
The AdvancedSearch extension adds two bars to the search form on special:search: "Advanced parameters" and "Search in" (see screenshot 1).
- 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)
- Here’s an overview which parameters are already integrated, which ones are planned and which ones cannot be integrated in the extension.
- 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.
Deployment as a beta feature ("small" beta feature)
- Nov 21, 2017: Mediawiki.org and test.wikipedia.org
- Nov 29, 2017: deWP and arWP
- Dez 6, 2017: huWP, faWP
- tba: other wikis
- It is planned to add some features in the course of the beta phase. The WMF's search team is currently working on a 'deepcat' functionality. When they are done, we plan to add support for that in the AdvancedSearch extension.
- The project on Phabricator
- The extension manual on Mediawiki.org
- the central help and feedback page on Mediawiki.org
Comments or further ideas are very welcome on the talk page! Thanks!