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
SpecialUpload: Give a context title to getExistsWarning() messages
[lhc/web/wiklou.git]
/
includes
/
PrefixSearch.php
diff --git
a/includes/PrefixSearch.php
b/includes/PrefixSearch.php
index
04c68ca
..
49e596d
100644
(file)
--- a/
includes/PrefixSearch.php
+++ b/
includes/PrefixSearch.php
@@
-272,7
+272,7
@@
abstract class PrefixSearch {
$t = Title::newFromText( $search, $ns );
$prefix = $t ? $t->getDBkey() : '';
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$res = $dbr->select( 'page',
[ 'page_id', 'page_namespace', 'page_title' ],
[