Thread:Project:Support desk/MathJax and user rights ?

version mediawiki 1.23.2 Problem solved just by adding "$wgParserCacheType = CACHE_NONE;" at the end of localsetting.php ( even if you have $wgMainCacheType = CACHE_NONE; in this file )

Here are More explanation about my previous help requirement about my incorrect MathJax display (except as if i am a wikisysop)

According how we are connected; It seems there is a problem with the method MathJax::Inject_JS (but i am not expert with php ?) I put any echo trace in the php file and i see very often i exit from this due to the test static variable $Mark_n==1

Hereafter is what I may see in the generated HTML code source of my wikipage page :

mw.loader.load(["ext.slideshow.main","ext.cite","mediawiki.action.view.postEdit","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.page.watch.ajax","ext.gadget.MonobookToolbarSearchReplace","mmv.bootstrap.autostart","skins.vector.collapsibleNav"],null,true); }  //<![CDATA[ MathJax.Hub.Config({       tex2jax: {            inlineMath: [ ['$','$'], ["\\(","\\)"] ],            displayMath: [ ['$$','$$'], ["\\[","\\]"] ],            processEscapes: false,            element: "content",            ignoreClass: "(tex2jax_ignore|mw-search-results|searchresults)", /* note: this is part of a regex, check the docs! */            skipTags: ["script","noscript","style","textarea","code"] /* removed pre as wikimedia renders math in there */        },        TeX: {          Macros: {            /* Wikipedia compatibility: these macros are used on Wikipedia */            empty: '\\emptyset',            P: '\\unicode{xb6}',            Alpha: '\\unicode{x391}', /* FIXME: These capital Greeks don't show up in bold in \boldsymbol ... */            Beta: '\\unicode{x392}',            Epsilon: '\\unicode{x395}',    ......
 * Log as WikiSysop

bsy: '\\boldsymbol{y}',   /* a vector 'y' */ bsz: '\\boldsymbol{z}',   /* a vector 'z' */ bsDelta: '\\boldsymbol{\\Delta}', /* a vector '\Delta' */ E: '\\mathrm{e}',         /* the exponential */ rd: '\\,\\mathrm{d}',     /*  roman d for use in integrals: $\int f(x) \rd x$ */ rdelta: '\\,\\delta',     /* delta operator for use in sums */ rD: '\\mathrm{D}',        /* differential operator D */

/* example from MathJax on how to define macros with parameters: */ /* bold: ['{\\bf #1}', 1] */

RR: '\\mathbb{R}', ZZ: '\\mathbb{Z}', NN: '\\mathbb{N}', QQ: '\\mathbb{Q}', CC: '\\mathbb{C}', FF: '\\mathbb{F}' }       }    }); //]]> //<![CDATA[ MathJax.Hub.config.tex2jax.inlineMath.push(['$','$']); MathJax.Hub.config.tex2jax.displayMath.push(['$$','$$']); //]]>



if(window.mw){ mw.config.set({"wgBackendResponseTime":2005}); }


 * Log as user or not connected : (All the scripts are not included in my page)

mw.loader.load(["ext.slideshow.main","ext.cite","mediawiki.action.view.postEdit","mediawiki.user","mediawiki.hidpi","mediawiki.page.ready","mediawiki.searchSuggest","mmv.bootstrap.autostart","skins.vector.collapsibleNav"],null,true); } if(window.mw){ mw.config.set({"wgBackendResponseTime":655}); }