Fix: Set default MathStyle to inlineDisplaystyle
In I6d1094ece79e912d9ddbef6681a25196c7a6e801 math styles were renamed from integer constants to string constants. Before NULL corresponded to inlineDisplaystyle. This is no longer the case so NULL has to be replaced by the actual default value. Change-Id: Ibf6bdbd4ea36b4905445d5878f32f7e0b2bc8bac
This commit is contained in:
parent
bc52c77d24
commit
fdf791d02a
@ -112,7 +112,7 @@ abstract class MathRenderer {
|
||||
*/
|
||||
public static function getRenderer( $tex, $params = array(), $mode = 'png' ) {
|
||||
global $wgDefaultUserOptions, $wgMathEnableExperimentalInputFormats;
|
||||
$mathStyle = null;
|
||||
$mathStyle = 'inlineDisplaystyle'; // Set the default style
|
||||
if ( isset( $params['display'] ) ) {
|
||||
$layoutMode = $params['display'];
|
||||
if ( $layoutMode == 'block' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user