Erweiterung:ArticleCreationWorkflow

This page is a translated version of the page Extension:ArticleCreationWorkflow and the translation is 33% complete.
MediaWiki-Erweiterungen
ArticleCreationWorkflow
Freigabestatus: stabil
Einbindung Benutzer-Schnittstelle
Beschreibung Hilft Benutzern, neue Seiten zu erstellen.
Autor(en)
Kompatibilitätspolitik Snapshots werden zusammen mit MediaWiki veröffentlicht. Der Master ist nicht abwärtskompatibel.
MediaWiki 1.30+
Composer mediawiki/acw
Lizenz MIT-Lizenz
Herunterladen
  • $wgArticleCreationLandingPage
  • createpagemainns
Quarterly downloads 20 (Ranked 129th)
Übersetze die ArticleCreationWorkflow-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

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

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens ArticleCreationWorkflow im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleCreationWorkflow
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'ArticleCreationWorkflow' );
    
  •   Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.


Vagrant-Installation:

  • Wird Vagrant benutzt, ist mit vagrant roles enable articlecreationworkflow --provision zu installieren

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:Benutzerrechte 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.

Konfigurationseinstellungen

  • $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.

Benutzerrecht

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.