From 0020e3e4ed198e376a8cb530b11b68cb524b11a4 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Thu, 22 Jun 2006 12:22:55 +0000 Subject: [PATCH] * Remove incorrect comment fragment * Document makeLanguageSelectorLink --- includes/SpecialUserlogin.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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' ); -- 2.20.1