mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-28 01:10:09 +00:00
Remove 'ext.math.scripts' from styles queue on wikidata
Follows-up 946a18d1
, which accidentally added a scripts module
to the styles queue (which is a no-op).
Fixes the following debug warning:
> Unexpected general module "ext.math.scripts" in styles queue.
Bug: T158376
Change-Id: Id026fbaa48cfab582b192bc0974ba7c6f01f37d0
This commit is contained in:
parent
09d7aa6db3
commit
fcdfc31611
|
@ -41,8 +41,7 @@ class MathWikidataHook {
|
|||
},
|
||||
'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 );
|
||||
},
|
||||
'rdf-builder-factory-callback' => function (
|
||||
|
|
Loading…
Reference in a new issue