Closed MusikAnimal closed 8 years ago
I don't object in principle, but way too much code duplication going on there, you'll need to DRY that up.
Alright I'm baffled. This code does nothing different than what was there before... that is, just do create
without the form_data['createonly']
. I swear I was having issues editing only a section within a page, which is how I ended up forking this repo (https://github.com/MusikAnimal/mediawiki-gateway). I now wanted to submit some PRs of the work I've added, and I guess this one isn't much of a contribution. Closing!
Setup
Pages#edit
to allow modifying pages and not overwriting them completely. This is very useful when you only want to edit a particular section. I think this is backwards compatible, only difference being now there's the potential for an edit conflict.