Last modified: 2013-04-22 16:16:40 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 T32728, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30728 - user gets dropped to Main Page instead of upload wizard page
user gets dropped to Main Page instead of upload wizard page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 37144
  Show dependency treegraph
 
Reported: 2011-09-03 13:05 UTC by Raul Kern
Modified: 2013-04-22 16:16 UTC (History)
7 users (show)

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


Attachments

Description Raul Kern 2011-09-03 13:05:45 UTC
If starting as logged out user from http://commons.wikimedia.org/wiki/Special:UploadWizard -> then the "Not logged in" page is displayed -> and after logging in -> user get's redirected to Main_Page instead of special upload wizard page.
Comment 1 Mark A. Hershberger 2012-04-20 19:53:45 UTC
just verified that this is still a problem.
Comment 2 Mark Holmquist 2012-05-22 18:13:30 UTC
Patch submitted, awaiting review: https://gerrit.wikimedia.org/r/8475
Comment 3 Mark Holmquist 2012-05-29 16:27:15 UTC
Patch was accepted, no longer an issue.
Comment 4 Brion Vibber 2012-06-02 09:44:11 UTC
There are apparently additional prefill fields that we need to handle, currently only campaign is hardcoded.
Comment 5 elya 2012-06-02 09:54:49 UTC
To reproduce, logout and visit e.g.

https://en.wikipedia.org/wiki/List_of_rijksmonuments_in_Bloemendaal_%28town%29

Click on one of the placeholder images on the right. The URL will be sth. like 

https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlm-nl&id=511067&description=Building+at+the+complex+of+the+former+hotel+%22Duin+en+Daal%22&lat=52.40710&lon=4.60919 

There are several parameters to pre-fill the UpWiz fields later.

If logged out, you will be directed to the login/account creation page, the parameters are still in the URL:

https://commons.wikimedia.org/w/index.php?title=Special:UserLogin&returnto=Special:UploadWizard&returntoquery=campaign=wlm-nl&id=511115&description=Former+billiard+room&lat=52.40012&lon=4.61276

After logging in (most probably also after account creation) the parameters are reduced to the "campaign" parameter. 

Thx for fixing.
elke
Comment 6 Brion Vibber 2012-06-02 10:30:23 UTC
Ok it looks like we're missing some escaping, so only the first item in the the 'returntoquery' parameter gets seen -- the first & in it separates it off. Campaign isn't being hardcoded, it's just the first item.
Comment 7 Mark Holmquist 2012-06-04 16:45:56 UTC
Oops! Sorry about that, this one should work a little better: https://gerrit.wikimedia.org/r/10125

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


Navigation
Links