Is there a permission in MediaWiki that allows a user to edit a discussion but not a page?
That would enable anyone to, say, express a view, but only certain users (e.g. those with a confirmed email) to edit a page.
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
There is no default permission, but the MediaWiki extension TalkRight seems to do what you request. You use it by installing the extension and adding the following to LocalSettings.php.
$wgGroupPermissions['user']['edit'] = false; // Start by preventing users from editing anything $wgGroupPermissions['user']['talk'] = true; // Let users edit talk pages $wgGroupPermissions['emailconfirmed']['edit'] = true; // Let emailconfirmed users edit all pages
I'm not sure how well maintained that extension is or will be, so you should be able to do the same without extensions. (Note that I am unable to test any of this code, but it should work.) This also goes in LocalSettings.php.
$wgNamespaceProtection[NS_MAIN_TALK] = array('edittalk'); $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['user']['edittalk'] = true; $wgGroupPermissions['emailconfirmed']['edit'] = true;