On Tue, Nov 23, 2004 at 03:49:55PM +0000, Kake L Pugh wrote:
On Tue 23 Nov 2004, James Green jkg@earth.li wrote:
It uses MediaWiki, which is cool in some ways (discussion tabs!)
I would not be against having discussion tabs in OpenGuides - anyone got any ideas for a nice way to implement this?
<!-- Begin TT code - warning, not tested -->
[% IF node.name.match('^Talk:') %] [% original_node_name = node.name.replace('^Talk:', '') %] <a href="[% full_cgi_url %]?[% original_node_name %]"> [% END %] Article [% IF node.name.match('^Talk:') %] </a> [% END %]
[% UNLESS node.name.match('^Talk:') %] <a href="[% full_cgi_url %]?Talk:[% node.name %]"> [% END %] Discuss [% UNLESS node.name.match('^Talk:') %] </a> [% END %]
<!-- End TT code -->