X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FLinkFilter.php;h=99aaaa093aa18dc191b2eb3154d85819edb566aa;hb=e94f7ef8e79aeceb867fcae2e29fc4a7b2d9cf1d;hp=340ae8f3984cce97a5a280b30c5e9c5b236b40f1;hpb=2b6dc1898ff3a12f04593badfac043e6a6107fa4;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 );