* follow-up r97636: decrease indentation & mention revision per Nikerabbit
authorRobin Pepermans <robin@users.mediawiki.org>
Wed, 21 Sep 2011 19:30:08 +0000 (19:30 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Wed, 21 Sep 2011 19:30:08 +0000 (19:30 +0000)
* add @since for r97071

includes/parser/ParserOptions.php
languages/Language.php
languages/LanguageConverter.php

index c545747..36fce34 100644 (file)
@@ -275,7 +275,7 @@ class ParserOptions {
         *
         * @since 1.17
         * @param $forOptions Array
-        * @param $title Title: will be used to get the page content language
+        * @param $title Title: will be used to get the page content language (since r97636)
         * @return \string Page rendering hash
         */
        public function optionsHash( $forOptions, $title = null ) {
index ca9782d..07e7003 100644 (file)
@@ -3418,6 +3418,8 @@ class Language {
        /**
         * Get all message keys for a given language. This is a faster alternative to
         * array_keys( Language::getMessagesFor( $code ) )
+        *
+        * @since 1.19
         * @param $code string Language code
         * @return array of message keys (strings)
         */
index 7d399e3..5cf714d 100644 (file)
@@ -1364,7 +1364,7 @@ class ConverterRule {
                        if ( isset( $this->mVariantFlags[$variant] ) ) {
                                // then convert <text to convert> to current language
                                $this->mRules = $this->mConverter->autoConvert( $this->mRules,
-                                                                                                                               $variant );
+                                       $variant );
                        } else { // if current variant no in flags,
                                   // then we check its fallback variants.
                                $variantFallbacks =
@@ -1376,7 +1376,7 @@ class ConverterRule {
                                                        // then convert <text to convert> to fallback language
                                                        $this->mRules =
                                                                $this->mConverter->autoConvert( $this->mRules,
-                                                                                                                               $variantFallback );
+                                                                       $variantFallback );
                                                        break;
                                                }
                                        }