X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FLinkFilter.php;h=99aaaa093aa18dc191b2eb3154d85819edb566aa;hb=f968187c10f30cf2ed6a6f449d296685e23332b2;hp=340ae8f3984cce97a5a280b30c5e9c5b236b40f1;hpb=f0edb3e368a5fc69218d20f76f1538b68f37db42;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/LinkFilter.php b/includes/LinkFilter.php index 340ae8f398..99aaaa093a 100644 --- a/includes/LinkFilter.php +++ b/includes/LinkFilter.php @@ -92,7 +92,7 @@ class LinkFilter { * @return array Array to be passed to DatabaseBase::buildLike() or false on error */ public static function makeLikeArray( $filterEntry, $protocol = 'http://' ) { - $db = wfGetDB( DB_MASTER ); + $db = wfGetDB( DB_SLAVE ); $target = $protocol . $filterEntry; $bits = wfParseUrl( $target );