X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FLinkFilter.php;h=802bfbe948a47a57113b9acdf0c3a9f57c7e9033;hb=8068ec255eb0d0f484dff1c456e7c5bd997dd26e;hp=99aaaa093aa18dc191b2eb3154d85819edb566aa;hpb=1825a3931e65969fbe4ff6cef052815fb78bfb34;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/LinkFilter.php b/includes/LinkFilter.php index 99aaaa093a..802bfbe948 100644 --- a/includes/LinkFilter.php +++ b/includes/LinkFilter.php @@ -41,7 +41,7 @@ class LinkFilter { */ static function matchEntry( Content $content, $filterEntry ) { if ( !( $content instanceof TextContent ) ) { - //TODO: handle other types of content too. + // TODO: handle other types of content too. // Maybe create ContentHandler::matchFilter( LinkFilter ). // Think about a common base class for LinkFilter and MagicWord. return 0; @@ -71,7 +71,7 @@ class LinkFilter { } /** - * Make an array to be used for calls to DatabaseBase::buildLike(), which + * Make an array to be used for calls to Database::buildLike(), which * will match the specified string. There are several kinds of filter entry: * *.domain.com - Produces http://com.domain.%, matches domain.com * and www.domain.com @@ -89,7 +89,7 @@ class LinkFilter { * * @param string $filterEntry Domainparts * @param string $protocol Protocol (default http://) - * @return array Array to be passed to DatabaseBase::buildLike() or false on error + * @return array Array to be passed to Database::buildLike() or false on error */ public static function makeLikeArray( $filterEntry, $protocol = 'http://' ) { $db = wfGetDB( DB_SLAVE );