Jump to content

Extension:AdvancedSearch

From mediawiki.org
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
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 74 (Ranked 66th)
Public wikis using 887 (Ranked 288th)
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

[edit]
  • Download and move the extracted AdvancedSearch folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AdvancedSearch
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AdvancedSearch' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[edit]

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

Adding more search fields

[edit]

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.

[edit]