Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/65708
Change subject: Do not use "System" as a font ...................................................................... Do not use "System" as a font Regression from I62860f9d62538915628ad21e5d904e56bdcc9430 Bug: 48871 Change-Id: I72f5c40739928244cd402c000b48af9911c5b0c7 --- M resources/js/ext.uls.webfonts.js 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector refs/changes/08/65708/1 diff --git a/resources/js/ext.uls.webfonts.js b/resources/js/ext.uls.webfonts.js index 206f664..e4549b8 100644 --- a/resources/js/ext.uls.webfonts.js +++ b/resources/js/ext.uls.webfonts.js @@ -62,6 +62,10 @@ font = repository.defaultFont( language ); } + if ( font === 'system' ) { + // Avoid setting 'system' as a font in css + font = null; + } return font; }, exclude: ( function () { -- To view, visit https://gerrit.wikimedia.org/r/65708 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I72f5c40739928244cd402c000b48af9911c5b0c7 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits