I just started thinking about this when I saw bug #41836 breeze by on IRC, but we *really* don't have *any* RESTful interfaces available. We should consider changing that.
Things that should get better, off the top of my head:
- Pages/articles should be GET'd, like they are now. ?action=* should probably be replaced by root-level directories like /pageinfo/* and /parse/*, also as GET queries.
- Edits should be done via POST, but they should be done *at the same URI* as the page you're editing. So "GET /wiki/Barack_Obama" and "POST /wiki/Barack_Obama" mean exactly what you'd expect.
- The API probably needs a lot of changing, but I'm not sure where to start.
These issues could probably all be separate bugs, with this as the tracker. This is decidedly a wishlist item, too, so I'll mark the priority as low and make sure it's an enhancement.
Also, this will change a lot of how the community interacts with MediaWiki, so it may need to be an extension, or at least configurable, at first. We'll absolutely need community consensus to enable this on wikipedias, and that will almost certainly take a long time. Maybe this is a project we could do incrementally.
Any thoughts welcome!