aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-06 12:57:37 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-06 12:57:37 -0400
commitd3188a04fff1d0ed7329b3aae8343beaf1735390 (patch)
tree6919ee2e543ce46a4dfcb3b714edd7cdc8579b22 /IkiWiki/Plugin
parent2a7721febd6cac1af5e7f4b4949ffe066c62c837 (diff)
downloadikiwiki-d3188a04fff1d0ed7329b3aae8343beaf1735390.tar
ikiwiki-d3188a04fff1d0ed7329b3aae8343beaf1735390.tar.gz
external: Fix pagespec_match and pagespec_match_list. Closes: #527281
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/external.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm
index f0acc7e4e..57a72eb68 100644
--- a/IkiWiki/Plugin/external.pm
+++ b/IkiWiki/Plugin/external.pm
@@ -232,15 +232,21 @@ sub hook ($@) {
sub pagespec_match ($@) {
# convert return object into a XML RPC boolean
my $plugin=shift;
+ my $page=shift;
+ my $spec=shift;
- return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match(@_));
+ return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match(
+ $page, $spec, @_));
}
sub pagespec_match_list ($@) {
# convert return object into a XML RPC boolean
my $plugin=shift;
+ my $pages=shift;
+ my $spec=shift;
- return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match_list(@_));
+ return RPC::XML::boolean->new(0 + IkiWiki::pagespec_match_list(
+ $pages, $spec, @_));
}
1