Extension:ArticleCreationWorkflow/ru

This page is a translated version of the page Extension:ArticleCreationWorkflow and the translation is 8% complete.
Справка по расширениям MediaWiki
OOjs UI icon advanced-invert.svg
ArticleCreationWorkflow
Статус релиза: стабильно
Реализация Пользовательский интерфейс
Описание Helps users create new pages.
Автор(ы)
Политика совместимости Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.30+
Composer mediawiki/acw
Лицензия MIT License
Скачать
  • $wgUseCustomLandingPageStyles
  • $wgArticleCreationLandingPage
Переведите расширение ArticleCreationWorkflow, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

ArticleCreationWorkflow helps users create new pages, intercepting article creation for new users and giving them wiki-configurable options such as using the Article wizard or creating a draft as a user subpage.

In order for users to be intercepted, they must have the createpage right, must not have the createinmainns right, the page they are trying to create must be in the main namespace (and not yet exist) and the page pointed to by $wgArticleCreationLandingPage must exist.

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием ArticleCreationWorkflow в вашей папке extensions/.
  • Добавьте следующий код в самом низу вашего LocalSettings.php :
    wfLoadExtension( 'ArticleCreationWorkflow' );
    
  •   Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.


Установка Vagrant:

  • Если вы используете Vagrant , установите с помощью vagrant roles enable articlecreationworkflow --provision

Configuration settings

  • $wgArticleCreationLandingPage (string): the name of the wiki page to which users should be redirected if intercepted.
  • $wgUseCustomLandingPageStyles (bool): Whether to load custom CSS for the landing page.

User right

The extension adds a new user right called createpagemainns which permits users to create new pages in the main namespace. This right is given by default to all users. Users without this right are prohibited from creating main namespace pages, and when they attempt to (by clicking on a red link, for example) they're redirected to the Article Creation Workflow landing page.