From 6432d15cb42b7b5b885b766d67f35ff2356f883c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 12 Aug 2008 15:48:44 -0400 Subject: [PATCH] fix a common case typo --- .perlcriticrc | 2 +- IkiWiki/Plugin/poll.pm | 2 +- debian/changelog | 6 ++++++ doc/news/openid/discussion.mdwn | 3 ++- doc/todo/firm_up_plugin_interface.mdwn | 2 +- doc/todo/progressbar_plugin.mdwn | 2 ++ 6 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.perlcriticrc b/.perlcriticrc index 0dd5260ae..1e099736f 100644 --- a/.perlcriticrc +++ b/.perlcriticrc @@ -19,7 +19,7 @@ severity = 1 # when they are part of the core program. I don't plan to have more than # the one exporting module in IkiWiki, so let's ignore this test. [-Modules::RequireFilenameMatchesPackage] -# IkiWIki also switches _out_ of the core package when a package namespace +# IkiWiki also switches _out_ of the core package when a package namespace # is a good way to group a set of functions. This doesn't mean I want it # loading up a separate file though, so it's in the same file. [-Modules::ProhibitMultiplePackages] diff --git a/IkiWiki/Plugin/poll.pm b/IkiWiki/Plugin/poll.pm index b8d14ad3e..35717c85f 100644 --- a/IkiWiki/Plugin/poll.pm +++ b/IkiWiki/Plugin/poll.pm @@ -24,7 +24,7 @@ my %pagenum; sub preprocess (@) { #{{{ my %params=(open => "yes", total => "yes", percent => "yes", @_); - my $open=IkiWIki::yesno($params{open}); + my $open=IkiWiki::yesno($params{open}); my $showtotal=IkiWiki::yesno($params{total}); my $showpercent=IkiWiki::yesno($params{percent}); $pagenum{$params{page}}++; diff --git a/debian/changelog b/debian/changelog index e6b122e5d..f23d9c56c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ikiwiki (2.61) UNRELEASED; urgency=low + + * poll: Fix typo that broke plugin. + + -- Joey Hess Tue, 12 Aug 2008 15:48:36 -0400 + ikiwiki (2.60) unstable; urgency=low [ Joey Hess ] diff --git a/doc/news/openid/discussion.mdwn b/doc/news/openid/discussion.mdwn index 64a29d345..fcefac76e 100644 --- a/doc/news/openid/discussion.mdwn +++ b/doc/news/openid/discussion.mdwn @@ -48,7 +48,8 @@ only Apache/iptables rules for this? Maybe it's related to ### Logging Out -If I've logged in by OpenID, how do I log out? I don't see any logout button anywhere on IkiWIki. (is it because I hit "forever" for my OpenID authorization duration?) +If I've logged in by OpenID, how do I log out? I don't see any logout +button anywhere on IkiWiki. (is it because I hit "forever" for my OpenID authorization duration?) > No, it's because it's on the preferences page! That's somewhat non-obvious... >> This is a problem with having a static wiki. If I just put "Logout" as diff --git a/doc/todo/firm_up_plugin_interface.mdwn b/doc/todo/firm_up_plugin_interface.mdwn index a8d34eada..3d77179cf 100644 --- a/doc/todo/firm_up_plugin_interface.mdwn +++ b/doc/todo/firm_up_plugin_interface.mdwn @@ -37,6 +37,6 @@ Functions used by only some plugins, undecided about exporting: Variables used by plugins but not exported yet: * %IkiWiki::pagecase (aggregate) -* %IkiWIki::backlinks (pagestats) +* %IkiWiki::backlinks (pagestats) [[todo/done]] diff --git a/doc/todo/progressbar_plugin.mdwn b/doc/todo/progressbar_plugin.mdwn index 436da4e1b..1df131ca3 100644 --- a/doc/todo/progressbar_plugin.mdwn +++ b/doc/todo/progressbar_plugin.mdwn @@ -18,6 +18,8 @@ A here is its HTML result: Note: I was trying with `` tags too, but that tag is inline, so I can't set `width` property for it. +> In the poll plugin, I ended up using + Default CSS styles for the plugin can be like below: div.progress {