Extension:NewSignupPage/ru
![]() Статус релиза: стабильно |
|
---|---|
Реализация | MyWiki |
Описание | Enhances MediaWiki's default signup page |
Автор(ы) | Jack Phoenix |
Последняя версия | 1.2.0 (2020-01-06) |
MediaWiki | 1.39.1+ |
Изменения в БД | Да |
Лицензия | GNU General Public License 2.0 или позднее |
Скачать | Журнал изменений |
Пример | Any ShoutWiki site |
|
|
Quarterly downloads | 12 (Ranked 165th) |
Public wikis using | 1,247 (Ranked 184th) |
Переведите расширение NewSignupPage, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
The NewSignupPage extension enhances MediaWiki's default signup page, Special:CreateAccount, by requiring users to check a checkbox stating that they've read and understood the site's Terms of Service and Privacy Policy.
In addition to that, the extension is compatible with Social tools .
If a wiki's admins choose to give out points for recruiting new users, set $wgRegisterTrack
to true (and make sure that user_register_track
table exists on that wiki's database beforehand!) and you're done.
Currently, the extension is configured to link to ShoutWiki's privacy policy and terms of use. To personalize it for your wiki, you need to edit MediaWiki:shoutwiki-loginform-tos and MediaWiki:shoutwiki-must-accept-tos.
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
NewSignupPage
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'NewSignupPage' );
- If you set
$wgRegisterTrack = true;
, you need to create theuser_register_track
table in your database; you can do this from command line withphp maintenance/sql.php extensions/NewSignupPage/user_register_track.sql
- Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Права участников
This extension adds a new user right, bypasstoscheck
, which by default isn't given to any group. Users with this right can create new accounts without checking the "I accept the site's Terms of Service" checkbox.
User points
$wgUserStatsPointValues['referral_complete']
— set this to something to give out points for referring a new user successfully to the site.
Customizing checkbox message
This extension adds a new checkbox in Special:CreateAccount (right below the Remember my login on this computer checkbox).
You can edit the text for this checkbox by editing the system message in MediaWiki:Newsignuppage-loginform-tos
.
Параметры
$wgAutoAddFriendOnInvite
— if the new user was referred to the site by an existing user, should we make them friends automatically? Defaults tofalse
.$wgRegisterTrack
— whether to track registrations into theuser_register_track
DB table. Defaults tofalse
.$wgForceNewSignupPageInitialization
— initialize the extension, even if InviteEmail or UserRelationship classes do not exist? Useful for testing.
См. также
- ConfirmAccount (Adds ToS link & checkbox to registration)
Это расширение включено в следующие пакеты и/или вики-фермы: 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. |