The content droplet "Search field" performs a contextual title search (for example within a single namespace).
Adding the content droplet to a page
In the VisualEditor menu, click the Content Droplets menu icon.

Select the Search field, for example by filtering for the term "search". Provide the parameter values you want to set:
Parameter | Display name | Description |
---|---|---|
placeholder | Placeholder | Text to be shown in the search field when nothing is typed in |
type | Type | List of types of search entities to search. By default search entities availble are: wikipage, specialpages, repofile (internal files), externalfile, socialentity. Multiple values can be entered separated by pipe (|) - "wikipage|repofile" |
namespace | Namespace(s) | List of namespaces in which to search. Namespaces can be entered by using their IDs or names, separated by a pipe (|). IDs and names cannot be mixed. Correct entries are: "1|6|8", "Help|QM", while invalid is "1|QM".
To search in the main namespace, use an empty space as value (e.g., " " or " |Template") |
category | Category(-ies) | List of categories in which to search. Mutltiple categories must be separated by a pipe (|) - "Cat1|Cat2" |
operator | Search operator | Applies only to categories. Operator "AND" will only find results that are in all of the given categories, while operator "OR" will show results in any of the given categories. |
Output
The search field displays the page titles that correspond to the search field settings:
