Extension:EditAccount/ru
Внимание: Код или конфигурация, описанная здесь, представляет собой главный риск безопасности. Администраторы сайта: Рекомендуется не использовать его, пока эта проблема безопасности не будет решена. Проблема: This extension is believed to pose serious security and/or privacy risks! Users with access to this extension can change a user's email address and password, which basically gives them the ability to take over another user's account. Additionally, users can indefinitely disable a user account which is not reversible via an extension or other special page. Therefore, do NOT grant a user access to this extension unless you 100% trust them not to abuse it. It is recommended to only grant access to bureaucrat or higher access levels. We are not responsible for any security and/or privacy leaks. Решение: If unsure, do not install this extension. |
![]() Статус релиза: стабильно |
|
---|---|
![]() |
|
Реализация | Служебная страница |
Описание | Allows editing account details, or disabling an account |
Автор(ы) | Łukasz Garczewski, Jack Phoenix |
Поддерживающий(ие) | WikiTeq team |
Последняя версия | 1.3.4 (2022-12-13) |
Политика совместимости | В расширении есть соответствуюшая ветвь для каждого релиза MediaWiki, который является релизом долгосрочной поддержки (Long Term Support release). |
MediaWiki | 1.35-1.39 |
Лицензия | GNU General Public License 2.0 или позднее |
Скачать | |
editaccount |
|
Quarterly downloads | 68 (Ranked 113rd) |
Переведите расширение EditAccount, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
У расширения EditAccount две основных цели. One is to change the password, real name, or email address of another user. The second is to disable the account of another user.
The special page may be limited to a certain user group such as staff or bureaucrats.
Effects
Changing the password
Changing the password will automatically log out the user. Since the password is changed, it can prevent access to their account. This can be an alternative to disabling the user's account.
Disabling an account
Similar to the above, the user will be logged out immediately. Alongside that, the following will take effect:
- The user's password will be scrambled, preventing them from logging in.
- The user's email address will be removed, and the email authentication status will be also set to "not authenticated".
- The user's real name will be set to "Account Disabled".
Note that the registration date and other preferences info will not be affected.
When viewing the contributions of a disabled user account, a note appears stating "This account has been disabled." (View example).
All account edits are automatically logged.
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
EditAccount
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'EditAccount' );
- Configure user group and user right at your convenience.
- Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Для использующих MediaWiki 1.28 или более ранние версии:
В приведенных выше инструкциях описывается новый способ установки этого расширения с использованием wfLoadExtension()
.
Если вам нужно установить это расширение на более ранние версии (MediaWiki 1.28 и более ранние), вместо wfLoadExtension( 'EditAccount' );
, вам необходимо использовать:
require_once "$IP/extensions/EditAccount/EditAccount.php";
Настройка
По умолчанию все группы участников будут иметь право закрывать только свою собственную учётную запись. The user right "editaccount" will have to be set for an existing user group, e.g. "bureaucrat" or for a new user group to allow editing or closing all accounts:
$wgGroupPermissions['bureaucrat']['editaccount'] = true;
$wgGroupPermissions['editaccount']['editaccount'] = true;
Журналирование
Use of the special pages "CloseAccount" and "EditAccount" is logged at Special:Log/editaccnt. This log can be set to private if needed.
- Примеры записей журнала
* 04:41, March 18, 2011 WikiAdmin (Talk | contribs | block) disabled account User:Example user
* 02:11, February 17, 2011 StaffMember (Talk | contribs | block) changed password for user User:Jimbo Wales
Связанные расширения
- Sudo - Allows logging into other user's accounts.
- Расширение:DisableAccount - Allows administrators to disable individual accounts.
- Расширение:UserMerge - Allows merging and deleting user accounts.
Это расширение включено в следующие пакеты и/или вики-фермы: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |