Extension:ArticleCreationWorkflow/pl

This page is a translated version of the page Extension:ArticleCreationWorkflow and the translation is 7% complete.
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 nie jest kompatybilny wstecznie.
MediaWiki 1.30+
Licencja Licencja MIT
Pobieranie
  • $wgArticleCreationLandingPage
  • createpagemainns
Quarterly downloads 19 (Ranked 113rd)
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

  • Pobierz i umieść plik(i) w katalogu o nazwie ArticleCreationWorkflow w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ArticleCreationWorkflow
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'ArticleCreationWorkflow' );
    
  •   Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.


Instalacja Vagranta:

  • Jeżeli korzystasz z Vagrant a, zainstaluj poprzez 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 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.