[pmwiki-users] Text Replacement

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 4 15:44:25 CDT 2005

On Thu, Aug 04, 2005 at 03:36:45PM -0500, Monte Padget wrote:
>    I have been searching pmwiki.org and no luck so far.
>    I would like to be able to have text replaced in a wiki page
>    automatically. The goal is to allow the user to enter in something
>    specific, for which I'm trying to write a recipe, and when the user saves,
>    the recipe will execute and replace the entered text with non-recipe text.
>    Are there any functions available for this?

Take a look at $ROSPatterns (replace-on-save patterns).  There are
a couple of examples in scripts/author.php .


More information about the pmwiki-users mailing list