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 "userExpLevel test: use $tables from function under tests"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialRandomrootpage.php
diff --git
a/includes/specials/SpecialRandomrootpage.php
b/includes/specials/SpecialRandomrootpage.php
index
31a290d
..
0df8423
100644
(file)
--- a/
includes/specials/SpecialRandomrootpage.php
+++ b/
includes/specials/SpecialRandomrootpage.php
@@
-28,7
+28,7
@@
class SpecialRandomrootpage extends RandomPage {
public function __construct() {
parent::__construct( 'Randomrootpage' );
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$this->extra[] = 'page_title NOT ' . $dbr->buildLike( $dbr->anyString(), '/', $dbr->anyString() );
}