Bantuan API MediaWiki
Ini merupakan laman dokumentasi MediaWiki API yang dihasilkan secara automatik.
Dokumentasi dan contoh-contoh: https://www.mediawiki.org/wiki/API
action=feedcontributions
(main | feedcontributions)
- Modul ini memerlukan hak membaca.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns a user's contributions feed.
Parameter:
- feedformat
The format of the feed.
- One of the following values: atom, rss
- Asal: rss
- user
What users to get the contributions for.
- Parameter ini diwajibkan.
- Type: user, by any of user name, IP, IP range, interwiki name (e.g. "prefix>ExampleName") dan user ID (e.g. "#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
- year
From year (and earlier).
- Type: integer
- month
From month (and earlier).
- Type: integer
- tagfilter
Filter contributions that have these tags.
- Values (separate with | or alternative): mw-blank, mw-changed-redirect-target, mw-contentmodelchange, mw-new-redirect, mw-removed-redirect, mw-replace, mw-rollback, mw-undo, visualeditor, visualeditor-needcheck, visualeditor-switched, visualeditor-wikitext
- Asal: (kosong)
- 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
Hide minor edits.
- Type: boolean (details)
- showsizediff
Show the size difference between revisions.
- Type: boolean (details)
Contoh:
- Return contributions for user Example.
- api.php?action=feedcontributions&user=Example [open in sandbox]