]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Add deprecation warning for GlobLists, which will stop working in 3.0.
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 23 Dec 2008 22:13:57 +0000 (17:13 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 23 Dec 2008 22:13:57 +0000 (17:13 -0500)
IkiWiki.pm
debian/changelog

index 6747a3ba45b7bf11bfec18319f85c7963a82c7c9..a81e34c3dfcb82b47ab743a53bf2eadb4b4238ad 100644 (file)
@@ -1597,6 +1597,8 @@ sub rcs_receive () {
 }
 
 sub globlist_to_pagespec ($) {
 }
 
 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);
        my @globlist=split(' ', shift);
 
        my (@spec, @skip);
index ce3949436dbc9a04947acfc744e7435844fad7b2..2c8931735b78b1561d723b4718b96fede3e3a1f6 100644 (file)
@@ -1,6 +1,7 @@
 ikiwiki (2.72) UNRELEASED; urgency=low
 
   * Avoid comments in recentchanges being broken links (smcv)
 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
 
 
  -- Joey Hess <joeyh@debian.org>  Mon, 22 Dec 2008 19:02:16 -0500