Extension:MixedNamespaceSearchSuggestions
From Linux Web Expert
A request to archive this extension has been made on Phabricator. See <translate> task <tvar name=1>T323200</tvar></translate> for the archival request and the rationale for the request, and to leave comments about the request. |
Mixed Namespace Search Suggestions Release status: stable |
|
---|---|
px | |
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 | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
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
- <translate> [[<tvar name=2>Special:ExtensionDistributor/MixedNamespaceSearchSuggestions</tvar>|Download]] and move the extracted <tvar name=name>
MixedNamespaceSearchSuggestions
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/MixedNamespaceSearchSuggestions - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'MixedNamespaceSearchSuggestions' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
File:OOjs UI icon information-progressive.svg | <translate> This extension is included in the following wiki farms/hosts and/or packages:</translate>
<translate> This is not an authoritative list.</translate> <translate> Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here.</translate> <translate> Always check with your wiki farms/hosts or bundle to confirm.</translate> |
Categories:
- Pages with script errors
- Pages with broken file links
- Stable extensions
- Search extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- Extensions supporting Composer
- MIT licensed extensions
- Extensions in Wikimedia version control
- BeforePageDisplay extensions
- All extensions