Extension:Create User Page/ru

![]() Статус релиза: стабильно |
|
---|---|
Реализация | Действия пользователя |
Описание | The Create User Page extension checks on login whether the user has a user page and, if not, creates it. |
Автор(ы) | Cindy Cicalese (cindy.cicaleseобсуждение) |
Последняя версия | 3.0 (2021-12-18) |
Политика совместимости | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.27+ |
PHP | 5.5+ |
Лицензия | MIT License |
Скачать | |
|
|
Переведите расширение Create User Page, если оно доступно на translatewiki.net | |
Проблемы | Открытые задачи · Сообщить об ошибке |
The Create User Page extension checks whether the user has a user page and, if not, creates it with the content as specified in $wgCreateUserPage_PageContent
.
The check is done when the user logs in if $wgCreateUserPage_OnLogin
is set to true
(the default), otherwise the check is done on every page load.
The user account to be used for user page creation can be set with $wgCreateUserPage_AutoCreateUser
which is by default the user itself for whom the page is being created.
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
CreateUserPage
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'CreateUserPage' );
- Настройте, как вам требуется.
Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Настройка
$wgCreateUserPage_PageContent
- The content to put on the user page when it is created. Defaults to
{{User}}
. $wgCreateUserPage_OnLogin
- Check for the existence of the user page whenever the user logs in if
true
. Iffalse
, check on every page load. Defaults totrue
. $wgCreateUserPage_AutoCreateUser
- Defines the user account that should be used to create the user's page. If unset the respective user will be attributed to the edit for whom the page is being created. Defaults to
null
(unset).
История версий
- Version 3.0
- Fix bug where user pages were being created for anonymous users
- Dropped support for MediaWiki 1.34-
- Version 2.0
- Added
$wgCreateUserPage_AutoCreateUser
- Version 1.2
- Added
$wgCreateUserPage_OnLogin
- Version 1.1.1
- Really corrected user page creation to use wikitext instead of text (affects MediaWiki 1.29+)
- Version 1.1
- Corrected user page creation to use wikitext instead of text (affects MediaWiki 1.29+)
- Version 1.0
- Initial version
![]() | Это расширение включено в следующие пакеты и/или вики-фермы: 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. |
Categories:
- MediaWiki Stakeholders' Group/ru
- Stable extensions/ru
- User activity extensions/ru
- MIT licensed extensions/ru
- Extensions in Wikimedia version control/ru
- OutputPageParserOutput extensions/ru
- UserLoginComplete extensions/ru
- All extensions/ru
- Extensions included in BlueSpice/ru
- Extensions included in MyWikis/ru
- Extensions included in ProWiki/ru
- Extensions by MITRE/ru