#'A Mediawikir controller serves to connect to a mediawiki API as a registered user in order to edit automatically certain documents based on R scripts
#'
#'@slot url the mediawiki instance base url
#'@slot auth_token the current token used to edit the wiki (cf. https://www.mediawiki.org/wiki/Manual:Edit_token)
#'@slot page_name the page which will be modified (including its namespace)
setClass("Mediawikir",
representation(
url="character",
user_name="character",
auth_token="character",
page_name="character",
content="character"))
#'Creates a new Mediawikir object instance
#'
#'@param instance_url the base url for the mediawiki instance in which one wants to store R output
#'@param user the user to which all changes to the wiki will be credited