Merge "Fix: Set default MathStyle to inlineDisplaystyle"

This commit is contained in:
jenkins-bot 2015-07-31 17:01:14 +00:00 committed by Gerrit Code Review
commit 9a8455cec1

View file

@ -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' ) {