Avoid reflow (FOUC) due to ULS link on Special:Preferences
Rather than building the link in JS, which is delayed until the JS code loads, we build it in PHP and hide it from no-JS users with CSS. Change-Id: If0c3a4dc137d8bf6cf24957dd063bd0a39791d2e
This commit is contained in:
committed by
jenkins-bot
parent
427c36a9e1
commit
f0ad6be4ab
@@ -200,8 +200,7 @@
|
||||
"uls-plang-title-languages",
|
||||
"ext-uls-select-language-settings-icon-tooltip",
|
||||
"ext-uls-undo-language-tooltip-text",
|
||||
"ext-uls-undo-language-tooltip-text-local",
|
||||
"ext-uls-language-settings-preferences-link"
|
||||
"ext-uls-undo-language-tooltip-text-local"
|
||||
],
|
||||
"localBasePath": "resources",
|
||||
"remoteExtPath": "UniversalLanguageSelector/resources"
|
||||
@@ -353,6 +352,11 @@
|
||||
"localBasePath": "resources",
|
||||
"remoteExtPath": "UniversalLanguageSelector/resources"
|
||||
},
|
||||
"ext.uls.preferencespage": {
|
||||
"styles": "css/ext.uls.preferencespage.less",
|
||||
"localBasePath": "resources",
|
||||
"remoteExtPath": "UniversalLanguageSelector/resources"
|
||||
},
|
||||
"rangy.core": {
|
||||
"scripts": "rangy/rangy-core.js",
|
||||
"localBasePath": "lib",
|
||||
|
||||
Reference in New Issue
Block a user