*
* @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 ) {
/**
* 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)
*/
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 =
// then convert <text to convert> to fallback language
$this->mRules =
$this->mConverter->autoConvert( $this->mRules,
- $variantFallback );
+ $variantFallback );
break;
}
}