Extension:ArticleCreationWorkflow/bg
ArticleCreationWorkflow Обявен статут: стабилен |
|
---|---|
Реализация | Потребителски интерфейс |
Описание | Помага на потребителите да създават нови страници. |
Автор(и) | |
Правило за съвместимост | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.30+ |
Лиценз | MIT License |
Изтегляне | |
|
|
|
|
Quarterly downloads | 18 (Ranked 117th) |
Преведете разширението 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.
Инсталиране
- Download and move the extracted
ArticleCreationWorkflow
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleCreationWorkflow - На дъното на вашия $LocalSettings добавете следния код:
wfLoadExtension( 'ArticleCreationWorkflow' );
- Готово – Отидете на Special:Version в уикито си, за да проверите дали разширението е успешно инсталирано.
Vagrant installation:
- Ако използвате Vagrant , инсталирайте разширението с
vagrant roles enable articlecreationworkflow --provision
Required configuration
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.
For example, to intercept page creation for unregistered and non-autoconfirmed users (refer to Manual:User rights for more options):
$wgGroupPermissions['*']['createpagemainns'] = false;
$wgGroupPermissions['user']['createpagemainns'] = false;
The default value of $wgArticleCreationLandingPage
is "Project:Article wizard".
This page must be created to intercept page creation for these users.
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.
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |