FTB-Gamepedia / MediaWiki-Butt-Ruby

A Ruby library for the MediaWiki API
https://rubygems.org/gems/mediawiki-butt
MIT License
9 stars 2 forks source link

Change edit methods to use opts hashes #52

Closed elifoster closed 7 years ago

elifoster commented 7 years ago

Change #edit to take a title, the text, and an options hash containing a minor: key, a bot: key, and a summary: key. Defaults are the same.

Change #create_page to take a title, the text, and an options hash containing a summary: key and a bot: key. Defaults are the same.

Change #move to take from, to, and an options hash containing a reason:, talk: and redirect: key. Defaults are the same.