Skip to content

Commit c35a73b

Browse files
committed
Add comments to CommentStreams config
Meza specifically sets $wgCommentStreamsAllowedNamespaces = -1; so you MUST use <comment-streams /> in the page content to enable it on a per page basis. If left to the default (null), comment-streams is allowed on all pages in all content namespaces.
1 parent bf74c31 commit c35a73b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/MezaCoreExtensions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,13 @@ list:
138138
version: "{{ mediawiki_default_branch }}"
139139
composer_merge: true
140140
config: |
141+
# All users have commenting rights by default
142+
# $wgGroupPermissions['user']['cs-comment'] = true;
141143
$wgAllowDisplayTitle = true;
142144
$wgRestrictDisplayTitle = false;
143145
$wgCommentStreamsEnableVoting = true;
144146
$wgCommentStreamsModeratorFastDelete = true;
147+
# By setting to -1, comments are allowed ONLY when <comment-streams /> is used on the page.
145148
$wgCommentStreamsAllowedNamespaces = -1;
146149
147150
# ConfirmEdit - Provides CAPTCHA support to help prevent spam and abuse from automated bots

0 commit comments

Comments
 (0)