Manual:RCFeed/cs

Toto je schéma pro strojově čitelný zdroj Poslední změny. It's related to MediaWiki's internal RecentChanges object, with additional information about the wiki in which the change was made.

Properties

Verze MediaWiki:
1.25

Common event

idstring ID of the recent change event (rc_id).
typestring Type of recent change event (rc_type). Core types will be translated into strings (edit, new, log, categorize, external); other types will be shown as raw numbers.
namespacenumber ID of relevant namespace of affected page (rc_namespace, page_namespace). This is -1 ("Special") for log events.
titlestring Full page name, from Title::getPrefixedText.
commentstring rc_comment
timestampnumber Unix timestamp (derived from rc_timestamp).
userstring rc_user_text
botboolean rc_bot

Common server

server_urlstring$wgCanonicalServer
server_namestring$wgServerName
server_script_pathstring$wgScriptPath
wikistringwfWikiID ($wgDBprefix , $wgDBname )

Edits

For type=edit and type=new. Other types of events do not have these properties.

Log events

For type=log

log_idrc_log_id
log_typerc_log_type
log_actionrc_log_action
log_paramsmixed Property only exist if event has rc_params.
log_action_comment

Example

{
	"comment": "[[:File:Bulletins of American paleontology (1964) (20315870759).jpg]] removed from category",
	"wiki": "commonswiki",
	"server_name": "commons.wikimedia.org",
	"title": "Category:Bulletins of American paleontology",
	"timestamp": 1456759695,
	"server_script_path": "/w",
	"namespace": 14,
	"server_url": "https://commons.wikimedia.org",
	"user": "Wieralee",
	"bot": false,
	"type": "categorize",
	"id": 201307606
}
{
	"comment": "sorting image request",
	"wiki": "enwiki",
	"server_name": "en.wikipedia.org",
	"title": "Talk:Kalette",
	"timestamp": 1425392294,
	"server_script_path": "/w",
	"namespace": 1,
	"server_url": "http://en.wikipedia.org",
	"length": {
		"new": 219,
		"old": 186
	},
	"user": "Mr. Granger",
	"bot": false,
	"type": "edit",
	"id": 718374724,
	"minor": false,
	"revision": {
		"new": 649690049,
		"old": 649645633
	}
}
{
	"comment": "Bot: Removing redundant category ([[Template:Uploaded with GWToolset|Uploaded with GWToolset]])",
	"wiki": "commonswiki",
	"server_name": "commons.wikimedia.org",
	"title": "File:Interior of wheelhouse looking aft; pipes on aft wall were for heating. - Ferry TICONDEROGA, Route 7, Shelburne, Chittenden County, VT HAER VT,4-SHEL,1-66.tif",
	"timestamp": 1425392723,
	"server_script_path": "/w",
	"namespace": 6,
	"server_url": "http://commons.wikimedia.org",
	"length": {
		"new": 7278,
		"old": 7314
	},
	"user": "SteinsplitterBot",
	"bot": true,
	"patrolled": true,
	"type": "edit",
	"id": 156219030,
	"minor": true,
	"revision": {
		"new": 151956073,
		"old": 130736146
	}
}
{
	"comment": "Új oldal, tartalma: „{{letm}} #[[író]]”",
	"wiki": "huwiktionary",
	"server_name": "hu.wiktionary.org",
	"title": "rakstnieks",
	"timestamp": 1425393635,
	"server_script_path": "/w",
	"namespace": 0,
	"server_url": "http://hu.wiktionary.org",
	"length": {
		"new": 19,
		"old": null
	},
	"user": "Karesz52",
	"bot": false,
	"patrolled": false,
	"type": "new",
	"id": 1790735,
	"minor": false,
	"revision": {
		"new": 1782943,
		"old": null
	}
}

See also

Category:Recent changes/cs
Category:Recent changes/cs