On Wed, Jul 24, 2013 at 10:55 AM, C. Scott Ananian cananian@wikimedia.org wrote:
It seems like many of those issues could be worked around if mediawiki/core kept a simple "uses math markup" boolean for each page. All the overhead of MathJax could be eliminated unless it was actually needed.
This is already be the case. MathJax is loaded by a small RL module that itself is only loaded on pages containing the <math> tag.
You can test this easily enough: create a page with "<span class="tex">$ E = m c^2 $</span>" and it won't be MathJaxed. Then add a <math> tag and it suddenly will be.