r49931 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49930‎ | r49931 | r49932 >
Date:05:43, 27 April 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix preferences for sites with math enabled
Modified paths:
  • /trunk/phase3/includes/Preferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Preferences.php
@@ -398,7 +398,7 @@
399399
400400 static function mathPreferences( $user, &$defaultPreferences ) {
401401 ## Math #####################################
402 - global $wgUseTeX;
 402+ global $wgUseTeX, $wgLang;
403403 if ($wgUseTeX) {
404404 $defaultPreferences['math'] =
405405 array(

Status & tagging log