]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/pagecount.pm
Merge branch 'master' into cvs
[git.ikiwiki.info.git] / IkiWiki / Plugin / pagecount.pm
index 40474b2a1c4b1e05bfac394075339a2d37f7c82a..dd5de3c83102aac6b806eae75a2517c622ac10e2 100644 (file)
@@ -15,6 +15,7 @@ sub getsetup () {
                plugin => {
                        safe => 1,
                        rebuild => undef,
+                       section => "widget",
                },
 }
 
@@ -32,7 +33,7 @@ sub preprocess (@) {
                return scalar keys %pagesources;
        }
 
-       return scalar use_pagespec($params{page}, $pages,
+       return scalar pagespec_match_list($params{page}, $pages,
                deptype => deptype("presence"));
 }