After I installed MathJax to display formulas, they are rendered only at the first time of opening the page in the browser. But when I refresh the page later, all formulas remain LaTex code and cannot be rendered. They only display correctly in preview mode. I searched the Internet and found others also ran into the same problem (link is as below):
http://www.mwusers.com/forums/showthread.php?18572-MathJax-problem-in-MediaWiki