Page MenuHomePhabricator

QuickSurveys should not show on new pages or non-main namespace pages
Closed, ResolvedPublic

Description

Visit http://en.m.wikipedia.beta.wmflabs.org/wiki/I_know_a_page_name_that_will_get_on_your_nerves_get_on_your_nerves?quicksurvey=true
and you'll see despite the page not existing that a quick survey loads without styling.
Expected: survey should not show at all.

It also appears on talk pages and other pages.
http://en.m.wikipedia.beta.wmflabs.org/wiki/Talk:foo?quicksurvey=true
Expected: it should only show up in the main namespace.

Event Timeline

Jdlrobson raised the priority of this task from to Medium.
Jdlrobson updated the task description. (Show Details)
Jdlrobson moved this task to Doing on the Reading-Web-Sprint-56-Four Lions board.
Jdlrobson subscribed.
rmoen set Security to None.
rmoen moved this task from To Do to Doing on the Reading-Web-Sprint-56-Four Lions board.

Change 240905 had a related patch set uploaded (by Robmoen):
Init QuickSurveys only on existing pages in the main namespace

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

Change 240905 merged by jenkins-bot:
Init QuickSurveys only on existing pages in the main namespace

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