[pmwiki-users] AllRecentChanges Page Problem After Upgrade to 2
Bruce Files
bruce.files at gmail.com
Wed Nov 2 20:55:40 CST 2005
On 11/2/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Wed, Nov 02, 2005 at 06:33:30PM -0600, Bruce Files wrote:
> > We upgraded our internal pmwiki website from 1 to 2.0.11 October 25th.
> >
> > I renamed all the 'Main' pages to 'Site' and added this line to my
> > local/config.php:
> > $DefaultGroup = 'Site';
>
> You probably don't want to switch all 'Main' pages to Site, just those
> that are "utility" pages.
We had already switched everything but the utility pages out of Main
back in our 1.x setup.
>
> > But my Site.AllRecentChanges page does not get updated as new edits are made.
> >
> > Instead a Main.AllRecentChanges page is re-created and all the updates
> > continue to go there.
> >
> > What did I do wrong? There is NO $RecentChangesFmt array defined in
> > my local/config.php, so I assume I am using the default values right
> > out of pmwiki.php.
>
> It may be that a cookbook extension is setting $RecentChangesFmt
> to use Main.AllRecentChanges -- I know this was the case for
> a few cookbook recipes (although I think most of them have been
> fixed).
Sure enough - we only use two cookbook extensions, but one of them is
changesum.php which has the lines:
## Add the change summary text to the RecentChanges entry
$RecentChangesFmt = array(
'Main.AllRecentChanges' =>
'* [[$Group.$Name]] . . . $CurrentTime by $AuthorLink - \'\'
$ChangeSummary \'\'',
'$Group.RecentChanges' =>
'* [[$Group/$Name]] . . . $CurrentTime by $AuthorLink -
[=$ChangeSummary=] ' );
I'm using "Version: changesum 2.2".
I took another look at the cookbook page for ChangeSummary and see the note:
"Note: This recipe is superceded by pmwiki 2.0.beta44." But I'm not
sure what this means - after we converted to 2.0.11 the edit form did
not have a change summary "out-of-the-box".
>
> Pm
>
More information about the pmwiki-users
mailing list