Last modified: 2014-09-24 09:45:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73159, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71159 - action=wbset* API methods must be called by POST request
action=wbset* API methods must be called by POST request
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
compat-(1.0)
All All
: Unprioritized major
: ---
Assigned To: Amir Ladsgroup
:
: 70820 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-23 00:46 UTC by Sergey Leschina
Modified: 2014-09-24 09:45 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
patch (1.02 KB, application/octet-stream)
2014-09-23 00:46 UTC, Sergey Leschina
Details

Description Sergey Leschina 2014-09-23 00:46:13 UTC
Created attachment 16547 [details]
patch

All action=wbset* methods include 'csrf' token, which must be sent by POST request.

This change fixes adding references and sitelinks.
Comment 1 Amir Ladsgroup 2014-09-23 14:47:08 UTC
*** Bug 70820 has been marked as a duplicate of this bug. ***
Comment 2 Amir Ladsgroup 2014-09-24 07:29:46 UTC
Your patch won't solve the issue (It's a good thing to implement but no development for compat).
I fixed the bug and I +2d it.
Comment 3 Sergey Leschina 2014-09-24 09:26:09 UTC
Thanks. My problem with the adding of references and sitelinks was only because of this error, so that it was corrected.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links