just FYI, I think you of course know that:
MediaWiki uses the same mechanisms, e.g. for its GraphViz (dot) plugin
(which I had been setting up as Admin on some server some day).
So there's a trigger when a file gets uploaded,
and whenever that happens, the plugin takes the newly appeared or touched input file,
processes it (e.g. runs it through ldglite) and puts the resulting image in an image cache folder.
The rendered web page then will reference that.
Very simple mechanism. Is also used by several other MediaWiki plugins, e.g. the LaTeX plugin
MediaWiki uses the same mechanisms, e.g. for its GraphViz (dot) plugin
(which I had been setting up as Admin on some server some day).
So there's a trigger when a file gets uploaded,
and whenever that happens, the plugin takes the newly appeared or touched input file,
processes it (e.g. runs it through ldglite) and puts the resulting image in an image cache folder.
The rendered web page then will reference that.
Very simple mechanism. Is also used by several other MediaWiki plugins, e.g. the LaTeX plugin