http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88608

Revision: 88608
Author:   platonides
Date:     2011-05-22 22:05:18 +0000 (Sun, 22 May 2011)
Log Message:
-----------
Changes to doc-comments. /* to /** in language folder.

Modified Paths:
--------------
    trunk/phase3/languages/Language.php
    trunk/phase3/languages/classes/LanguageBe_tarask.php
    trunk/phase3/languages/classes/LanguageHy.php
    trunk/phase3/languages/classes/LanguageIu.php
    trunk/phase3/languages/classes/LanguageKaa.php
    trunk/phase3/languages/classes/LanguageKk.php
    trunk/phase3/languages/classes/LanguageKu.php
    trunk/phase3/languages/classes/LanguageRu.php
    trunk/phase3/languages/classes/LanguageSr.php
    trunk/phase3/languages/classes/LanguageUk.php

Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2011-05-22 21:54:32 UTC (rev 88607)
+++ trunk/phase3/languages/Language.php 2011-05-22 22:05:18 UTC (rev 88608)
@@ -2478,7 +2478,7 @@
                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 @@
                return $skipCount;
        }
 
-       /*
+       /**
         * truncateHtml() helper function
         * (a) push or pop $tag from $openTags as needed
         * (b) clear $tag value

Modified: trunk/phase3/languages/classes/LanguageBe_tarask.php
===================================================================
--- trunk/phase3/languages/classes/LanguageBe_tarask.php        2011-05-22 
21:54:32 UTC (rev 88607)
+++ trunk/phase3/languages/classes/LanguageBe_tarask.php        2011-05-22 
22:05:18 UTC (rev 88608)
@@ -11,12 +11,12 @@
 
 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 @@
                }
        }
 
-       /*
+       /**
         * 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 @@
                return $s;
        }
 
-       /*
+       /**
         * Four-digit number should be without group commas (spaces)
         * So "1 234 567", "12 345" but "1234"
         */

Modified: trunk/phase3/languages/classes/LanguageHy.php
===================================================================
--- trunk/phase3/languages/classes/LanguageHy.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageHy.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -55,10 +55,9 @@
                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( $_ ) ) );

Modified: trunk/phase3/languages/classes/LanguageIu.php
===================================================================
--- trunk/phase3/languages/classes/LanguageIu.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageIu.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -105,7 +105,7 @@
                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 @@
                        $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 @@
                return $text;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */

Modified: trunk/phase3/languages/classes/LanguageKaa.php
===================================================================
--- trunk/phase3/languages/classes/LanguageKaa.php      2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageKaa.php      2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -19,9 +19,9 @@
                /* 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 @@
                }
        }
 
-       /*
+       /**
         * It fixes issue with  lcfirst for transforming 'I' to 'ı'
-        *
         */
        function lcfirst ( $string ) {
                if ( substr( $string, 0, 1 ) === 'I' ) {

Modified: trunk/phase3/languages/classes/LanguageKk.php
===================================================================
--- trunk/phase3/languages/classes/LanguageKk.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageKk.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -211,7 +211,7 @@
                return $carray;
        }
 
-       /*
+       /**
         * A function wrapper:
         *  - if there is no selected variant, leave the link
         *    names as they were
@@ -231,7 +231,7 @@
                        $link = $oldlink;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */
@@ -337,7 +337,7 @@
                }
        }
 
-       /*
+       /**
         * 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 @@
                }
        }
 
-       /*
+       /**
         * It fixes issue with ucfirst for transforming 'i' to 'İ'
-        *
         */
        function ucfirst ( $string ) {
                $variant = $this->getPreferredVariant();
@@ -409,9 +408,8 @@
                return $string;
        }
 
-       /*
+       /**
         * It fixes issue with  lcfirst for transforming 'I' to 'ı'
-        *
         */
        function lcfirst ( $string ) {
                $variant = $this->getPreferredVariant();

Modified: trunk/phase3/languages/classes/LanguageKu.php
===================================================================
--- trunk/phase3/languages/classes/LanguageKu.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageKu.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -132,7 +132,7 @@
                );
        }
 
-       /*
+       /**
         * A function wrapper:
         *   - if there is no selected variant, leave the link
         *     names as they were
@@ -152,7 +152,7 @@
                        $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 @@
                return $text;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */

Modified: trunk/phase3/languages/classes/LanguageRu.php
===================================================================
--- trunk/phase3/languages/classes/LanguageRu.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageRu.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -93,7 +93,7 @@
                }
        }
 
-       /*
+       /**
         * 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"

Modified: trunk/phase3/languages/classes/LanguageSr.php
===================================================================
--- trunk/phase3/languages/classes/LanguageSr.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageSr.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -77,7 +77,7 @@
                return $carray;
        }
 
-       /*
+       /**
         * A function wrapper:
         *   - if there is no selected variant, leave the link
         *     names as they were
@@ -97,7 +97,7 @@
                        $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 @@
                return $text;
        }
 
-       /*
+       /**
         * An ugly function wrapper for parsing Image titles
         * (to prevent image name conversion)
         */

Modified: trunk/phase3/languages/classes/LanguageUk.php
===================================================================
--- trunk/phase3/languages/classes/LanguageUk.php       2011-05-22 21:54:32 UTC 
(rev 88607)
+++ trunk/phase3/languages/classes/LanguageUk.php       2011-05-22 22:05:18 UTC 
(rev 88608)
@@ -79,7 +79,7 @@
                }
        }
 
-       /*
+       /**
         * Ukrainian numeric format is "12 345,67" but "1234,56"
         */
        function commafy( $_ ) {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to