Learn R Programming

WikipediR (version 1.0.0)

wiki_revision: Retrieves MediaWiki revisions

Description

Retrieves the content of a provided list of revisions from whichever MediaWiki instance you're querying. Returns as wikimarkup.

Usage

wiki_revision(con, revisions, properties = c("content", "ids", "flags",
                                             "timestamp", "user", "userid",
                                             "size", "sha1", "contentmodel",
                                             "comment", "parsedcomment", "tags"))

Arguments

con
A connector object, generated by wiki_con, that corresponds to the project you're trying to query.
revisions
The revision IDs of each desired revision.
properties
Properties you're trying to retrieve about that revision, should you want to; options include "ids" (the revision ID of the revision...which is pointless), "flags" (whether the revision was 'minor' or not), "timestamp" (the timestamp of the revision, whic

See Also

wiki_con, wiki_diff for diffs between revisions, and wiki_page for the content a specific page currently has.