http://test.wikipedia.org/ contains math extension to Wikipedia. It is possible to write math markup with <math></math> and it will be converted to nice PNG. Markup is more or less LaTeX+AMS.
Please test it.
Some error reporting has been added.
Oh, and for translators. The following messages should be translated: (preference page): "Rendering math" "Aways render PNG" "Try HTML first, fallback to PNG if too complex" "Leave it as TeX (for text browsers)"
What looks like: === Rendering math === (*) Aways render PNG ( ) Try HTML first, fallback to PNG if too complex ( ) Leave it as TeX (for text browsers)
(errors) "Failed to parse" "unknown error" "unknown function " "lexing error" "syntax error"
What looks like: Failed to parse (syntax error): ^_^ Failed to parse (unknown function \elephant): \elephant^2 = \mouse