Page MenuHomePhabricator

[summaries] Set up CentralNotice campaign for mobile summaries pilot
Closed, DeclinedPublic

Description

Background

As part of T385502 - mobile summaries pilot, we want to "introduce a pre-generated summary feature as an opt-in feature on a the mobile site". In order to do that, we need a first build a call-to-action modal, and then present this modal to users. Similarly to how we launched dark-mode on mobile, we can create a CentralNotice campaign + banner to show this custom modal to a small percentage of mobile users.

User story

  • As a casual Wikipedia reader, if I saw the option to get a new summary feature on mobile, I might be interested and enabled that feature.

Design

The design and development of the CTA modal is covered in T387598 - Build CTA modal.

image.png (1×1 px, 598 KB)

image.png (1×2 px, 178 KB)

Requirements

Create a new CentralNotice campaign and banner that will show the custom modal to a percentage of users.
Campaign parameters:

  • The modal should only be shown to users once, and once they have dismissed the modal, it should not be shown again.
  • The modal should only be shown to English speaking users
  • The modal should only be shown if the new summary extension is active on the given wiki.
  • List of wikis to show campaign for [TBD]
  • Sampling rate [TBD]
Banner code

The following banner triggers the CTA modal to open only if the user:

  • is on enwiki
  • is using the minerva skin
  • is on a page that has an available summary
  • has the summaries feature turned off (to not show if it's already on)

This can also be tested on beta cluster since beta has the dbcode enwiki.

<script>
  const isEnwiki = mw.config.get( 'wgWikiID' ) === 'enwiki';
  const isMinerva = mw.config.get( 'skin' ) === 'minerva';
  const hasArticleSummary = document.querySelector( '.ext-article-summaries-container' );
  const isExperimentDisabled = mw.user.clientPrefs.get( 'ext-summaries' ) === false;
  
  if ( isEnwiki && isMinerva && hasArticleSummary && isExperimentDisabled ) {
  	mw.hook('ext.articleSummaries.cta.open').fire();    
  }
</script>
Banner settings
Display toAnonymous users
Display on(android) Android OS, (iphone) All iPhone versions, (ipad) All devices identified as iPads but not iPhones
Campaign configuration

The following campaign will run for english speaking users at 1% sampling rate (initially) and ensure the banner is only seen once. Start and end dates TBD.

Campaign typeNo type (always shown)
Start date (UTC)TBD
Start time (UTC)00:00
End date (UTC)TBD
End time (UTC)00:00
Projectswikipedia
LanguagesEnglish
Geotargetedno
User bucketing.no
Enabledno
Priority.normal
Limit traffic1% (for test) 10% (for launch)
Lockedno
Extra campaign features
Impression diet
Maximum impressions any individual will see1

BDD

  • For QA engineer to fill out

Test Steps

  • For QA engineer to fill out

Acceptance criteria

  • A new campaign exists that can be activated when
  • A new centralNotice banner exists to use with the new campaign

Communication criteria - does this need an announcement or discussion?

?

Rollback plan

If there are issues with the campaign then it should be disabled asap.

This task was created by Version 1.2.0 of the Web team task template using phabulous

Event Timeline

bwang renamed this task from [summarie] Set up CentralNotice campaign for mobile summaries pilot to [summaries] Set up CentralNotice campaign for mobile summaries pilot.Mar 3 2025, 6:07 PM
bwang triaged this task as High priority.
bwang updated the task description. (Show Details)
bwang moved this task from Incoming to Q3 on the Web-Team board.
Jdlrobson-WMF changed the task status from Open to In Progress.Mar 4 2025, 6:39 PM
Jdlrobson-WMF changed the task status from In Progress to Open.Mar 14 2025, 4:47 PM
Jdlrobson-WMF lowered the priority of this task from High to Medium.Apr 11 2025, 7:36 PM
ovasileva raised the priority of this task from Medium to High.May 21 2025, 5:36 PM
SToyofuku-WMF removed the point value 3 for this task.Jun 4 2025, 5:28 PM
ovasileva changed the task status from Open to Stalled.Jun 9 2025, 10:13 AM