X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRandomrootpage.php;h=0df8423fac718eccd670462bdd9f74fac60d48f8;hb=4a45ff5f9296f45108006f066a81320858702fc9;hp=31a290d827138bdb3c11ac734abc1cf5155eb08b;hpb=3b26b9aca28bb379ee1c47946819f219514ff6d9;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() ); }