Help:WikiSearchFront/fr

The WikiSearchFront extension is a front-end for WikiSearch written in Vue.js

For installation instructions see the extension page

Configuration
The WikiSearchFront extension must be configured using the WikiSearchFrontend parser function

There are 3 types of configuration:


 * Settings, without a prefix
 * Filter settings, prefixed with a  
 * Result settings, prefixed with a

Configurations can have setting options prefixed with a

Example configuration:



Paramètres
These are optional settings for the main interface



Paramètres des résultats de recherche
These are optional settings for the search result output they are defined by adding a  in front of the property name.

Facets filter settings
Facet filters are defined by adding an  in front of the property name. All settings are optional. When no display setting is used the default checkboxes are displayed.

Some display types need a setting with an ask query, see Semantic MediaWiki ask query string for more information about them.

Styling and layout
WikiSearchFront can be styled using CSS. Components are logically named using BEM convention, and the layout is defined with CSS Grid. You can just add your own style-sheet, by adding your CSS to common.css or you could use TemplateStyles. A dark theme is available and can be set by adding  to the config.

Layout
Below you find the default layout, grid-template-columns defines the columns sizes, grid-template-rows define the row sizes.

The different components can be moved around by changing the grid-template-areas. In the default layout the search component spans over the whole first row.

The available components are:


 *   this is the search input including the search button
 *   this is the area where the pills for selected filter show up
 *   this is the area where the sort options drop-down will show if sort options are set in the configuration
 *   this is where the different facet filters will be located
 *   this where the result count will show up
 *   this is the area where the search result are shown, including the pagers
 * this is the area where the action button will appear

Variables
WikiSearchFront uses CSS variables to define colors and icons, the following variables are available to override