Last modified: 2012-08-03 14:03:14 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 T41006, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39006 - No error message given when requesting an API token while not logged in
No error message given when requesting an API token while not logged in
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-03 13:32 UTC by joan.creus.c
Modified: 2012-08-03 14:03 UTC (History)
2 users (show)

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


Attachments

Description joan.creus.c 2012-08-03 13:32:58 UTC
See title. It returns "+\\" as a token, and success: 1. I guess it could return an error message instead. Thanks a lot!
Comment 1 Daniel Kinzler 2012-08-03 14:03:14 UTC
Anons can edit, but they too need an edit token. So this request should not fail unless permissions are set to not allow editing for anons.

That being said, I find it strange that all anonymous users would get the same (empty) token. But "+\\" is what action=tokens also returns as the edit token for anons, so this is just consistent.

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


Navigation
Links