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=feedcontributions
(main | feedcontributions)
- This module requires read rights.
- Kilde: MediaWiki
- Licens: GPL-2.0-or-later
Returns a user's contributions feed.
Specific parameters:
Other general parameters are available.
- feedformat
The format of the feed.
- One of the following values: atom, rss
- Default: rss
- user
What users to get the contributions for.
- This parameter is required.
- Type: user, by any of brugernavn, IP, IP-interval, interwiki name (e.g. "prefix>ExampleName") og bruger-ID (f.eks. "#12345")
- namespace
Which namespace to filter the contributions by.
- One of the following values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 274, 275
- year
Fra år (og tidligere).
- Type: integer
- month
Fra måned (og tidligere).
- Type: integer
- tagfilter
Filter contributions that have these tags.
- Values (separate with | or alternative): mw-blank, mw-changed-redirect-target, mw-contentmodelchange, mw-manual-revert, mw-new-redirect, mw-removed-redirect, mw-replace, mw-reverted, mw-rollback, mw-server-side-upload, mw-undo
- Default: (empty)
- deletedonly
Show only deleted contributions.
- Type: boolean (details)
- toponly
Only show edits that are the latest revisions.
- Type: boolean (details)
- newonly
Only show edits that are page creations.
- Type: boolean (details)
- hideminor
Skjul mindre ændringer.
- Type: boolean (details)
- showsizediff
Show the size difference between revisions.
- Type: boolean (details)
Eksempel:
- Return contributions for user Example.
- api.php?action=feedcontributions&user=Example [open in sandbox]