X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWithoutinterwiki.php;h=a1e5156397affe3c8443110e90f9d137970abeff;hb=127c0072c4d29902fbf2dcfd63464042462270ed;hp=259d1f959e1776cf2ef4746921b6c8849c03200f;hpb=e5facc46bc170c302438f60849041b0d6be75e82;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() ); }