Restore enableWebfonts pref and remove uls-enable
This patch restores the enableWebfonts preference, stored inside the uls-preferences blob. It existed as 'enable-webfonts' in the past and was removed in If735a733717596fae03042c5e277bd538bd8501f Each wiki can be configured to load the fonts by default using the new global variable $wgULSWebfontsEnabled. Its default value is true (to load fonts). This also removes the preference 'uls-enable', recently added in I71b70d8ee7c3cad7f49b32e5dc494ef4fc1bdb2f The initialization of ext.uls.webfonts.js is changed as well, so that minimal webfonts JS library code is loaded, and the rest is loaded only if a user requests it. Bug: 60304 Change-Id: I49e812eae32266f165591c75fd67b86ca06b13f0
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
"ext-uls-display-settings-anon-label": "A label that appears to anonymous users before the message {{msg-mw|Jquery-uls-ext-uls-display-settings-anon-same-as-content}}.\n\n{{Identical|Display language}}",
|
||||
"ext-uls-display-settings-anon-same-as-content": "Text that appears to anonymous users after the label {{msg-mw|Jquery-uls-ext-uls-display-settings-anon-label}}.\n\nParameters:\n* $1 - ...",
|
||||
"ext-uls-display-settings-anon-log-in-cta": "A call to action for an anonymous user to log in.",
|
||||
"ext-uls-webfonts-settings-title": "Short title for enabling webfonts",
|
||||
"ext-uls-webfonts-settings-info": "Webfonts will be downloaded for displaying text in special scripts.",
|
||||
"ext-uls-webfonts-settings-info-link": "More information link text for webfonts\n{{Identical|More information}}",
|
||||
"ext-uls-webfonts-select-for": "Label for font selector dropdown. $1 is a language name",
|
||||
"ext-uls-webfonts-select-for-ui-info": "Information displayed under font selector",
|
||||
"ext-uls-webfonts-select-for-content-info": "Information displayed under font selector",
|
||||
@@ -50,4 +53,4 @@
|
||||
"ext-uls-input-disable-notification-info-interlanguage": "Notification bubble text when input methods are disabled, appears if the ULS is at interlanguage toolbar",
|
||||
"ext-uls-language-settings-applying": "Label for apply settings button in language settings screen, while settings being saved. Please keep it short.",
|
||||
"ext-uls-language-settings-preferences-link": "Text for the link showin in user preference screen"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user