Fix regressions in ULS entry point setup
* Link in preferences is again opening ULS * "personal" entry point now works even with compact languages preference disabled I added lots of comments and refactored this code to give things better names to make this code easier to understand and maintain and hopefully reduce the amount of bugs in the future. Bug: T282956 Bug: T286574 Change-Id: I9cd6776ea6664e33fd63c49dfa77c5f004fba799
This commit is contained in:
committed by
jenkins-bot
parent
4f40e08f9c
commit
03d099eddc
@@ -424,7 +424,7 @@ class UniversalLanguageSelectorHooks {
|
||||
'section' => 'personal/i18n',
|
||||
// We use this class to hide this from no-JS users
|
||||
'cssclass' => 'uls-preferences-link-wrapper',
|
||||
'default' => "<a id='uls-preferences-link' role='button' tabindex='0'>" .
|
||||
'default' => "<a id='uls-preferences-link' class='uls-settings-trigger' role='button' tabindex='0'>" .
|
||||
wfMessage( 'ext-uls-language-settings-preferences-link' )->escaped() . "</a>",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user