r112852 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112851‎ | r112852 | r112853 >
Date:00:07, 2 March 2012
Author:brion
Status:ok (Comments)
Tags:1.19, mathjax 
Comment:
uncomment a couple bits in mathjax setup that had been disabled while fiddling
Modified paths:
  • /trunk/extensions/Math/modules/ext.math.mathjax.enabler.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Math/modules/ext.math.mathjax.enabler.js
@@ -24,22 +24,18 @@
2525 //if ( typeof(mathJax.fontDir) !== "undefined" ) MathJax.OutputJax.fontDir = mathJax.fontDir; else MathJax.Hub.Config({ NativeMML: {webFont: null} });
2626 MathJax.OutputJax.fontDir = mathJax.fontDir = mediaWiki.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/fonts';
2727 MathJax.Hub.Register.StartupHook("End Extensions", function() {
28 - /*
29 - // this section is newly commented out while updating to MJ 2.0
3028 var TEX = MathJax.InputJax.TeX;
3129 var MACROS = TEX.config.Macros;
3230 for (var id in MACROS) {
3331 if (typeof(MACROS[id]) === "string") TEX.Macro(id, MACROS[id]);
3432 else TEX.Macro(id, MACROS[id][0], MACROS[id][1]);
3533 }
36 - */
37 - // this next section was already commented out
38 -/* TEX.Parse.Augment({
 34+ TEX.Parse.Augment({
3935 Cr: function(name) {
4036 this.GetBrackets(name);
4137 this.Push(TEX.Stack.Item.cell().With({isCR: true, name: name}));
4238 }
43 - });*/
 39+ });
4440 });
4541 MathJax.Hub.Startup.onload();
4642 }

Comments

#Comment by Aaron Schulz (talk | contribs)   23:59, 14 March 2012

Why are these tagged 1.19wmf or 1.19 for that matter?

#Comment by Brion VIBBER (talk | contribs)   01:20, 15 March 2012

So they can get deployed some day soon instead of in 4 months? :)

Status & tagging log