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
list=cxpublishedtranslations
- This module requires read rights.
- Kilde: ContentTranslation
- Licens: GPL-2.0-or-later
Fetch all published translations information.
Specific parameters:
Other general parameters are available.
- from
Sprogkoden på kilden.
- This parameter is required.
- to
Sprogkoden på målet.
- This parameter is required.
- limit
The maximum number of translations to fetch.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 500
- offset
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- Type: integer
- Default: 0
Eksempel:
- Fetch all published translations, translated from English to Spanish
- api.php?action=query&list=cxpublishedtranslations&from=en&to=es [open in sandbox]