I need to show mathematical terms in mediawiki-1.26.2 so I tried to install SimpleMathJax on mediawiki. I followed the described in extension page:

I downloaded SimpleMathJax-master.zip then extract, rename it to SimpleMathJax and move it to extensions directory of mediawiki. I added these lines to LocalSettings.php:

# End of automatically generated settings.
# Add more configuration options below.
require_once "$IP/extensions/SimpleMathJax/SimpleMathJax.php";
$wgSimpleMathJaxSize = 120;

But when I want to browse to the Wiki, I get this error:

wiki is currently unable to handle this request.

Also I tried to replace require_once "$IP/extensions/SimpleMathJax/SimpleMathJax.php"; line with wfLoadExtension( 'SimpleMathJax' ); but problem remains.

  • That extension doesn't have a extension.json file, so you'll have to use the require_once method of enabling it. (Not that this helps with figuring out your problem.) – Sam Wilson Oct 23 '16 at 2:10
  • @SamWilson It seems you say that I should not replace require_once ... with wfLoadExtension... . But how I can solve this problem? – hasanghaforian Oct 23 '16 at 2:39
  • That's correct. And to solve your problem, you need to figure out what the actual error is. So make sure you've got all error output turned on; see mediawiki.org/wiki/Manual:How_to_debug for more details. – Sam Wilson Oct 23 '16 at 5:28
  • @SamWilson I read that article and will tell you the result. – hasanghaforian Oct 23 '16 at 6:16

See the debugging manual on how to find out what your error is.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.