https://bugzilla.wikimedia.org/show_bug.cgi?id=41837

       Web browser: ---
             Bug #: 41837
           Summary: Make MediaWiki more RESTful
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to