X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRandomrootpage.php;h=0df8423fac718eccd670462bdd9f74fac60d48f8;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hp=31a290d827138bdb3c11ac734abc1cf5155eb08b;hpb=a8aee26f9241856789f86a819a5b746866597324;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRandomrootpage.php b/includes/specials/SpecialRandomrootpage.php index 31a290d827..0df8423fac 100644 --- 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() ); }