summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2008-12-23 17:13:57 -0500
committerJoey Hess <joey@gnu.kitenet.net>2008-12-23 17:13:57 -0500
commitc8cde4858eb8b1d0356b32f3b3ec1f6e8d38aec3 (patch)
tree95f66f707baa1059bfe8adbb94cc91a1bbba896b
parentecf2408bf64de1aee3bb8b79f6e28c14b52cf1c4 (diff)
Add deprecation warning for GlobLists, which will stop working in 3.0.
-rw-r--r--IkiWiki.pm2
-rw-r--r--debian/changelog1
2 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 6747a3ba4..a81e34c3d 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1597,6 +1597,8 @@ sub rcs_receive () {
}
sub globlist_to_pagespec ($) {
+ print STDERR "warning: deprecated GlobList style PageSpec \"$_[0]\" will stop working in ikiwiki version 3.0\n";
+
my @globlist=split(' ', shift);
my (@spec, @skip);
diff --git a/debian/changelog b/debian/changelog
index ce3949436..2c8931735 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ikiwiki (2.72) UNRELEASED; urgency=low
* Avoid comments in recentchanges being broken links (smcv)
+ * Add deprecation warning for GlobLists, which will stop working in 3.0.
-- Joey Hess <joeyh@debian.org> Mon, 22 Dec 2008 19:02:16 -0500