Page MenuHomePhabricator

[Epic] Improve the capabilities of QuickSurveys to enhance our ability to collect valuable insights.
Open, LowPublic

Description

Background

The Community Safety survey asks users how safe they feel on the wikis and this data is used as a metric by a number of teams.
In its current format the survey has limited functionality that doesn't allow us to collect helpful insights: we are not able to understand why a user may feel safe/unsafe and the targeting functionality is also limited.

Requirements
We need to upgrade the Quicksurveys extension to provide the following functionality:

  • Ability to support additional/follow-up questions of different ytpes
  • Ability to target finer edit count ranges within specified time periods, by edit or visit recency, by edit types, role (e.g. admin), or other behavioral factors
  • [Nice to have] Ability to dismiss the survey completely
  • [Nice to have] Ability to track survey progress:

Acceptance criteria
TBD

QA steps

A multi-question survey can be added using the following LocalSettings.php configuration and visiting any page with ?quicksurvey=true in the URL:

$wgQuickSurveysConfig[] = [
	'name' => 'foo',
	'type' => 'internal',
	'enabled' => true,
	'layout' => 'multiple-answer',
	'questions' => [
		[
			'name' => 'test',
			'layout' => 'single-answer',
			'question' => 'Do you like writing unit tests?',
			'answers' => [
				[ 'label' => 'ext-quicksurveys-test-internal-survey-positive' ],
				[ 'label' => 'ext-quicksurveys-test-internal-survey-negative' ],
			],
		],
		[
			'name' => 'test2',
			'layout' => 'single-answer',
			'question' => 'Do you like writing integration tests?',
			'answers' => [
				[ 'label' => 'ext-quicksurveys-test-internal-survey-positive' ],
				[ 'label' => 'ext-quicksurveys-test-internal-survey-negative' ],
			],
		],
	],
	'shuffleAnswersDisplay' => true,
	'enabled' => true,
	// Percentage of users that will see the survey
	'coverage' => 1,
	// For each platform (desktop, mobile), which version of it is targeted
	'platforms' => [
		'desktop' => [ 'stable' ],
		'mobile' => [ 'stable' ]
	],
];

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedMimurawil
ResolvedKColeman-WMF
ResolvedKColeman-WMF
ResolvedMimurawil
ResolvedMimurawil
ResolvedMimurawil
ResolvedMimurawil
ResolvedMimurawil
OpenAmdrel
ResolvedMimurawil
OpenAmdrel
ResolvedAmdrel
ResolvedAmdrel
ResolvedAmdrel
ResolvedAmdrel
ResolvedAmdrel
ResolvedMimurawil
ResolvedMimurawil
ResolvedMimurawil
ResolvedAmdrel
ResolvedMimurawil
ResolvedMimurawil
ResolvedAmdrel

Event Timeline

Madalina renamed this task from Improve the capabilities of QuickSurveys to enhance our ability to collect valuable insights. to [Epic] Improve the capabilities of QuickSurveys to enhance our ability to collect valuable insights..Apr 16 2024, 11:31 AM

Assuming this task is about the QuickSurveys code base, hence adding that project tag so other people who don't know or don't care about WMF stuff can also find this task when searching via projects.

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

[mediawiki/extensions/QuickSurveys@master] T362640: Improve capabilities of QuickSurveys

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

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 #1038107 had a related patch set uploaded (by Simone Cuomo; author: Simone Cuomo):

[mediawiki/extensions/QuickSurveys@master] Improve Capacity of Quick Survey

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

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/

Change #1038107 merged by jenkins-bot:

[mediawiki/extensions/QuickSurveys@master] Improve Capacity of Quick Survey

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

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

https://patchdemo.wmflabs.org/wikis/0d85df7998/w/