MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=push
(main | push)
- This module requires read rights.
- This module only accepts POST requests.
- Source: Push
- License: GPL-3.0-or-later
Pushes the content of one ore more pages to one or more target wikis.
Parameters:
- page
The names of the page to push.
- This parameter is required.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- targets
The URLs of the wikis to push to.
- This parameter is required.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Example:
- Push page 'Main page' to the English Wikipedia.
- api.php?action=push&page=Main page&targets=http://en.wikipedia.org/w [open in sandbox]