Extension:FormWizard/pl
FormWizard Status wydania: beta |
|
---|---|
Realizacja | Funkcja parsera , Ajax, API |
Opis | Creating new pages on MediaWiki wikis |
Autor(zy) | Egbe Eugene and James Hare |
Ostatnia wersja | 0.0.1 |
MediaWiki | >= 1.35.0 |
Zmiany w bazie danych | Nie |
Licencja | Licencja GNU General Public License 2.0 lub nowsza |
Pobieranie | README |
Quarterly downloads | 0 |
Przetłumacz rozszerzenie FormWizard jeżeli jest dostępne na translatewiki.net | |
Problemy | Otwarte zadania · Zgłoś błąd |
The FormWizard extension allows anyone to create forms on MediaWiki wikis, used to create new pages. It was first developed as a FormWizard gadget but is now available as a MediaWiki extension.
User guide
For an end user guide to FormWizard, see Help:Extension:FormWizard .
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
FormWizard
w folderzeextensions/
.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FormWizard - Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'FormWizard' );
- Run Composer to install PHP dependencies, by issuing
composer update
in the extension directory. - Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Basic setup
For FormWizard to be able to work properly, you need to configure the parser function on a wiki page like so:
{{#formwizard:action=Start|config=Config.json|mode=subpage|project=TestProject}}
with mode=" ", should generate a button which looks like this:
with mode="subpage", should generate a button and a text field like so:
In the parser function definition,
- action is what should be displayed on the button which will be created
- config is the name of the JSON configuration page. An example can be found Help:Extension:FormWizard#The Wizard
- mode is the mode in which the extension in operating and is used to determine if the user will need to provide a subpage name before the making use of the extension.
- project is the project where the extension is applied (this will be used to define page content in context of the project.