Jump to content

User talk:Dirk Nuyens

Add topic
From mediawiki.org
Latest comment: 11 years ago by Jongfeli in topic MathJax and Semantic Forms

Dear Dirk Nuyens, Welcome to MediaWiki.org!

Yes, welcome! This site is dedicated to documenting the MediaWiki software, the software behind many wikis, including that of Wikipedia and the Wikimedia Foundation projects.
Please, take a look at the following pages. They might prove useful to you as a newcomer here:

If you have any questions, please ask me on my talk page. Once again, welcome, and I hope you quickly feel comfortable here, and find this site useful documentation of the MediaWiki software.

Thanks, and regards, Trijnstel (talk) 23:14, 27 May 2012 (UTC)Reply

MathJax and Semantic Forms

[edit]

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)Reply

MathJax and inject_JS problem

[edit]

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 ?