Jump to content

Extension:UserGroups/fa

From mediawiki.org
This page is a translated version of the page Extension:UserGroups and the translation is 6% complete.
راهنمای افزونهٔ مدیاویکی
UserGroups
وضعیت انتشار: بی‌نظیر
انجام Special page , User rights
توضیحات Provides finer control over user groups and user rights.
نویسنده(گان) Withoutaname
آخرین نسخه: 1.0.0
MediaWiki 1.24+
PHP 5.3.10+
تغییر پایگاه داده No
مجوز GNU General Public License 2.0 or later
بارگیری
modifygroups
Quarterly downloads 12 (Ranked 121st)
Translate the UserGroups extension if it is available at translatewiki.net

The UserGroups extension adds a special page called Special:UserGroups that allows the user accessing it the ability to create, delete, modify and configure user groups in terms of the user rights registrations or associations with it. It could be thought of as a revival of the now defunct Extension:GroupPermissionsManager . This is different from Special:UserRights, which only determines how to allocate user rights to certain users based upon membership of certain user groups.

It is not possible to configure $wgAddGroups or $wgRemoveGroups that way; such must be done in LocalSettings.php. Also, be careful when removing groups - doing so incorrectly can lock you out of your wiki! It is not possible to remove some system-created rights (such as CheckUser) completely through this extension; see Manual:User rights instead on how to do this manually.

If you are still locked out, the last options are to have someone else grant you the groups again, or at worst (if you are the only one) to grant yourself the rights manually via the database in the user_groups table.

راه‌اندازی

  • Download and move the extracted UserGroups folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/UserGroups
  • کد زیر را در انتهای $LocalSettings خودتان اضافه کنید:
    wfLoadExtension( 'UserGroups' );
    
  • Yes انجام شد – به Special:Version در ویکی خودتان بروید تا مطئمن شوید که افزونه با موفقیت نصب شده است.

User rights

  • modifygroups - Determines control of access to the Special:UserGroups special page interface, or in essence who is allowed to modify and configure user groups and their associated permissions. By default, this access is restricted to bureaucrats.

However, if you want to grant this right to other groups, add this to LocalSettings.php .

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

See also