dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Upstream "pulsating dot" widget from VE"
[lhc/web/wiklou.git]
/
maintenance
/
updateSearchIndex.php
diff --git
a/maintenance/updateSearchIndex.php
b/maintenance/updateSearchIndex.php
index
cdb7d9f
..
0216b28
100644
(file)
--- a/
maintenance/updateSearchIndex.php
+++ b/
maintenance/updateSearchIndex.php
@@
-61,7
+61,8
@@
class UpdateSearchIndex extends Maintenance {
}
public function execute() {
}
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' );
$end = $this->getOption( 'e', wfTimestampNow() );
if ( $this->hasOption( 's' ) ) {
$start = $this->getOption( 's' );
@@
-121,5
+122,5
@@
class UpdateSearchIndex extends Maintenance {
}
}
}
}
-$maintClass =
"UpdateSearchIndex"
;
+$maintClass =
UpdateSearchIndex::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;