From a6165c997a5e10aac3107a3e1526db42e87dea4f Mon Sep 17 00:00:00 2001 From: rsquared <11829-rsquared@users.noreply.salsa.debian.org> Date: Tue, 19 Sep 2023 09:22:50 -0600 Subject: [PATCH] ikiwiki: Disable discussion pages by default for new wiki/blog Closes: #2102. - Wiki: Unchanged behavior is to have discussion pages enabled. To post users must login. - Blog: Earlier behavior is to allow anonymous users to post comments. They go into the moderation queue when posted. This could lead to a lot of spam comments to moderate. New behavior is to allow posting comments only when logged in. - Blog: discussion => 0 does not effect comments. It is meant for discussion page on the blog's home page (and possibly other pages). Discussion on those pages is disabled by default. - The changes only apply to defaults. Everything can be changed from Setup page. Testing: - Test the above described behavior in Debian testing. - Debian stable testing was not done as the version of ikiwiki is that same as testing. [sunil: Drop removal of discussion from wiki pages] Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- .../data/usr/share/freedombox/etc/ikiwiki/plinth-blog.setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/ikiwiki/data/usr/share/freedombox/etc/ikiwiki/plinth-blog.setup b/plinth/modules/ikiwiki/data/usr/share/freedombox/etc/ikiwiki/plinth-blog.setup index 3db2ccc59..e0926c947 100644 --- a/plinth/modules/ikiwiki/data/usr/share/freedombox/etc/ikiwiki/plinth-blog.setup +++ b/plinth/modules/ikiwiki/data/usr/share/freedombox/etc/ikiwiki/plinth-blog.setup @@ -25,7 +25,7 @@ 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 lockedit opendiscussion moderatedcomments userlist remove attachment}], + add_plugins => [qw{goodstuff websetup comments calendar sidebar trail httpauth lockedit moderatedcomments userlist remove attachment}], rss => 1, atom => 1, syslog => 1,