If you'll look a little further up in author.php you'll see the line
defining a markup for [[~.]] which puts in the $AuthorGroup for you.  It's
just a 2-step process rather than a single step to avoid redundancy in code.


 

-Peter

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Radu Luchian
Sent: Tuesday, November 25, 2008 5:35 PM
To: [email protected]
Subject: [pmwiki-users] Author signature

 

Hello PM,

Is there any reason why author.php has

  $ROSPatterns['/(?<!~)~~~~(?!~)/'] = '[[~$Author]] $CurrentTime';
  $ROSPatterns['/(?<!~)~~~(?!~)/'] = '[[~$Author]]';

instead of 

  $ROSPatterns['/(?<!~)~~~~(?!~)/'] = '[[~$AuthorGroup/$Author]]
$CurrentTime';
  $ROSPatterns['/(?<!~)~~~(?!~)/'] = '[[~$AuthorGroup/$Author]]';

??

I mean, was there some discussion whereupon it was decided that the core
should have author pages in each group even when there's a Profiles group
defined?

Thanks,
Radu

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to