mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-15 11:48:23 +00:00
Merge "Remove math script from Wikibase client styles queue"
This commit is contained in:
commit
8d7d411090
|
@ -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