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
Use $revQuery['joins'] in query in populateSearchIndex
[lhc/web/wiklou.git]
/
maintenance
/
rebuildtextindex.php
diff --git
a/maintenance/rebuildtextindex.php
b/maintenance/rebuildtextindex.php
index
0e41ff3
..
900a52a
100644
(file)
--- a/
maintenance/rebuildtextindex.php
+++ b/
maintenance/rebuildtextindex.php
@@
-101,9
+101,13
@@
class RebuildTextIndex extends Maintenance {
}
$end = $n + self::RTI_CHUNK_SIZE - 1;
}
$end = $n + self::RTI_CHUNK_SIZE - 1;
- $res = $this->db->select( $revQuery['tables'], $revQuery['fields'],
+ $res = $this->db->select(
+ $revQuery['tables'],
+ $revQuery['fields'],
[ "page_id BETWEEN $n AND $end", 'page_latest = rev_id', 'rev_text_id = old_id' ],
[ "page_id BETWEEN $n AND $end", 'page_latest = rev_id', 'rev_text_id = old_id' ],
- __METHOD__
+ __METHOD__,
+ [],
+ $revQuery['joins']
);
foreach ( $res as $s ) {
);
foreach ( $res as $s ) {
@@
-157,5
+161,5
@@
class RebuildTextIndex extends Maintenance {
}
}
}
}
-$maintClass =
"RebuildTextIndex"
;
+$maintClass =
RebuildTextIndex::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;