Extension:MixedNamespaceSearchSuggestions
![]() | A request to archive this extension has been made on Phabricator. See task T323200 for the archival request and the rationale for the request, and to leave comments about the request. |
![]() Release status: stable |
|
---|---|
![]() |
|
Implementation | Search |
Description | Includes suggestions from all content namespaces in the search box, showing from which namespace each suggestion is from. |
Author(s) | Niklas Laxström (Nikerabbittalk) |
Latest version | 2017-11-08 |
MediaWiki | 1.29+ |
Composer | mediawiki/mixed-namespace-search-suggestions |
License | MIT License |
Download | |
Example | http://tieteentermipankki.fi |
Quarterly downloads | 7 (Ranked 156th) |
Translate the MixedNamespaceSearchSuggestions extension if it is available at translatewiki.net | |
MixedNamespaceSearchSuggestions makes the search box autocomplete terms matching page names from content namespaces in addition to full page names. The namespace name is stripped from each title and shown in a byline next to it.
The extension was originally thought for wikis having many similar namespaces, where the user can't be expected to be able to prefix the correct namespace when searching for a title.
$wgNamespacesToBeSearchedDefault
is ignored and namespaces in $wgContentNamespaces
are searched instead.
Installation[edit]
- Download and place the file(s) in a directory called
MixedNamespaceSearchSuggestions
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'MixedNamespaceSearchSuggestions' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |