module WEdit:sig..end
These queries affects the mediawiki database.
val write_page : session ->
?summary:string ->
?minor:minor_flag ->
?watch:watch_flag ->
?bot:bool ->
?create:create_flag ->
page -> string -> edit_status Call.tsummary : Summary of the edit. Default: emptyminor : Set the minor flag. Default: `DEFAULTwatch : Add the page to your watchlist. Default: `DEFAULTbot : Set the bot flag. Default: falsecreate : Behaviour w.r.t. the existing status. Default: `DEFAULTval write_title : session ->
?summary:string ->
?minor:minor_flag ->
?watch:watch_flag ->
?bot:bool ->
?create:create_flag ->
Title.t -> string -> edit_status Call.tWEdit.write_page but with a title only. Do not check for any conflict.val move_page : session ->
?summary:string ->
?watch:watch_flag ->
?rdr:bool ->
?subpages:bool ->
?talk:bool ->
?ignore_warnings:bool ->
page -> Title.t -> move_result Call.tsummary : Reason of the move. Default: emptywatch : Add the page to your watchlist. Default: `DEFAULTrdr : Create the redirect. Default: truesubpages : Also move the subpages. Default: truetalk : Also move the talk page. Default: trueignore_warnings : Ignore any warnings. Default: falseval move_title : session ->
?summary:string ->
?watch:watch_flag ->
?rdr:bool ->
?subpages:bool ->
?talk:bool ->
?ignore_warnings:bool ->
Title.t -> Title.t -> move_result Call.tWEdit.move_page but with a title only.val delete_title : session ->
?summary:string ->
?watch:watch_flag -> Title.t -> unit Call.tsummary : Reason for the deletion. Default: emptywatch : Add the page to your watchlist. Default: `DEFAULTval upload_file : session ->
?summary:string ->
?text:string ->
?watch:watch_flag ->
?ignore_warnings:bool -> string -> string -> upload_result Call.tupload_file s dest file uploads local file file to remote file dest.summary : Comment to the upload. Default: emptytext : Text to put on empty description pages. Default: Same as summarywatch : Add the page to your watchlist. Default: `DEFAULTignore_warnings : Ignore any warnings. Default: false