API:投稿記録のフィード

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page API:Feedcontributions and the translation is 32% complete.

Other languages:
English • ‎dansk • ‎español • ‎français • ‎polski • ‎ไทย • ‎中文 • ‎日本語

利用者の投稿記録のフィードを返します。 Note that if the request is successful, the output will be in the format requested by the feedformat parameter. The format requested by the standard format parameter (e.g., JSON) will only be used in the event of an error.

パラメーター

  • user: Which user to get the contributions for (one user only).
  • feedformat: The format of the feed. 取りうる値: rss or atom (既定値: rss)
  • namespace: Which namespace to filter the contributions by. In MediaWiki 1.18 and 1.19, this was a multi-valued parameter; for all other versions, it is a single namespace only.
  • year: From year (and earlier).
  • month: From month (and earlier). 型: integer
  • tagfilter: Filter contributions that have these tags.
  • deletedonly: Show only deleted contributions.
  • toponly: Only show edits that are latest revisions.
  • newonly: Only show edits that are page creations. 1.23+
  • hideminor: Hide minor edits. 1.28+
  • showsizediff: Show the size difference between revisions (disabled in miser mode).

エラーコード

In addition to the usual stuff:

コード 情報
feed-unavailable フィードの配信は利用できません
feed-invalid フィード形式の指定が正しくありません。
sizediffdisabled Size difference is disabled in Miser Mode.

Show contributions of Jimbo Wales as an RSS feed.



action=feedcontributions

(main | feedcontributions)

Returns a user contributions feed.

Parameters:
feedformat

The format of the feed.

One of the following values: rss, atom
Default: rss
user

What users to get the contributions for.

This parameter is required.
Type: user name
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, 90, 91, 92, 93, 100, 101, 102, 103, 104, 105, 106, 107, 486, 487, 828, 829, 1198, 1199, 2300, 2301, 2302, 2303, 2600, 5500, 5501
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): T144167, meta spam id, blanking, emoji, OTRS permission added by non-OTRS member, ntsamr (global), repeated xwiki CoI abuse, inter-ip-spam, Emoji, possible spam, support spam, deletion template removed, Anonymous updated project status, newbie external link or email, Added PHP closing tag, mw-contentmodelchange, mw-new-redirect, mw-removed-redirect, mw-changed-redirect-target, mw-blank, mw-replace, mw-rollback, mw-undo, centralnotice, centralnotice translation, abusefilter-condition-limit, massmessage-delivery, visualeditor, visualeditor-needcheck, visualeditor-switched, visualeditor-wikitext, wikilove, mobile edit, mobile app edit, android app edit, ios app edit, mobile web edit, advanced mobile edit, HHVM, php7, OAuth CID: 21, OAuth CID: 31, OAuth CID: 1188, OAuth CID: 1261, OAuth CID: 1352
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

Hide minor edits.

Type: boolean (details)
showsizediff

Disabled due to miser mode.

Type: boolean (details)
Example:
Return contributions for user Example.
api.php?action=feedcontributions&user=Example [open in sandbox]