X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWithoutinterwiki.php;h=a1e5156397affe3c8443110e90f9d137970abeff;hb=d455aa29a685971c8191bc38383f1514e7cae806;hp=259d1f959e1776cf2ef4746921b6c8849c03200f;hpb=54bd9691c5465a78ff3ee05498b65184c132079e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWithoutinterwiki.php b/includes/specials/SpecialWithoutinterwiki.php index 259d1f959e..a1e5156397 100644 --- a/includes/specials/SpecialWithoutinterwiki.php +++ b/includes/specials/SpecialWithoutinterwiki.php @@ -97,7 +97,7 @@ class WithoutInterwikiPage extends PageQueryPage { 'join_conds' => [ 'langlinks' => [ 'LEFT JOIN', 'll_from = page_id' ] ] ]; if ( $this->prefix ) { - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_REPLICA ); $query['conds'][] = 'page_title ' . $dbr->buildLike( $this->prefix, $dbr->anyString() ); }