Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -398,7 +398,7 @@ |
399 | 399 | |
400 | 400 | static function mathPreferences( $user, &$defaultPreferences ) { |
401 | 401 | ## Math ##################################### |
402 | | - global $wgUseTeX; |
| 402 | + global $wgUseTeX, $wgLang; |
403 | 403 | if ($wgUseTeX) { |
404 | 404 | $defaultPreferences['math'] = |
405 | 405 | array( |