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

           Summary: api review action fails with syncerror
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: code-update-regression
          Severity: major
          Priority: Normal
         Component: FlaggedRevs
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Using the api to sight a page (action=review) fails with a 'syncerror'. This
happens if you try to set the flag_accuracy to 1. (setting an already flagged
revision to 0 works fine). The expected result is for the action to succede.


Response i recieved:
<?xml version="1.0"?><api><error code="syncfailure" info="A sync failure has
occured while reviewing. Please try again." /></api>

Request i sent to http://en.wikinews.org/w/api.php was (using POST method. this
is taken from the firbug debug. IT was properly formatted when sent to
server.):

action  review
comment ''Flagged page using [[user:Bawolff/mwapilib.js]]''
flag_accuracy   1
format  xml
revid   881430
token   **blanking out. I don't know if that something i'm supposed to publish
or not**


Editing and other actions with the api seem to work fine. it was working until
the software update.


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