However, this brings me to the question: are user-defined macros possible in Wiki-TeX? During my working-life I've written hundreds of TeX macros, but I gave up using them after retirement, when I started to write for WP, for I assumed (perhaps incorrectly) that the Wiki software does not allow macros.
Unfortunately not. Neither \newcommand nor \def or \let are recognized by the parser.
But perhaps it is possible to install an extension?
(I tried to use templates together with math, but without success. But there might be a way?)
WP seems to use pictures for chemistry structures.
Instead of a postscript file, pdftex can be used to generate a pdf-file (which also can be converted).
Using TeX to generate the pictures would allow to store the code with the pictures (for later modifications).
(An ambitious idea: Could TeX be used to generate the "print version" of the pages?
Pages with formulas would look much better, and "normal" pages would look better.)