Extension:ArticleCreationWorkflow/pl
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.
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
File:OOjs UI icon information-progressive.svg |
- Pages with script errors
- Pages with broken file links
- Stable extensions/pl
- User interface extensions/pl
- Extensions with manual MediaWiki version
- Extensions with no license specified/pl
- Extensions in Wikimedia version control/pl
- All extensions/pl
- Extensions not in ExtensionJson
- Extensions used on Wikimedia/pl
- Workflow extensions/pl