Last modified: 2014-10-25 20:59:31 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 T69861, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67861 - ApiSandbox: no generator params are added for non-query actions
ApiSandbox: no generator params are added for non-query actions
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ApiSandbox (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-11 16:34 UTC by db [inactive,noenotif]
Modified: 2014-10-25 20:59 UTC (History)
3 users (show)

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


Attachments

Description db [inactive,noenotif] 2014-07-11 16:34:13 UTC
Go to Special:ApiSandbox, select a action with generator like setnotificationtimestamp. Choose a generator like backlinks, input a gbltitle like "Main Page" and press "Make request"

The url is /w/api.php?action=setnotificationtimestamp&format=json and the post data is generator=backlinks, so the gbltitle is missing in the post part.

It is also missing in the hash part of the url, so it looks like the whole box from the generator is not taken when building the request.

http://en.wikipedia.org/wiki/Special:ApiSandbox#action=setnotificationtimestamp&format=json&generator=backlinks

No need to give a hint about the usefulness of this request, it is just to demonstrate. You can also use other actions with a generator (purge, watch) except query, which seems to work.
Comment 1 Umherirrender 2014-10-25 20:59:31 UTC
Looks fixed now, but I have no idea, which patch set this was

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


Navigation
Links