document wikistatedir, though it's still internal

master
Joey Hess 2008-11-07 12:22:01 -05:00
parent bc705245ca
commit fb89bfd26b
2 changed files with 15 additions and 8 deletions

View File

@ -403,6 +403,13 @@ sub getsetup () { #{{{
safe => 0, safe => 0,
rebuild => 0, rebuild => 0,
}, },
wikistatedir => {
type => "internal",
default => undef,
description => "path to the .ikiwiki directory holding ikiwiki state",
safe => 0,
rebuild => 0,
},
setupfile => { setupfile => {
type => "internal", type => "internal",
default => undef, default => undef,
@ -467,7 +474,7 @@ sub checkconfig () { #{{{
} }
$config{wikistatedir}="$config{srcdir}/.ikiwiki" $config{wikistatedir}="$config{srcdir}/.ikiwiki"
unless exists $config{wikistatedir}; unless exists $config{wikistatedir} && defined $config{wikistatedir};
if (defined $config{umask}) { if (defined $config{umask}) {
umask(possibly_foolish_untaint($config{umask})); umask(possibly_foolish_untaint($config{umask}));

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-11-06 20:47-0500\n" "POT-Creation-Date: 2008-11-07 12:23-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -48,7 +48,7 @@ msgstr ""
msgid "You are banned." msgid "You are banned."
msgstr "" msgstr ""
#: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1182 #: ../IkiWiki/CGI.pm:385 ../IkiWiki/CGI.pm:386 ../IkiWiki.pm:1189
msgid "Error" msgid "Error"
msgstr "" msgstr ""
@ -951,25 +951,25 @@ msgstr ""
msgid "refreshing wiki.." msgid "refreshing wiki.."
msgstr "" msgstr ""
#: ../IkiWiki.pm:466 #: ../IkiWiki.pm:473
msgid "Must specify url to wiki with --url when using --cgi" msgid "Must specify url to wiki with --url when using --cgi"
msgstr "" msgstr ""
#: ../IkiWiki.pm:512 #: ../IkiWiki.pm:519
msgid "cannot use multiple rcs plugins" msgid "cannot use multiple rcs plugins"
msgstr "" msgstr ""
#: ../IkiWiki.pm:541 #: ../IkiWiki.pm:548
#, perl-format #, perl-format
msgid "failed to load external plugin needed for %s plugin: %s" msgid "failed to load external plugin needed for %s plugin: %s"
msgstr "" msgstr ""
#: ../IkiWiki.pm:1165 #: ../IkiWiki.pm:1172
#, perl-format #, perl-format
msgid "preprocessing loop detected on %s at depth %i" msgid "preprocessing loop detected on %s at depth %i"
msgstr "" msgstr ""
#: ../IkiWiki.pm:1678 #: ../IkiWiki.pm:1685
msgid "yes" msgid "yes"
msgstr "" msgstr ""