Merge "Explicitly define module position"
This commit is contained in:
commit
3f6b1f0910
2
Math.php
2
Math.php
|
@ -244,12 +244,14 @@ $wgSpecialPages['MathShowImage'] = 'SpecialMathShowImage';
|
|||
$wgSpecialPages['MathStatus'] = 'SpecialMathStatus';
|
||||
|
||||
$wgResourceModules['ext.math.styles'] = array(
|
||||
'position' => 'top',
|
||||
'localBasePath' => __DIR__ . '/modules',
|
||||
'remoteExtPath' => 'Math/modules',
|
||||
'styles' => 'ext.math.css',
|
||||
'targets' => array( 'desktop', 'mobile' ),
|
||||
);
|
||||
$wgResourceModules['ext.math.desktop.styles'] = array(
|
||||
'position' => 'top',
|
||||
'localBasePath' => __DIR__ . '/modules',
|
||||
'remoteExtPath' => 'Math/modules',
|
||||
'styles' => 'ext.math.desktop.css',
|
||||
|
|
Loading…
Reference in New Issue