[Mediawiki-l] How to load a text file and render it as if it were stored in the database

colivier.ext at orange-ftgroup.com colivier.ext at orange-ftgroup.com
Tue Feb 15 14:34:39 UTC 2011


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
********************************************************************************

IMPORTANT. 
Les informations contenues dans ce message électronique y compris les fichiers attachés sont strictement confidentielles et peuvent être protégées par la loi.
Ce message électronique est destiné exclusivement au(x) destinataire(s) mentionné(s) ci-dessus. 
Si vous avez reçu ce message par erreur ou s'il ne vous est pas destiné, veuillez immédiatement le signaler à l'expéditeur et effacer ce message et tous les fichiers éventuellement attachés.
Toute lecture, exploitation ou transmission des informations contenues dans ce message est interdite. 
Tout message électronique est susceptible d'altération.
A ce titre, le Groupe France Télécom décline toute responsabilité notamment s'il a été altéré, déformé ou falsifié ; de même, il appartient au destinataire de s'assurer de l'absence de tout virus.
  
IMPORTANT.This e-mail message and any attachments are strictly confidential and may be protected by law. This message is intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure of this message is prohibited. 
Since e-mail messages may not be reliable, France Telecom Group shall not be liable for any message if modified, changed or falsified; additionally the recipient should ensure they are actually virus free.

********************************************************************************





More information about the MediaWiki-l mailing list