]> sipb.mit.edu Git - sipb-www.git/blobdiff - ikiwiki.setup
robots.txt: block commit diffs
[sipb-www.git] / ikiwiki.setup
index ae13b750f50df2c6851ee79c445ce06fac2cfa5e..960eff65d06537d48fa488736aa7627f41ddee93 100644 (file)
@@ -17,21 +17,26 @@ use IkiWiki::Setup::Standard {
        # where the source of the wiki is located
        srcdir => '/afs/sipb.mit.edu/project/sipb-www/ikiwiki/src',
        # where to build the wiki
-       destdir => '/afs/sipb.mit.edu/project/sipb-www/web_scripts/wiki/',
+       destdir => '/afs/sipb.mit.edu/project/sipb-www/Scripts/wiki',
        # base url to the wiki
-       url => 'http://sipb.mit.edu/wiki',
+       url => 'http://sipb.mit.edu',
        # url to the ikiwiki.cgi
-       cgiurl => 'https://sipb.mit.edu:444/wiki/ikiwiki.cgi',
+       cgiurl => 'https://sipb.mit.edu:444/ikiwiki.cgi',
        # filename of cgi wrapper to generate
-       cgi_wrapper => '/afs/sipb.mit.edu/project/sipb-www/web_scripts/wiki/ikiwiki.cgi',
+       cgi_wrapper => '/afs/sipb.mit.edu/project/sipb-www/Scripts/wiki-cgi/ikiwiki.cgi',
        # mode for cgi_wrapper (can safely be made suid)
        cgi_wrappermode => '06755',
        # rcs backend to use
        rcs => 'git',
        # plugins to add to the default configuration
-       add_plugins => [qw(goodstuff httpauth)],
+       # IMPORTANT! If you add plugins that involve interface changes, you
+       # will need to modify our templates to allow this, as our custom
+       # template does not support them yet. See ~/src/ikiwiki/templates
+       add_plugins => [qw(goodstuff html httpauth rename remove)],
        # plugins to disable
-       disable_plugins => [qw(smiley)],
+       # IMPORTANT! If you reenable passwordauth/openid, you need to
+       # do some modifications described in TODO.SIPB in the source-tree
+       disable_plugins => [qw(smiley passwordauth openid)],
        # location of template files
        templatedir => '/mit/sipb-www/share/ikiwiki/templates',
        # base wiki source location
@@ -47,7 +52,7 @@ use IkiWiki::Setup::Standard {
        # use page/index.mdwn source files
        indexpages => 0,
        # enable Discussion pages?
-       discussion => 1,
+       discussion => 0,
        # only send cookies over SSL connections?
        sslcookie => 0,
        # extension to use for new pages
@@ -129,7 +134,7 @@ use IkiWiki::Setup::Standard {
 
        # git plugin
        # git hook to generate
-       git_wrapper => '/mit/sipb-www/ikiwiki/src/.git/hooks/post-update',
+       git_wrapper => '/mit/sipb-www/wiki.git/hooks/post-update',
        # mode for git_wrapper (can safely be made suid)
        #git_wrappermode => '06755',
        # git pre-receive hook to generate
@@ -148,6 +153,7 @@ use IkiWiki::Setup::Standard {
        # htmlscrubber plugin
        # PageSpec specifying pages not to scrub
        #htmlscrubber_skip => '!*/Discussion',
+       htmlscrubber_skip => 'calendar',
 
        # inline plugin
        # enable rss feeds by default?
@@ -168,6 +174,7 @@ use IkiWiki::Setup::Standard {
        # lockedit plugin
        # PageSpec controlling which pages are locked
        #locked_pages => '!*/Discussion',
+       locked_pages => 'calendar',
 
        # mdwn plugin
        # enable multimarkdown features?