MediaWiki-Docker/Extension/CirrusSearch

Follow Quickstart intructions at MediaWiki-Docker page. Once MediaWiki is running and available at http://localhost:8080, then:

cd mediawiki/core

git clone "https://gerrit.wikimedia.org/r/mediawiki/skins/Vector" skins/Vector
echo "wfLoadSkin( 'Vector' );" >> LocalSettings.php

git clone "https://gerrit.wikimedia.org/r/mediawiki/extensions/CirrusSearch" extensions/CirrusSearch
echo "wfLoadExtension( 'CirrusSearch' );" >> LocalSettings.php

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' );