Changes to doc-comments. /* to /** in language folder.
authorPlatonides <platonides@users.mediawiki.org>
Sun, 22 May 2011 22:05:18 +0000 (22:05 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 22 May 2011 22:05:18 +0000 (22:05 +0000)
languages/Language.php
languages/classes/LanguageBe_tarask.php
languages/classes/LanguageHy.php
languages/classes/LanguageIu.php
languages/classes/LanguageKaa.php
languages/classes/LanguageKk.php
languages/classes/LanguageKu.php
languages/classes/LanguageRu.php
languages/classes/LanguageSr.php
languages/classes/LanguageUk.php

index ff91124..7e961a4 100644 (file)
@@ -2478,7 +2478,7 @@ class Language {
                return $string;
        }
 
-       /*
+       /**
         * Truncate a string of valid HTML to a specified length in bytes,
         * appending an optional string (e.g. for ellipses), and return valid HTML
         *
@@ -2610,7 +2610,7 @@ class Language {
                return $skipCount;
        }
 
-       /*
+       /**
         * truncateHtml() helper function
         * (a) push or pop $tag from $openTags as needed
         * (b) clear $tag value
index fe9460c..af2271d 100644 (file)
 
 class LanguageBe_tarask extends Language {
        /**
-       * Plural form transformations
-       *
-       * $wordform1 - singular form (for 1, 21, 31, 41...)
-       * $wordform2 - plural form (for 2, 3, 4, 22, 23, 24, 32, 33, 34...)
-       * $wordform3 - plural form (for 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26...)
-       */
+        * Plural form transformations
+        *
+        * $wordform1 - singular form (for 1, 21, 31, 41...)
+        * $wordform2 - plural form (for 2, 3, 4, 22, 23, 24, 32, 33, 34...)
+        * $wordform3 - plural form (for 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26...)
+        */
 
        function convertPlural( $count, $forms ) {
                if ( !count( $forms ) ) { return ''; }
@@ -41,7 +41,7 @@ class LanguageBe_tarask extends Language {
                }
        }
 
-       /*
+       /**
         * 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
@@ -62,7 +62,7 @@ class LanguageBe_tarask extends Language {
                return $s;
        }
 
-       /*
+       /**
         * Four-digit number should be without group commas (spaces)
         * So "1 234 567", "12 345" but "1234"
         */
index 527a55f..1201dff 100644 (file)
@@ -55,10 +55,9 @@ class LanguageHy extends Language {
                return ( abs( $count ) <= 1 ) ? $forms[0] : $forms[1];
        }
 
-       /*
+       /**
         * Armenian numeric format is "12 345,67" but "1234,56"
         */
-
        function commafy( $_ ) {
                if ( !preg_match( '/^\d{1,4}$/', $_ ) ) {
                        return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev( $_ ) ) );
index 56184c9..94cccac 100644 (file)
@@ -105,7 +105,7 @@ class IuConverter extends LanguageConverter {
                return parent::parserConvert( $text, $parser );
        }
 
-       /*
+       /**
         * A function wrapper:
         *   - if there is no selected variant, leave the link
         *     names as they were
@@ -125,7 +125,7 @@ class IuConverter extends LanguageConverter {
                        $link = $oldlink;
        }
 
-       /*
+       /**
         * We want our external link captions to be converted in variants,
         * so we return the original text instead -{$text}-, except for URLs
         */
@@ -135,7 +135,7 @@ class IuConverter extends LanguageConverter {
                return $text;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */
index 8fa5b47..de3b17c 100644 (file)
@@ -19,9 +19,9 @@ class LanguageKaa extends Language {
                /* Full code of function convertGrammar() is in development. Updates coming soon. */
                return $word;
        }
-       /*
+
+       /**
         * It fixes issue with ucfirst for transforming 'i' to 'İ'
-        *
         */
        function ucfirst ( $string ) {
                if ( substr( $string, 0, 1 ) === 'i' ) {
@@ -31,9 +31,8 @@ class LanguageKaa extends Language {
                }
        }
 
-       /*
+       /**
         * It fixes issue with  lcfirst for transforming 'I' to 'ı'
-        *
         */
        function lcfirst ( $string ) {
                if ( substr( $string, 0, 1 ) === 'I' ) {
index 47e1309..f7d2d6d 100644 (file)
@@ -211,7 +211,7 @@ class KkConverter extends LanguageConverter {
                return $carray;
        }
 
-       /*
+       /**
         * A function wrapper:
         *  - if there is no selected variant, leave the link
         *    names as they were
@@ -231,7 +231,7 @@ class KkConverter extends LanguageConverter {
                        $link = $oldlink;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */
@@ -337,7 +337,7 @@ class KkConverter extends LanguageConverter {
                }
        }
 
-       /*
+       /**
         * We want our external link captions to be converted in variants,
         * so we return the original text instead -{$text}-, except for URLs
         */
@@ -395,9 +395,8 @@ class LanguageKk extends LanguageKk_cyrl {
                }
        }
 
-       /*
+       /**
         * It fixes issue with ucfirst for transforming 'i' to 'İ'
-        *
         */
        function ucfirst ( $string ) {
                $variant = $this->getPreferredVariant();
@@ -409,9 +408,8 @@ class LanguageKk extends LanguageKk_cyrl {
                return $string;
        }
 
-       /*
+       /**
         * It fixes issue with  lcfirst for transforming 'I' to 'ı'
-        *
         */
        function lcfirst ( $string ) {
                $variant = $this->getPreferredVariant();
index 1cc4f01..1d41957 100644 (file)
@@ -132,7 +132,7 @@ class KuConverter extends LanguageConverter {
                );
        }
 
-       /*
+       /**
         * A function wrapper:
         *   - if there is no selected variant, leave the link
         *     names as they were
@@ -152,7 +152,7 @@ class KuConverter extends LanguageConverter {
                        $link = $oldlink;
        }
 
-       /*
+       /**
         * We want our external link captions to be converted in variants,
         * so we return the original text instead -{$text}-, except for URLs
         */
@@ -162,7 +162,7 @@ class KuConverter extends LanguageConverter {
                return $text;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */
index 31f54e9..8169885 100644 (file)
@@ -93,7 +93,7 @@ class LanguageRu extends Language {
                }
        }
 
-       /*
+       /**
         * Four-digit number should be without group commas (spaces)
         * See manual of style at http://ru.wikipedia.org/wiki/Википедия:Оформление_статей
         * So "1 234 567", "12 345" but "1234"
index 5e2a3c4..e61f579 100644 (file)
@@ -77,7 +77,7 @@ class SrConverter extends LanguageConverter {
                return $carray;
        }
 
-       /*
+       /**
         * A function wrapper:
         *   - if there is no selected variant, leave the link
         *     names as they were
@@ -97,7 +97,7 @@ class SrConverter extends LanguageConverter {
                        $link = $oldlink;
        }
 
-       /*
+       /**
         * We want our external link captions to be converted in variants,
         * so we return the original text instead -{$text}-, except for URLs
         */
@@ -107,7 +107,7 @@ class SrConverter extends LanguageConverter {
                return $text;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */
index 959f6c0..c1b1e56 100644 (file)
@@ -79,7 +79,7 @@ class LanguageUk extends Language {
                }
        }
 
-       /*
+       /**
         * Ukrainian numeric format is "12 345,67" but "1234,56"
         */
        function commafy( $_ ) {