X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FupdateSearchIndex.php;h=0216b28c879e126dab2f05dd84fc81c2ee861eed;hb=095c50ade11ccea3b0edc8956ad45dea46d4c18b;hp=af2d8287bd29671fe1144c86cf5ee301176dc57d;hpb=ad776c7d5f8deee581bf3338c76c6312c3e2933e;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/updateSearchIndex.php b/maintenance/updateSearchIndex.php index af2d8287bd..0216b28c87 100644 --- a/maintenance/updateSearchIndex.php +++ b/maintenance/updateSearchIndex.php @@ -61,7 +61,8 @@ class UpdateSearchIndex extends Maintenance { } public function execute() { - $posFile = $this->getOption( 'p', 'searchUpdate.' . wfWikiID() . '.pos' ); + $dbDomain = WikiMap::getCurrentWikiDbDomain()->getId(); + $posFile = $this->getOption( 'p', 'searchUpdate.' . rawurlencode( $dbDomain ) . '.pos' ); $end = $this->getOption( 'e', wfTimestampNow() ); if ( $this->hasOption( 's' ) ) { $start = $this->getOption( 's' );