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 "Special:ProtectedTitles: Use HTMLForm"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialRandompage.php
diff --git
a/includes/specials/SpecialRandompage.php
b/includes/specials/SpecialRandompage.php
index
d7835d1
..
e3b567d
100644
(file)
--- a/
includes/specials/SpecialRandompage.php
+++ b/
includes/specials/SpecialRandompage.php
@@
-159,7
+159,7
@@
class RandomPage extends SpecialPage {
}
private function selectRandomPageFromDB( $randstr, $fname = __METHOD__ ) {
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$query = $this->getQueryInfo( $randstr );
$res = $dbr->select(