diff options
author | intrigeri <intrigeri@boum.org> | 2008-12-30 21:36:40 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-12-30 21:36:40 +0100 |
commit | c01485ae1ad751ac87eb3cfa392f6d276d5b1157 (patch) | |
tree | 62dd6f1ba3df0f6a669c08528f32be4202463ce4 /IkiWiki/Plugin/link.pm | |
parent | 4e4fb18dbecf22a9eeea37f2632924f6d1ea67da (diff) |
renamed the renamepage hook to renamelink, added rename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin/link.pm')
-rw-r--r-- | IkiWiki/Plugin/link.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/link.pm b/IkiWiki/Plugin/link.pm index 3799209d0..e9623035b 100644 --- a/IkiWiki/Plugin/link.pm +++ b/IkiWiki/Plugin/link.pm @@ -12,7 +12,7 @@ sub import { hook(type => "checkconfig", id => "link", call => \&checkconfig); hook(type => "linkify", id => "link", call => \&linkify); hook(type => "scan", id => "link", call => \&scan); - hook(type => "renamepage", id => "link", call => \&renamepage); + hook(type => "renamelink", id => "link", call => \&renamelink); } sub getsetup () { @@ -90,7 +90,7 @@ sub scan (@) { } } -sub renamepage (@) { +sub renamelink (@) { my %params=@_; my $page=$params{page}; my $old=$params{oldpage}; |