Extension:ForcePreview/ru
![]() Статус релиза: стабильно |
|
---|---|
Реализация | Права пользователя |
Описание | Forces unprivileged users to preview before saving |
Автор(ы) | Ryan Schmidt (Skizzerzобсуждение) |
Последняя версия | 2.0.0 (2017-09-20) |
MediaWiki | 1.29+ |
Изменения в БД | Нет |
Лицензия | MIT License |
Скачать | README |
Пример | strategywiki.org |
forcepreviewexempt |
|
Quarterly downloads | 3 (Ranked 175th) |
Переведите расширение ForcePreview, если оно доступно на translatewiki.net | |
The ForcePreview forces unprivileged users to preview before saving.
Использование
Users without the forcepreviewexempt right will be forced to use the "Предварительный просмотр" (or "Live Preview", if enabled) button before being allowed to save the page.
Установка
- Скачайте и распакуйте файл(ы) в папку с названием
ForcePreview
в вашей папкеextensions/
. - Добавьте следующий код внизу вашего
LocalSettings.php
:wfLoadExtension( 'ForcePreview' ); // Does not force preview for registered users $wgGroupPermissions['user']['forcepreviewexempt'] = true;
Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
См. также
- Manual:Force preview - JavaScript that performs the same function, albeit easier to work around (users can simply disable JavaScript on their browser to get around the restriction).
![]() | Это расширение включено в следующие пакеты и/или вики-фермы: 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:
- Stable extensions/ru
- User rights extensions/ru
- MIT licensed extensions/ru
- Extensions in Wikimedia version control/ru
- Extensions which add rights/ru
- EditPageBeforeEditButtons extensions/ru
- BeforePageDisplay extensions/ru
- ResourceLoaderGetConfigVars extensions/ru
- All extensions/ru
- Extensions included in Miraheze/ru