I'd like for our recentchanges page to offer links to the specific
diff that was last written.  Implmenting the <a name=''> was easy
enough, however altering the link for the RecentChangesFmt array seems
troublesome.  I believe this is because the FmtPageName() function is
failing to parse the wiki link text correctly.  I am hoping someone
here might be able to assist me in writing this correctly or adapting
the FmtPageName function appropriately.  Below I have a snippet of the
context in where this is being used.  This currently returns a blank
string for the diff link. A simple [[$Group.$Name?action=diff | diff]]
however works here just fine.  So there must be an issue with the
FmtPageName's parsing of my wiki link format.
Thanks!

=====
$RecentChangesFmt["Contributions.$AuthorNameWithOutSpaces"] =
      '* [[$Group.$Name]]
([[${Group}.${Name}?action=diff#${CurrentTime} | diff]])'
      .' . . . $CurrentTime - [=$ChangeSummary=]';
=====
-- 
--Danny.

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

Reply via email to