http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97757
Revision: 97757
Author: robin
Date: 2011-09-21 19:30:08 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
* follow-up r97636: decrease indentation & mention revision per Nikerabbit
* add @since for r97071
Modified Paths:
--------------
trunk/phase3/includes/parser/ParserOptions.php
trunk/phase3/languages/Language.php
trunk/phase3/languages/LanguageConverter.php
Modified: trunk/phase3/includes/parser/ParserOptions.php
===================================================================
--- trunk/phase3/includes/parser/ParserOptions.php 2011-09-21 19:24:09 UTC
(rev 97756)
+++ trunk/phase3/includes/parser/ParserOptions.php 2011-09-21 19:30:08 UTC
(rev 97757)
@@ -275,7 +275,7 @@
*
* @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 ) {
Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2011-09-21 19:24:09 UTC (rev 97756)
+++ trunk/phase3/languages/Language.php 2011-09-21 19:30:08 UTC (rev 97757)
@@ -3418,6 +3418,8 @@
/**
* 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)
*/
Modified: trunk/phase3/languages/LanguageConverter.php
===================================================================
--- trunk/phase3/languages/LanguageConverter.php 2011-09-21 19:24:09 UTC
(rev 97756)
+++ trunk/phase3/languages/LanguageConverter.php 2011-09-21 19:30:08 UTC
(rev 97757)
@@ -1364,7 +1364,7 @@
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 @@
// then convert <text
to convert> to fallback language
$this->mRules =
$this->mConverter->autoConvert( $this->mRules,
-
$variantFallback );
+
$variantFallback );
break;
}
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs