Jump to content

Topic on Extension talk:MultiLanguageManager/Archive 2

Restricting User Rights

1
AID-PMBD (talkcontribs)

Hello,


I'm trying to restrict the permission to edit and remove the translation of a page in mediawiki using the parameters given on the extension page. However so far every user in my wiki has been able to change the translations. The user groups "autoconfirmed", "User" and "Read" dont't have edit rights in the wiki.


My setup: Mediawiki 1.31


My settings in the LocalSettings.php:

$mgLanguagePermisionsKey = 'edit';

$wgGroupPermissions['*'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['autoconfirmed'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['User'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['Read'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['Edit'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['Approve'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['Poweruser'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['Bureaucrats'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['sysop'][$mgLanguagePermisionsKey] = true;


Any idea what I'm doing wrong?


Cheers

Reply to "Restricting User Rights"