Help:Extension:AdvancedSearch

From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎español • ‎فارسی • ‎français • ‎galego • ‎日本語 • ‎한국어 • ‎português do Brasil • ‎سنڌي • ‎Türkçe • ‎українська • ‎中文
AdvancedSearch screen

The AdvancedSearch extension enhances the search page through an advanced parameters form and aims to make existing search options more visible and accessible for everyone.

AdvancedSearch is provided as a beta feature on all wikis as of May 2018.


Background[edit]

AdvancedSearch is a project by WMDE's technical wishes team. The idea for the feature was developed in a workshop series in 2016.

The advanced parameters form offers access to some of the special search options the WMF's search team has implemented in the last years. This list gives an overview which parameters are currently supported, which ones are planned to be supported and which ones won't be supported.

More information can be found on the main project page on Meta.

Usage[edit]

Enabling the new view: To enable the AdvancedSearch interface on the Special:Search page, you have to be logged in and tick the checkbox for the AdvancedSearch feature on the beta-features preferences page. After enabled, the new AdvancedSearch interface will appear on Special:Search. To use the new interface, you can either go directly to Special:Search, click on the magnifying glass icon in the search box or click the search button without filling anything into the search box. "Special:Search" is also available from any search results list.

AdvancedSearch collapsed view.png

The interface enhances the Special:Search page through an advanced parameter form and changes the way how to select namespaces.
The search box can still be used as usual. For example, you can manually type in advanced search parameters.

AdvancedSearch interface with expanded filetype selection II.png

When you click on the arrow in the advanced parameters section, it gives you a selection of some parameters for advanced searches. You can combine different parameters.

Explanations on each parameter can be found next to the input field.

In some fields you can only enter one search term, in others you can enter several terms by separating them with a comma. This depends on the function of the field.

When you select an image or video file type, a submenu opens. Here, you can specify the width and height of the file.

AdvancedSearch - summary of selected parameters and namespaces.png

When you click on the arrow at the top of the advanced parameters section, you collapse this section. You now see a preview of the search terms that you entered. By clicking on the X in the preview, you can remove each term.
What you enter in the advanced parameters section is not shown in the full text search box.

AdvancedSearch namespaces dropdown menu.png

In the section "Search in" you can select the namespaces you want to search in. You can either choose one of the namespace presets (e.g. "Discussion"), type the desired namespaces or select them from a dropdown list. You can save your selection by checking "Remember selection for future searches".

AdvancedSearch - all namespaces selected.png

By checking “All”, you can select all namespaces. You can then individually deselect the ones that you don’t need by clicking on the X in each pill.
Push the blue search button or hit the return key in any field to start the search.

Deployment roadmap[edit]

As a beta feature

  • Testwikis and Mediawiki.org: 2017-11-21  OK
  • deWP, arWP: 2017-11-29  OK
  • huWP, faWP: 2017-12-06  OK
  • Other wikis: 2018-05-08  OK

Links[edit]


Help with translation[edit]

The software messages for the feature can be translated on translate wiki. Any help is much appreciated!