From ef6d8d7e2f66a5d8f7ef2b737f2ae3fb629dd9e5 Mon Sep 17 00:00:00 2001
From: joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Date: Tue, 4 Jul 2006 00:21:48 +0000
Subject: [PATCH]   sanitise them, like any other page type. * Rebuilding
 wrappers is necessary on upgrade to this version.

---
 debian/NEWS      | 11 ++++++++---
 debian/changelog |  3 ++-
 debian/postinst  |  2 +-
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/debian/NEWS b/debian/NEWS
index 858894e05..80cb489be 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -4,16 +4,21 @@ ikiwiki (1.8) unstable; urgency=low
   stop setting the "plugin" list directly, and instead add or remove plugins
   via the add_plugins and disable_plugins lines. For example, if you had:
 
-  plugin => [qw{inline smiley search}],
+  	plugin => [qw{inline smiley search}],
 
   Change it to these lines, which disables the default htmlscrubber plugin
   and adds the two additional plugins:
 
-  add_plugins => [qw{smiley search}],
-  disable_plugins => [qw{htmlscrubber}],
+  	add_plugins => [qw{smiley search}],
+  	disable_plugins => [qw{htmlscrubber}],
 
   Making this change makes your ikiwiki setup file more future-proof since
   new default plugins will be automatically used.
+  
+  You will need to rebuild your wiki when upgrading to this version.
+  If you listed your wiki in /etc/ikiwiki/wikilist this will be done
+  automatically when the Debian package is upgraded. Or use
+  ikiiki-mass-rebuild to force a rebuild.
 
  -- Joey Hess <joeyh@debian.org>  Mon,  3 Jul 2006 16:59:29 -0400
 
diff --git a/debian/changelog b/debian/changelog
index b95b6b768..1e5739e58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,7 +33,8 @@ ikiwiki (1.8) UNRELEASED; urgency=low
     if you'd ever want to do such a thing. Slightly tricky, since ikiwiki
     defaults to not processing .html files, since w/o this plugin they would
     be copied unsanitised. With this plugin, it will process, and html
-    sanitise, them like any other page type.
+    sanitise them, like any other page type.
+  * Rebuilding wrappers is necessary on upgrade to this version.
 
  -- Joey Hess <joeyh@debian.org>  Mon,  3 Jul 2006 18:15:30 -0400
 
diff --git a/debian/postinst b/debian/postinst
index 72b457716..fbfc60045 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -4,7 +4,7 @@ set -e
 
 # Change this when some incompatible change is made that requires
 # rebuilding all wikis.
-firstcompat=1.4
+firstcompat=1.8
 
 if [ "$1" = configure ] && \
    dpkg --compare-versions "$2" lt "$firstcompat"; then
-- 
2.39.5