Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API
action=pfautoedit
(main | pfautoedit)
- Ten moduł wymaga praw odczytu.
- Ten moduł wymaga praw zapisu.
- Źródło: Page Forms
- Licencja: GPL-2.0+
Create or edit a page using a form defined by the Page Forms extension.
Parametry:
- form
The Page Forms form to use
- target
The name of the page to be created or edited
- query
The query string
- preload
The name of a page to preload in the form
Przykład:
- With query parameter: api.php?action=pfautoedit&form=form-name&target=page-name&query=template-name[field-name-1]=field-value-1%26template-name[field-name-2]=field-value-2
- api.php?Without query parameter: api.php?action=pfautoedit&form=form-name&target=page-name&template-name[field-name-1]=field-value-1&template-name[field-name-2]=field-value-2 [open in sandbox]