Merge "Don't call localisation functions when initializing pageset"
[lhc/web/wiklou.git] / languages / classes / LanguageBe_tarask.php
index 05b9550..56faa4a 100644 (file)
  * @ingroup Language
  * @see http://be-x-old.wikipedia.org/wiki/Project_talk:LanguageBe_tarask.php
  */
+// @codingStandardsIgnoreStart Ignore class name is not in camel caps format error
 class LanguageBe_tarask extends Language {
+       // @codingStandardsIgnoreEnd
        /**
         * The Belarusian language uses apostrophe sign,
         * but the characters used for this could be both U+0027 and U+2019.
         * This function unifies apostrophe sign in search index values
         * to enable seach using both apostrophe signs.
         *
-        * @param $string string
+        * @param string $string
         *
         * @return string
         */
        function normalizeForSearch( $string ) {
-               wfProfileIn( __METHOD__ );
 
                # MySQL fulltext index doesn't grok utf-8, so we
                # need to fold cases and convert to hex
@@ -52,7 +53,6 @@ class LanguageBe_tarask extends Language {
 
                $s = parent::normalizeForSearch( $s );
 
-               wfProfileOut( __METHOD__ );
                return $s;
        }
 
@@ -60,7 +60,7 @@ class LanguageBe_tarask extends Language {
         * Four-digit number should be without group commas (spaces)
         * So "1 234 567", "12 345" but "1234"
         *
-        * @param $_ string
+        * @param string $_
         *
         * @return string
         */