MathJax and Semantic Forms
Hello Dirk. I encountered a little problem with the above combination. I don't know if it is related to Mathjax or Semantic Forms but maybe you can have a look. You can find a description of the problem on Semantic Forms with MathJax. Best regards --Jongfeli (talk) 11:49, 19 March 2013 (UTC)
MathJax and inject_JS problem
I create a math formula on a page OK when I save the page, the formula is correctly displayed
now I disconnect and connect with an other username (in the same session of mediawiki) So now the formula isn't correctly displayed. The syntax is displayed and the inject_JS has not write inclusion at the end of the HTML page (even if the __MATHJAX__ has been written on the page to force the inject_JS)
Very often, after vieving other pages... and return to the page with formula the inject_JS is not executed.
So I redisconnect and reconnect as Wikisysop and now the formula is OK (LOL)
If I go to a new mediawiki session, the formula is never displayed as expected (except when i am log as WikiSysop)
So I just write some echo trace in the php : and at each times we exit from the inject_JS method : It is on the test if(self::$mark_n == 1) return true;
but I never have this problem if I log to the wiki as "wikisysop" why ? Is it probably due to the creation of a new object MathJax_parser that refresh its static variable $mark_n ?