X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FupdateSearchIndex.php;h=0216b28c879e126dab2f05dd84fc81c2ee861eed;hb=47181c81346bea21a1ed12063d7ca621e190c049;hp=af2d8287bd29671fe1144c86cf5ee301176dc57d;hpb=fdb07d74e63ed3f0c09e548ae43b23b147bb54e6;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' );