aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/pagecount.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-08 23:51:06 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-08 23:51:06 -0400
commit5e7b2dea84a35163b599b88efc02cd7ef3e0ad46 (patch)
treeb9defe4426804bdfd04a53fe00f3e5abf54c7a81 /IkiWiki/Plugin/pagecount.pm
parent955bcea2a7bacb98cb62a38faa78b05e0f430aac (diff)
downloadikiwiki-5e7b2dea84a35163b599b88efc02cd7ef3e0ad46.tar
ikiwiki-5e7b2dea84a35163b599b88efc02cd7ef3e0ad46.tar.gz
rename use_pagespec to pagespec_match_list
To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning.
Diffstat (limited to 'IkiWiki/Plugin/pagecount.pm')
-rw-r--r--IkiWiki/Plugin/pagecount.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/pagecount.pm b/IkiWiki/Plugin/pagecount.pm
index 40474b2a1..8d36f057e 100644
--- a/IkiWiki/Plugin/pagecount.pm
+++ b/IkiWiki/Plugin/pagecount.pm
@@ -32,7 +32,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"));
}