Fixed the problem. the $wgMathPath should be ="/mediawiki/images/math ".
Looking at the page source info helped determine the correct path name.
Thanks for your help.
From: Brion Vibber <brion(a)pobox.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Date: 11/18/2010 04:40 PM
Subject: Re: [Mediawiki-l] Simple Math Renders but complex math does not
Sent by: mediawiki-l-bounces(a)lists.wikimedia.org
On Thu, Nov 18, 2010 at 1:33 PM, John Edenfield <
John.Edenfield(a)clydebergemann.com> wrote:
I have isolated the problem by changing the following
in the
LocalSettings.php.
$wgMathPath ="/var/lib/mediawiki/math"
$wgMathDirectory="/var/lib/mediawiki/images/math
In MediaWiki configuration variable parlance, "path" usually refers to web
URL paths, while "directory" refers to filesystem paths.
$wgMathPath is the URL path that is used to reference the generated images
in the resulting HTML; this means you'll have things in the page like this:
<img class="tex" src="/var/lib/mediawiki/math/a/b/abcdefgh.png"
alt="a^2+b^2=c^2" />
The browser then tries to load
http://yourwiki.example.com/var/lib/mediawiki/math/a/b/abcdefgh.png --
since
there's no image there, it displays the alternate text which is the
original
TeX source.
It looks like you need to set $wgMathPath = "/images/math".
-- brion
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l