From: Rob Church Date: Thu, 22 Jun 2006 12:22:55 +0000 (+0000) Subject: * Remove incorrect comment fragment X-Git-Tag: 1.31.0-rc.0~56692 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=0020e3e4ed198e376a8cb530b11b68cb524b11a4;p=lhc%2Fweb%2Fwiklou.git * Remove incorrect comment fragment * Document makeLanguageSelectorLink --- diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index a951d2b1c2..6a605fdc65 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -626,7 +626,7 @@ class LoginForm { /** * Produce a bar of links which allow the user to select another language - * during login/registration but retain "returnto" and certain form values + * during login/registration but retain "returnto" * * @return string */ @@ -646,6 +646,13 @@ class LoginForm { } } + /** + * Create a language selector link for a particular language + * Links back to this page preserving type and returnto + * + * @param $text Link text + * @param $lang Language code + */ function makeLanguageSelectorLink( $text, $lang ) { global $wgUser; $self = Title::makeTitle( NS_SPECIAL, 'Userlogin' );