water has asked for the wisdom of the Perl Monks concerning the following question:

This is OT, only marginally related to perl. Apologies in advance.

Anyone around skilled in Kwiki? Kwiki::Diff?

My problem is that I've installed Kwiki::Diff, and when I click the diff link, it diffs the kwiki homepage, not the current page.

I can see clearly it isn't populating the

page_id
parameter correctly (it is actually not populated at all -- it is blank).

The diff of the homepage is indeed right, indicating the diff module stuff is all well and good.

The issue is just the link to the diff in the top nav bar.

The problem is present both with text navbar and Gnome icon nav bar.

Before diving into the perl, might I have gotten something wrong in a config (sort doubtful); or is this a known bug (didn't find anything on this on Google); or should I hack into the perl?

Thanks

water water everywhere, nor any drop to drink

Replies are listed 'Best First'.
Re: Kwiki Diff Link In NavBar
by water (Deacon) on Jan 29, 2005 at 20:02 UTC
    Found a bug in
    template/tt2/diff_button.html
    The correct code (obtained from here) is this
    _template/tt2/diff_button.html__ <!-- BEGIN diff_button.html --> <a href="[% script_name %]?action=diff&page_name=[% page_uri %]&revisi +on_id=[% revision_id %]" accesskey="r" title="Differences">[% INCLUDE + diff_button_icon.html %]</a> <!-- END diff_button.html -->
    I'll drop an email to the owner on this.

    Happy weekend, all.

Re: Kwiki Diff Link In NavBar
by jbrugger (Parson) on Jan 29, 2005 at 20:06 UTC