colivier.ext(a)orange-ftgroup.com wrote:
Hello,
Many pages in our mediawiki instance are generated by a shell script.
The generated text contains standard mediawiki syntax and dot graphs between
<graphviz> </graphviz> tags.
Up to now we've been copying/pasting the generated text files into the mediawiki
editor, but we are now looking for a way tell mediawiki to render those files as if they
were stored as a regular page, calling other extensions as needed.
The include extensions we've tried so far cannot cope with graphviz tags; they simply
include them as wikitext without calling others extension parsers.
Is there a way to simply tell mediawiki to load a text file and render it as if it were
stored in the database
Regards,
Cédric OLIVIER
What about making the script *actually storing it* in the database?
(ie. maintenance/importTextFile.php )