wiki.techinc.nl/includes/specialpage
Ammarpad 8713498046 specialpage: Improve handling of invalid lang codes on login/signup
Special pages for login and signup contain language selector links
to change the interface language, the available languages are defined
via the `loginlanguagelinks` message. Invalid codes will make the
pages completely inaccessible, preventing account creation and login.

This patch improves the link generation logic to only create links
for codes considered valid by LanguageNameUtils.

Bug: T384995
Change-Id: I4f470dc417a773225ba335f95da1151525a2f620
(cherry picked from commit da179c65056d65dc5d610af1e29fed57df4f1082)
2025-01-29 16:04:57 +00:00
..
Hook Remove repeated word in SpecialPage_initListHook 2024-06-04 16:11:09 +03:00
AuthManagerSpecialPage.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
ChangesListSpecialPage.php Replace uses of deprecated ChangeTags static methods 2024-10-16 13:30:12 -04:00
ContributionsSpecialPage.php specials: Fix contributions page for user '0' 2024-11-12 14:31:22 -05:00
DisabledSpecialPage.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
FormSpecialPage.php Consistent spelling of "subpage" 2024-08-06 04:01:02 -04:00
ImageQueryPage.php specials: Type-hint QueryPage::outputResults with IReadableDatabase 2024-04-21 21:09:17 +02:00
IncludableSpecialPage.php specials: Improve docs and @ingroup tags, fix file headers 2024-05-15 11:59:50 +00:00
LoginSignupSpecialPage.php specialpage: Improve handling of invalid lang codes on login/signup 2025-01-29 16:04:57 +00:00
PageQueryPage.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
QueryPage.php build: Use inline ignore for Generic.CodeAnalysis.AssignmentInCondition 2024-09-01 00:15:10 +02:00
RedirectSpecialArticle.php specials: Improve docs and @ingroup tags, fix file headers 2024-05-15 11:59:50 +00:00
RedirectSpecialPage.php specials: Improve docs and @ingroup tags, fix file headers 2024-05-15 11:59:50 +00:00
SpecialPage.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
SpecialPageFactory.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
SpecialRedirectToSpecial.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
SpecialRedirectWithAction.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
UnlistedSpecialPage.php Standardise all our class alias deprecation comments for ease of grepping 2024-03-19 20:11:29 +00:00
WantedQueryPage.php specials: Improve docs and @ingroup tags, fix file headers 2024-05-15 11:59:50 +00:00