Extension:ArticleCreationWorkflow/pl

From Linux Web Expert

Revision as of 03:48, 17 June 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Podręcznik rozszerzeń MediaWiki
ArticleCreationWorkflow
Status wydania: stabilne
Realizacja Interfejs użytkownika
Opis Helps users create new pages.
Autor(zy)
Polityka zgodności Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.30+
Licencja Nie określono
Pobieranie
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Przetłumacz rozszerzenie ArticleCreationWorkflow jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

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.

Instalacja

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/ArticleCreationWorkflow</tvar>|Download]] and move the extracted <tvar name=name>ArticleCreationWorkflow</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleCreationWorkflow
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'ArticleCreationWorkflow' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>


<translate> Vagrant installation:</translate>

  • <translate> If using <tvar name=vagrant>Vagrant </tvar>, install with <tvar name=code>vagrant roles enable articlecreationworkflow --provision</tvar></translate>

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 Podręcznik:Uprawnienia użytkowników 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 message box is using an invalid "type=interface" parameter and needs fixing.