Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

PageRegenerate

Summary: Make PmWiki regenerate a page, as if someone had done an edit+save sequence.
Version: 1.0
Prerequisites: None.
Status: Stable
Maintainer: Anno
Categories: Administration

Questions answered by this recipe

This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.

Description

Make PmWiki regenerate a page, as if someone had done an edit+save sequence.

Notes

Add to your config.php file:

    if ($action == 'regen') 
      { $action = 'edit'; $_POST = array('post'=>'1'); }

Executing ?action=regen on any page will cause PmWiki to regenerate the page, as if someone had done an edit+save sequence.

Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See Also

http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/42595

Contributors

Pm
Anno

Comments

User notes?: If you use, used or reviewed this recipe, you can add your name. The following format is recognized:
* (+) Optional positive comment. Name, date
* (-) Optional negative comment. Name, date

These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Edit - History - Print - Recent Changes - Search
Page last modified on January 10, 2008, at 04:23 AM