Jump to content

Extension:CreatePageUw/pl

From mediawiki.org
This page is a translated version of the page Extension:CreatePageUw and the translation is 29% complete.
Podręcznik rozszerzeń MediaWiki
CreatePageUw
Status wydania: stabilne
Realizacja Strona specjalna
Opis Adds Special:CreatePage - one-field form to create a new page.
Autor(zy) Edward Chernenkodyskusja
Ostatnia wersja 0.1.0
Polityka zgodności Snapshots releases along with MediaWiki. Master nie jest kompatybilny wstecznie.
MediaWiki 1.35+
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie
  • $wgCreatePageUwUseVE
Quarterly downloads 48 (Ranked 90th)
Przetłumacz rozszerzenie CreatePageUw jeżeli jest dostępne na translatewiki.net

The CreatePageUw extension adds a special page (Special:CreatePage) that can be used to create a new page. This extension is a modern port of the precursing Uniwiki CreatePage extension.

Rationale

New users often ask: "Where do I create a new page?":

You don't want to explain to them about redlinks, send them to some lengthy manual, etc.
Instead, with this extension, you can answer: on [[Special:CreatePage]].

Creating pages in other namespaces

If the user asks "where do I create a new category", you can answer: on [[Special:CreatePage/Category]].

If user visits [[Special:CreatePage/Category]] and types "Cats" in the form, then new page will be called "Category:Cats".
This works with any existing namespace: [[Special:CreatePage/Template]] will create "Template:Cats", etc.

User can override it by explicitly typing the namespace prefix in the form. For example, if user visits [[Special:CreatePage/Help]], but types "Talk:Something", then newly created page will be "Talk:Something", not "Help:Something".

NOTE: we are purposely not adding a dropdown menu "Select namespace", because this extension is aimed at very new users, and they don't know what "namespace" is. The form must be as simple as possible to avoid confusing new users.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie CreatePageUw 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/CreatePageUw
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'CreatePageUw' );
    
  • Configure as required.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Konfiguracja

Optional parameters for LocalSettings.php :

  • $wgCreatePageUwUseVE = true; - use VisualEditor instead of the usual edit form.

Alternatives