I want to render latex on a mediawiki installation that I don't have shell access to.I've tried and failed to use the Math installation, so I'd like to include the equivalent of these two scripts in my mediawiki header, so that the scripts are used on all skins.  Where can I include the scripts?    <script type='text/x-mathjax-config'>        MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: 'all'} } });    </script>    <script type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&#038;ver=3.5.1'>    </script>I tried including the second script by editing in the browser ..wiki/index.php/Mediawiki:Common.js and ..wiki/index.php/Mediawiki:Mobile.js, addingmw.loader.load( 'http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&#038;ver=3.5.1' )Where can I add the MathJax.Hub.Config script?
How to configure Mathjax in Mediawiki?
javascript;mediawiki
I deleted everything in Mediawiki:Common.js and put it all in wiki/includes/OutputPage,phpi.e. I changed $ret .= $this->buildCssLinks();$ret .= $this->getHeadScripts() . \n;to $ret .= $this->buildCssLinks();$ret .=             <script type='text/x-mathjax-config'>                    MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: 'all'} } });            </script>            <script type='text/javascript' src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML&#038;ver=3.5.1'></script> \n;$ret .= $this->getHeadScripts() . \n;