Personal tools

MediaWiki: Difference between revisions

From biophysics wiki

Jump to: navigation, search
No edit summary
No edit summary
Line 12: Line 12:
For detailed description see: http://www.mediawiki.org/wiki/Extension:MathJax
For detailed description see: http://www.mediawiki.org/wiki/Extension:MathJax


Download "Mathjax.php" and "mwMathJaxConfig.js" into the folder your_wiki/extensions/Mathjax
Download "Mathjax.php" and "mwMathJaxConfig.js" into the folder your_wiki/extensions/Mathjax <br/>
Add the following into LocalSettings.php code: require_once( "$IP/extensions/MathJax/MathJax.php" );
Add the following into LocalSettings.php code... require_once( "$IP/extensions/MathJax/MathJax.php" );
 
There is a bug in Extension:MathJax with MediaWiki 1.19.0, uncomment the next line if you encounter issues
#$wgParserCacheType = CACHE_NONE;

Revision as of 15:02, 29 July 2012

How to change the Sidebar


  1. go to 'localhost/wiki/index.php?title=MediaWiki:Sidebar' as administrator
  2. You will see the content of the sidebar, or navigation links, on a Wiki page as a list with a format of Link|name like this:
  • navigation
    • mainpage|mainpage

How to enable Latex environment


For detailed description see: http://www.mediawiki.org/wiki/Extension:MathJax

Download "Mathjax.php" and "mwMathJaxConfig.js" into the folder your_wiki/extensions/Mathjax
Add the following into LocalSettings.php code... require_once( "$IP/extensions/MathJax/MathJax.php" );