Changes

Jump to navigation Jump to search
520 bytes added ,  13:28, 19 November 2018
Add section about cross project searching
option httpclose
server es1 127.0.0.1:9200 weight 1 check inter 1000 rise 5 fall 1
 
</source>
 
You can add multi-wiki search like so using [https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/blob/master/CirrusSearch.php $wgCirrusSearchEnableCrossProjectSearch], $wgCirrusSearchWikiToNameMap and $wgCirrusSearchInterwikiSources:
 
 
 
 
<source lang="php">
if ( $wikiId !== 'commons' ) {
$wgCirrusSearchEnableCrossProjectSearch = true;
$wgCirrusSearchWikiToNameMap = [
'commons' => 'wiki_commons',
];
$wgCirrusSearchInterwikiSources = [
'commons' => 'wiki_commons_content_first',
];
}
 
</source>
4,558

edits

Navigation menu