mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
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:
parent
97846f60cb
commit
900d4e7e18
@ -25,13 +25,14 @@ IkiWiki::Setup::Automator->import(
|
|||||||
cgiurl => "/ikiwiki/$wikiname_short/ikiwiki.cgi",
|
cgiurl => "/ikiwiki/$wikiname_short/ikiwiki.cgi",
|
||||||
cgiauthurl => "/ikiwiki-auth/$wikiname_short/ikiwiki.cgi",
|
cgiauthurl => "/ikiwiki-auth/$wikiname_short/ikiwiki.cgi",
|
||||||
cgi_wrapper => "/var/www/ikiwiki/$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,
|
rss => 1,
|
||||||
atom => 1,
|
atom => 1,
|
||||||
syslog => 1,
|
syslog => 1,
|
||||||
example => "blog",
|
example => "blog",
|
||||||
comments_pagespec => "posts/* and !*/Discussion",
|
comments_pagespec => "posts/* and !*/Discussion",
|
||||||
archive_pagespec => "page(posts/*) and !*/Discussion",
|
archive_pagespec => "page(posts/*) and !*/Discussion",
|
||||||
|
locked_pages => "* and !postcomment(*)",
|
||||||
global_sidebars => 0,
|
global_sidebars => 0,
|
||||||
discussion => 0,
|
discussion => 0,
|
||||||
tagbase => "tags",
|
tagbase => "tags",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user