Extension:Elastica

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
العربية • ‎Deutsch • ‎English • ‎日本語 • ‎中文
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
Elastica

Release status:Extension status beta

ImplementationTemplate:Extension#type Search
DescriptionTemplate:Extension#description Provides base elasticsearch functionality
Author(s)Template:Extension#username Nik Everett, Chad Horohoe
Latest versionTemplate:Extension#version 0.1
MediaWikiTemplate:Extension#mediawiki 1.22+
PHPTemplate:Extension#php 5.4+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
README

Translate the Elastica extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

The Elastica extension provides base elasticsearch functionality. Further information is available on the CirrusSearchExtension:CirrusSearch extension's page.

Elastica[edit]

  • Download and place the file(s) in a directory called Elastica in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'Elastica' );
    
  • In the downloaded files, open a command line and change to the subdirectory of the "Elastica" extension
  • Run composer install --no-dev
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension() If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'Elastica' );, you need to use:

require_once "$IP/extensions/Elastica/Elastica.php";