X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=languages%2FLanguageConverter.php;h=eae77fb494acc57170d800247fe0d47e93d0a012;hb=556b75985dc9670b7d1224c317f121904f658856;hp=b3a4c1a8adb94c1ef7f1555b302cdb345fa1b4e5;hpb=f6cff5e392f178942407cbf56b58de825d37d022;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/LanguageConverter.php b/languages/LanguageConverter.php index b3a4c1a8ad..eae77fb494 100644 --- a/languages/LanguageConverter.php +++ b/languages/LanguageConverter.php @@ -54,7 +54,7 @@ class LanguageConverter { public $mManualLevel; /** - * @var string memcached key name + * @var string Memcached key name */ public $mCacheKey; @@ -737,12 +737,12 @@ class LanguageConverter { * If a language supports multiple variants, it is possible that * non-existing link in one variant actually exists in another variant. * This function tries to find it. See e.g. LanguageZh.php + * The input parameters may be modified upon return * - * @param string $link The name of the link - * @param mixed $nt The title object of the link + * @param string &$link The name of the link + * @param Title &$nt The title object of the link * @param bool $ignoreOtherCond To disable other conditions when * we need to transclude a template or update a category's link - * @return void Null, the input parameters may be modified upon return */ public function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) { # If the article has already existed, there is no need to @@ -1102,6 +1102,7 @@ class LanguageConverter { /** * Get the cached separator pattern for ConverterRule::parseRules() + * @return string */ function getVarSeparatorPattern() { if ( is_null( $this->mVarSeparatorPattern ) ) {