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.
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 to | Anonymous 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 type | No type (always shown) |
| Start date (UTC) | TBD |
| Start time (UTC) | 00:00 |
| End date (UTC) | TBD |
| End time (UTC) | 00:00 |
| Projects | wikipedia |
| Languages | English |
| Geotargeted | no |
| User bucketing. | no |
| Enabled | no |
| Priority. | normal |
| Limit traffic | 1% (for test) 10% (for launch) |
| Locked | no |
| Extra campaign features | |
| Impression diet | |
| Maximum impressions any individual will see | 1 |
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

