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

           Summary: action=upload needs better documentation
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]


Created an attachment (id=6396)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6396)
Patch against r53871

With 5 different "modules" in there, it needs to be better organized. I managed
to figure it out by digging through the code, but we can't expect everyone to
do that.

I've given it a shot in the attached patch. What I did:
* Explain the 5 different modes at the top, much like prop=revisions does.
* Mention that multipart/form-data is required for "file" and "chunk".
* Note that the session keys are tied to the current login session.
* Rearrange the parameters so "shared" parameters come first and then the
various module-related parameters are grouped together.
* Revise parameter descriptions.
* Add more examples.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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