Extension:ArticleCreationWorkflow

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎dansk • ‎español • ‎polski • ‎sicilianu • ‎български • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
ArticleCreationWorkflow
Release status: stable
Implementation User interface
Description Helps users create new pages.
Author(s)
MediaWiki 1.30+
License MIT License
Download
Added rights
createpagemainns
Hooks used
CustomEditor
ShowMissingArticle
BeforePageDisplay
EventLoggingRegisterSchemas
Translate the ArticleCreationWorkflow extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

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.

Installation[edit]

  • If using Vagrant , install with vagrant roles enable articlecreationworkflow --provision
Manual installation
  • Download and place the file(s) in a directory called ArticleCreationWorkflow in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'ArticleCreationWorkflow' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration settings[edit]

  • $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[edit]

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 created 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.