Page MenuHomePhabricator

For non-logged-in users show login page instead of nosuchspecialpage if the URL has campaign parameter
Closed, ResolvedPublic1 Story Points

Description

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

This is important for campaigns like email campaigns. When user click the user may not be logged in. Showing nosuchspecialpage is a bad idea in that case.

Event Timeline

santhosh created this task.Jun 5 2015, 4:49 AM
santhosh claimed this task.
santhosh raised the priority of this task from to Normal.
santhosh updated the task description. (Show Details)
santhosh added a project: LE-Sprint-87.
santhosh added a subscriber: santhosh.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 5 2015, 4:49 AM

Change 216030 had a related patch set uploaded (by Santhosh):
Show login page if the URL has campaign parameter for anon users

https://gerrit.wikimedia.org/r/216030

santhosh moved this task from Backlog to In Review on the LE-Sprint-87 board.Jun 5 2015, 7:22 AM
santhosh set Security to None.
santhosh edited a custom field.

Change 216030 merged by jenkins-bot:
Show login page if the URL has campaign parameter for anon users

https://gerrit.wikimedia.org/r/216030

santhosh moved this task from In Review to Done on the LE-Sprint-87 board.Jun 9 2015, 8:09 AM
santhosh closed this task as Resolved.Jun 9 2015, 8:22 AM

Hey Santosh,

thank you for resolving this task so quickly. Could you show me how to format the url to adopt this change? The following url
is not prompting me to login when I am not logged in:

https://es.wikipedia.org/w/index.php?title=Especial:ContentTranslation&campaign=staff-recommender&targettitle=Cadira&to=es&from=en&page=Chair

Thanks,

Ellery