editdiff: Broken since 2.62 due to wrong syntax, now fixed.

master
Joey Hess 2008-09-17 14:34:02 -04:00
parent b540b263de
commit da7c6eb1b4
3 changed files with 4 additions and 1 deletions

View File

@ -56,7 +56,7 @@ sub formbuilder_setup { #{{{
my %params=@_; my %params=@_;
my $form=$params{form}; my $form=$params{form};
return if defined ! $form->field("do") || $form->field("do") ne "edit"; return if ! defined $form->field("do") || $form->field("do") ne "edit";
my $page=$form->field("page"); my $page=$form->field("page");
$page = IkiWiki::possibly_foolish_untaint($page); $page = IkiWiki::possibly_foolish_untaint($page);

1
debian/changelog vendored
View File

@ -2,6 +2,7 @@ ikiwiki (2.65) UNRELEASED; urgency=low
* aggregate: Allow expirecount to work on the first pass. (expireage still * aggregate: Allow expirecount to work on the first pass. (expireage still
needs to wait for the pages to be rendered though) needs to wait for the pages to be rendered though)
* editdiff: Broken since 2.62 due to wrong syntax, now fixed.
-- Joey Hess <joeyh@debian.org> Wed, 17 Sep 2008 14:26:56 -0400 -- Joey Hess <joeyh@debian.org> Wed, 17 Sep 2008 14:26:56 -0400

View File

@ -1 +1,3 @@
I've enabled the plugin on an SVN-backed wiki, but am not seeing the Diff button when editing. (I do see the Rename and Remove buttons from having enabled those plugins.) Any ideas why it wouldn't be showing up? --[[schmonz]] I've enabled the plugin on an SVN-backed wiki, but am not seeing the Diff button when editing. (I do see the Rename and Remove buttons from having enabled those plugins.) Any ideas why it wouldn't be showing up? --[[schmonz]]
> It was broken, I've fixed it. --[[Joey]]