ikiwiki: Disable edits. Add moderation of comments

Fixes #1631

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2020-04-05 20:12:31 +05:30 committed by James Valleroy
parent 97846f60cb
commit 900d4e7e18
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -25,13 +25,14 @@ IkiWiki::Setup::Automator->import(
cgiurl => "/ikiwiki/$wikiname_short/ikiwiki.cgi",
cgiauthurl => "/ikiwiki-auth/$wikiname_short/ikiwiki.cgi",
cgi_wrapper => "/var/www/ikiwiki/$wikiname_short/ikiwiki.cgi",
add_plugins => [qw{goodstuff websetup comments calendar sidebar trail httpauth}],
add_plugins => [qw{goodstuff websetup comments calendar sidebar trail httpauth lockedit opendiscussion moderatedcomments userlist remove}],
rss => 1,
atom => 1,
syslog => 1,
example => "blog",
comments_pagespec => "posts/* and !*/Discussion",
archive_pagespec => "page(posts/*) and !*/Discussion",
locked_pages => "* and !postcomment(*)",
global_sidebars => 0,
discussion => 0,
tagbase => "tags",