Simetrical schreef:
Maybe someone could write up a maintenance script that will just accept wikitext on stdin and output HTML to stdout, with anything else necessary (e.g., title) passed as a command-line option. Ideally this wouldn't need a database, either, although in practice you'd need some amount of configuration (where should URLs point, what namespaces exist, . . .), which could hopefully be averted with sensible defaults.
This more or less exists already in the API:
http://en.wikipedia.org/w/api.php?action=parse&text=%5B%5Bhello%5D%5D&am...
Roan Kattouw (Catrope)