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 <[email protected]>
To:     MediaWiki announcements and site admin list
            <[email protected]>
Date:   11/18/2010 04:40 PM
Subject:        Re: [Mediawiki-l] Simple Math Renders but complex math does not
Sent by:        [email protected]



On Thu, Nov 18, 2010 at 1:33 PM, John Edenfield <
[email protected]> 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to