Page MenuHomePhabricator

Ability to turn off QuickSurveys in Special:Preferences
Closed, ResolvedPublic

Description

Aim

Add the ability for users to turn off QuickSurveys in Special:Preferences.

User story

As a user, I want to be able to turn off the QuickSurvey feature, so that I am not distracted by survey questions when on the wikis.

Copy

TitleQuickSurvey extension
Checkbox[ ] Display QuickSurveys
DescriptionThis feature will display short optional surveys by the Wikimedia Foundation, which are not connected to your account.

Description link: https://www.mediawiki.org/wiki/Extension:QuickSurveys

Design

Preferences.png (372×1 px, 26 KB)

Acceptance criteria

  • Checkbox to display / not display QuickSurveys
  • Description text with link to Media wiki page
  • Placement is on Special:Preferences, under User profile tab

Event Timeline

Adding @Isaac 's observations from the 2019 Readers survey about potentials (and potential drawbacks) for turning the tool off in case it's helpful to this task: https://meta.wikimedia.org/wiki/Research:Surveys_on_the_gender_of_editors/Report#Recommendations

Context for developers: This is a patch that developed something very similar in another extension: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/SearchVue/+/826300/2/src/Hooks.php

Change #1029613 had a related patch set uploaded (by Mimurawil; author: Mimurawil):

[mediawiki/extensions/QuickSurveys@master] T364423: Add Ability to turn off QuickSurveys in Special:Preferences

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

Mimurawil changed the task status from Open to In Progress.May 9 2024, 4:47 PM

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/42ce80c18c/w

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/a44d09140e/w

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/42ce80c18c/w/

Change #1037233 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/QuickSurveys@community-safety] Improve capability of QuickSurvey

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

Change #1037233 merged by jenkins-bot:

[mediawiki/extensions/QuickSurveys@community-safety] Improve capability of QuickSurvey

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

Change #1029613 abandoned by Simone Cuomo:

[mediawiki/extensions/QuickSurveys@master] T364423: Add Ability to turn off QuickSurveys in Special:Preferences

Reason:

The work for this branch and ticket has been completed in a feature branch "https://gerrit.wikimedia.org/r/c/mediawiki/extensions/QuickSurveys/+/1037233"

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

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/a44d09140e/w/

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/1f5a200338/w

Test wiki on Patch demo by SimoneThisDot using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/1f5a200338/w/

Test wiki created on Patch demo by Jdlrobson using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/e606e11883/w

Test wiki created on Patch demo by SimoneThisDot using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/0d85df7998/w

Test wiki on Patch demo by Amdrel using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/80286dd93e/w/

Test wiki on Patch demo by Amdrel using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/7ed125994c/w/