diff options
author | Joey Hess <joey@kitenet.net> | 2010-12-25 13:38:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-12-25 13:38:26 -0400 |
commit | beae7ef9db01ab2af75d3176b016113c9d33f0a9 (patch) | |
tree | edb900bab7145a76ef118a2a4447796a949a8819 /IkiWiki/Plugin/comments.pm | |
parent | 9741a3f979eb65b59b32f04422410e206f48ed86 (diff) | |
download | ikiwiki-beae7ef9db01ab2af75d3176b016113c9d33f0a9.tar ikiwiki-beae7ef9db01ab2af75d3176b016113c9d33f0a9.tar.gz |
editpage, comment: Clean up title when editing or creating a page or comment.
Now that page.tmpl is used for cgi, the parentlinks are able to be
displayed even when creating or editing a page. So it's redundant to
include the path to the page in the title, remove it.
Diffstat (limited to 'IkiWiki/Plugin/comments.pm')
-rw-r--r-- | IkiWiki/Plugin/comments.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index 68ac4cfae..63e9ab499 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -375,7 +375,7 @@ sub editcomment ($$) { my $baseurl = urlto($page); $form->title(sprintf(gettext("commenting on %s"), - IkiWiki::pagetitle($page))); + IkiWiki::pagetitle(IkiWiki::basename($page)))); $form->tmpl_param('helponformattinglink', htmllink($page, $page, 'ikiwiki/formatting', |