Drop the check for existences of LocalSettings.php in MediaWikiIntegrationTestCase
[lhc/web/wiklou.git] / includes / LinkFilter.php
index ffb36e0..6ad9b31 100644 (file)
@@ -54,7 +54,7 @@ class LinkFilter {
                        return 0;
                }
 
-               $text = $content->getNativeData();
+               $text = $content->getText();
 
                $regex = self::makeRegex( $filterEntry, $protocol );
                return preg_match( $regex, $text );
@@ -91,7 +91,7 @@ class LinkFilter {
 
        /**
         * Canonicalize a hostname for el_index
-        * @param string $hose
+        * @param string $host
         * @return string
         */
        private static function indexifyHost( $host ) {