Modification : $only_committed_changes et motifs des pages.
authorJulien Moutinho <julm@cyclocoop.org>
Mon, 15 Sep 2014 08:25:18 +0000 (10:25 +0200)
committerJulien Moutinho <julm@cyclocoop.org>
Mon, 15 Sep 2014 08:25:18 +0000 (10:25 +0200)
ikiwiki.setup

index d8d619c..65e7088 100644 (file)
@@ -6,7 +6,8 @@ BEGIN {
        use File::Spec::Functions;
        my $srcdir = dirname($IkiWiki::config{'setupfile'});
        my ($wiki, $wikiname, $git_repo, $destdir
-        , $global_sidebars, $search_db, $userdir);
+        , $global_sidebars, $search_db, $userdir,
+        , $only_committed_changes);
        if (-x "$srcdir/Public") {
                $wiki = '3615';
                $wikiname = '3615';
@@ -60,6 +61,7 @@ BEGIN {
                $umask     = 002;
                $url       = '/';
                $urls      = "https://$wiki.cyclocoop.org/";
+               $only_committed_changes = 1;
                @wrappers  =
                 ( { cgi => 1
                         , wrapper => $destdir."/cgi/ikiwiki.cgi"
@@ -81,6 +83,7 @@ BEGIN {
                $umask     = 002;
                $url       = '/';
                $urls      = '/';
+               $only_committed_changes = 0;
                @wrappers  =
                 ( { cgi => 1
                         , wrapper => $destdir."/cgi/ikiwiki.cgi"
@@ -230,6 +233,7 @@ BEGIN {
                 headinganchors
                 htmlbalance
                 htmlscrubber
+                htmltidy
                 httpauth
                 lockedit
                 more
@@ -348,8 +352,8 @@ BEGIN {
         #, websetup_show_unsafe => 1
         #, websetup_unsafe => []
         , week_start_day => 1
-        , wiki_file_chars => "-[:alnum:]+/.:_'’,()«»\@"
-        , wiki_file_regexp => qr/(^[-[:alnum:]+\/.:_'’,()«»\@]+$)/
+        , wiki_file_chars => "-[:alnum:]+/.:_'’,«»\@"
+        , wiki_file_regexp => qr/(^[-[:alnum:]+\/.:_'’,«»\@]+$)/
         #, wiki_file_chars => '-[:alnum:]+/.:_@’()&'
         #, wrappergroup => 'ikiwiki'
         , wikiname => $wikiname