Jimmy Wales jwales@bomis.com writes:
For now, you have to wait for Ted to make your image for you, but someday we will surely find a way to automate this. One problem is that TeX is not just a typesetting thing, but a programming language, so blindly letting the webserver interpret it is very dangerous.
I'd do it through a whitelist. From the top of my head:
[a-z0-9_^~{}] are always ok \ is ok if followed by a known command: sum, over, etc.
Building a list of 50 commands that worked for 90 % of all useful (to Wikipedia) math code should not be hard. One can always add commands later, should they be needed.