Extension:AdvancedSearch

From Linux Web Expert

There was an extension with the same name that was unmaintained and never ready for use in a production environment and was archived in 2013. Archived extension.
MediaWiki extensions manual
AdvancedSearch
Release status: stable
File:AdvSearch Screen 20170620.png
Implementation User interface, Search
Description Creating an improved advanced search interface for MediaWiki and aiming for a user friendly integration of search keywords.
Author(s) Wikimedia Germany (WMDE)
Latest version continuous updates
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.35+
Database changes No
License GNU General Public License 2.0 or later
Download
Help Help:Extension:AdvancedSearch
  • $wgAdvancedSearchDeepcatEnabled
  • $wgAdvancedSearchNamespacePresets
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 AdvancedSearch extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The AdvancedSearch extension enhances Special:Search by providing an advanced parameters form and improving how namespaces for a search query are selected.

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/AdvancedSearch</tvar>|Download]] and move the extracted <tvar name=name>AdvancedSearch</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/AdvancedSearch
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'AdvancedSearch' );
    
  • 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>

Configuration

The configuration options of AdvancedSearch are documented in the file docs/settings.md.

Adding more search fields

You can create your own Extensions and/or Gadgets that add custom fields to the field list. In the source code repository, you can find a code example for adding a new keyword and detailed API documentation on the extension point.

Links