HomePhabricator

Show login page if the URL has campaign parameter for anon users

Authored by santhosh.

Description

Show login page if the URL has campaign parameter for anon users

For non-logged-in users show login page instead of nosuchspecialpage
if the URL has the campaign parameter.
After logging in the user should be taken to Special:CX
again with all the query parameters.

This is important for campaigns like email campaigns, to prevent
a situation where the user who clicked is not be logged in
and doesn't see anything relevant.
Showing nosuchspecialpage is a bad idea in that case.

Bug: T101489
Change-Id: I600af89c91e14e45e58dcb17fa98d3cdda09122b

Details

Committed
Amire80Jun 8 2015, 8:37 AM
Parents
rECTX5c3df32818e4: Fix JSCS errors
Branches
Unknown
Tags
Unknown
References
refs/changes/30/216030/4
ChangeId
I600af89c91e14e45e58dcb17fa98d3cdda09122b