Merge "Remove math script from Wikibase client styles queue"

This commit is contained in:
jenkins-bot 2017-05-30 22:20:04 +00:00 committed by Gerrit Code Review
commit 8d7d411090

View file

@ -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 );
},
];