[Pmwiki-users] PmWiki potential bug fix

Dominique Faure dominique.faure
Fri Dec 17 09:54:51 CST 2004


Hi,

I think I've found more a typo than a real bug in pmwiki-2.0beta10:

In file 'pmwiki.php' at line 73, you defines:
===8<------------------------------------------------------------
$RecentChangesFmt = array(
  'Main.AllRecentChanges' =>
    '* [[$Group.$Name]]  . . . $CurrentTime $[by] $AuthorLink',
  '$Group.RecentChanges' =>
    '* [[$Group/$Name]]  . . . $CurrentTime $[by] $AuthorLink');
===8<------------------------------------------------------------


Then few lines after (97):
===8<------------------------------------------------------------
$DefaultGroup = 'Main';
===8<------------------------------------------------------------

IMHO, $DefaultGroup should be defined before $RecentChangesFmt and
in this last's initialization, 'Main.AllRecentChanges' should be
changed to '$DefaultGroup.AllRecentChanges' to complete the default
group redefinition feature.

Hope this helps,
Dominique




More information about the pmwiki-users mailing list