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

           Summary: Allow batch edits for API
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: bot-interface
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Often it would be very helpful to do batch edits. Especially for replacing
works you may want to change 8 articles in one go and don't have to wait 20
seconds per article to do a change. Often one wants to mark 5 articles with
exactly the same text. I could think about such a request:

/api.php?
action=edit&
title=A|B|C&
summary=batch%20edit&
text[0]=article%201%20content&
text[1]=article%202%20content&
text[2]=article%203%20content&
basetimestamp[0]=20070824123454&
basetimestamp[1]=20070824123453&
basetimestamp[2]=20070824123452&
&token=%2B\

and

/api.php?
action=edit&
title=A|B|C&
summary=Added%20[[Category:Test]]&
appendtext=[[Category:Test]]&
&token=%2B\

such the request distinguishes between simple parameters and field parameters.
For simple parameters the value should be used for all articles.
For single article requests the result should be perfectly the same like now
and arrays for multi article requests.


-- 
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