loginWiki: Log in to a wiki

Description Usage Arguments Value

Description

Log in to a MediaWiki/WorkingWiki server

Usage

1
2
  loginWiki(username = NULL, password = NULL, api.url,
    api.opts, setCookie = TRUE, verbose = FALSE)

Arguments

username

(character) user name for wiki; if not specified, the function will try to retrieve it via getOption("MWUser")

password

(character) wiki password; will be prompted for if not specified

api.url

(character) URL for connecting to the wiki

api.opts

options for connecting: list including elements verbose (logical), useragent (character), cookie (?)

setCookie

(logical) should the function cache a cookie in the search path after successful login?

verbose

(logical) verbose output?

Value

a cookie allowing further MW actions


bbolker/wwiki documentation built on May 11, 2019, 9:30 p.m.