aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/editpage.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-23 16:29:50 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-23 16:29:50 -0400
commit4669eab596c8d90de0cf9f9d359ad8dd8f48edb5 (patch)
tree9d9adf2b1a873a54adb6fc239b3d9209ea314471 /IkiWiki/Plugin/editpage.pm
parent62962a470d48dd14ebcd39f1de37504abd2f77b5 (diff)
downloadikiwiki-4669eab596c8d90de0cf9f9d359ad8dd8f48edb5.tar
ikiwiki-4669eab596c8d90de0cf9f9d359ad8dd8f48edb5.tar.gz
more work on untrusted committers
Wired up check_canedit and check_canremove, still need to deal with check_canattach, and test.
Diffstat (limited to 'IkiWiki/Plugin/editpage.pm')
-rw-r--r--IkiWiki/Plugin/editpage.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm
index 30c93df20..fe2864bac 100644
--- a/IkiWiki/Plugin/editpage.pm
+++ b/IkiWiki/Plugin/editpage.pm
@@ -122,7 +122,7 @@ sub cgi_editpage ($$) { #{{{
my $absolute=($page =~ s#^/+##);
if (! defined $page || ! length $page ||
file_pruned($page, $config{srcdir})) {
- error("bad page name");
+ error(gettext("bad page name"));
}
my $baseurl = urlto($page, undef, 1);