[pmwiki-users] Author signature

Radu Luchian radu at monicsoft.net
Tue Nov 25 15:25:32 CST 2008


Oh, I see... The problem I noticed happens only in the Preview.

So if I use ~~~~, in preview I get [[~Radu]] and the date, but after I save
the page, I get [[Profiles/Radu]] and the date.

Sure, I can leave with that if it's the intended behaviour or if it's caused
by some interaction of my (possibly antiquated) config files and the newer
versions of pmwiki core.

But if someone else can replicate this behavior on their newer setups, it
may be worth adding a small PITS entry (or possibly modifying an existing
one :)

Cheers,
Radu

On Tue, Nov 25, 2008 at 12:21 PM, Peter Bowers <pbowers at pobox.com> wrote:

>  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:* pmwiki-users-bounces at pmichaud.com [mailto:
> pmwiki-users-bounces at pmichaud.com] *On Behalf Of *Radu Luchian
> *Sent:* Tuesday, November 25, 2008 5:35 PM
> *To:* pmwiki-users at pmichaud.com
> *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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20081125/9618804f/attachment.html 


More information about the pmwiki-users mailing list