mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
Remove math script from Wikibase client styles queue
Follows-up946a18d1
, which accidentally added a scripts module to the styles queue (which is a no-op) andfcdfc316
which removes it from the repo. Fixes the following debug warning: > Unexpected general module "ext.math.scripts" in styles queue. Bug: T158376 Change-Id: I432e724d5f84887f4aecb56db607d189db12c329
This commit is contained in:
parent
9b4316330c
commit
303e64c502
|
@ -70,8 +70,7 @@ class MathWikidataHook {
|
|||
'value-type' => 'string',
|
||||
'formatter-factory-callback' => function( $format, FormatterOptions $options ) {
|
||||
global $wgOut;
|
||||
$styles = [ 'ext.math.scripts', 'ext.math.styles' ];
|
||||
$wgOut->addModuleStyles( $styles );
|
||||
$wgOut->addModuleStyles( [ 'ext.math.styles' ] );
|
||||
return new MathFormatter( $format );
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue