diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-08 23:51:06 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-08 23:51:06 -0400 |
commit | 5e7b2dea84a35163b599b88efc02cd7ef3e0ad46 (patch) | |
tree | b9defe4426804bdfd04a53fe00f3e5abf54c7a81 /IkiWiki/Plugin/orphans.pm | |
parent | 955bcea2a7bacb98cb62a38faa78b05e0f430aac (diff) | |
download | ikiwiki-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/orphans.pm')
-rw-r--r-- | IkiWiki/Plugin/orphans.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index 607239500..b1ebd1b9d 100644 --- a/IkiWiki/Plugin/orphans.pm +++ b/IkiWiki/Plugin/orphans.pm @@ -28,7 +28,7 @@ sub preprocess (@) { # considering as orphans. add_depends($params{page}, "*", deptype("links")); - my @orphans=use_pagespec($params{page}, $params{pages}, + my @orphans=pagespec_match_list($params{page}, $params{pages}, # update when orphans are added/removed deptype => deptype("presence"), limit => sub { |