X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRandompage.php;h=e3b567d7fe69c28a9235ee93745794d876661e88;hb=900843f7ee9131ebdbe839fafffb70b8e293a8b9;hp=d7835d1045d0d56ec716b1f5a8761f19e523dee2;hpb=c340c41b37b5079ba90489f6b212bb8e4642031a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRandompage.php b/includes/specials/SpecialRandompage.php index d7835d1045..e3b567d7fe 100644 --- 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(