Optionally exclude elements from applying webfonts
* Updates jquery.webfonts from upstream * Introduces wgULSNoWebfontsSelectors configuration variable. It takes an array of jquery selector to which webfonts will not be applied if defined. Change-Id: I0dc263f84620af4077f52e18eeb0f986ff0f13b9
This commit is contained in:
@@ -130,6 +130,14 @@ $wgULSEventLogging = false;
|
||||
*/
|
||||
$wgULSNoImeSelectors = array( '#wpCaptchaWord' );
|
||||
|
||||
|
||||
/**
|
||||
* Array of jQuery selectors of elements on which webfonts must not be applied.
|
||||
* By default exclude the interwiki language links.
|
||||
* @since 2013.09
|
||||
*/
|
||||
$wgULSNoWebfontsSelectors = array( '#p-lang li > a' );
|
||||
|
||||
$dir = __DIR__;
|
||||
|
||||
// Internationalization
|
||||
|
||||
Reference in New Issue
Block a user