lib/media_wiki/gateway.rb in mediawiki-gateway-0.3.4 vs lib/media_wiki/gateway.rb in mediawiki-gateway-0.3.5

- old
+ new

@@ -120,10 +120,10 @@ end # Edit page # # Same options as create, but always overwrites existing pages (and creates them if they don't exist already). - def edit(title, content, options) + def edit(title, content, options={}) create(title, content, {:overwrite => true}.merge(options)) end # Move a page to a new title #