Background
In T364887 we made it possible to disable the font size selection on certain pages. This task is about enabling this feature in production.
User story
As a user when I visit certain special pages, I get the traditional small size font.
Requirements
- The configuration for $wgVectorFontSizeConfigurableOptions currently set on beta cluster is promoted to production.
Requirement
Ensure that the font size configuration for Vector 2022 is correctly implemented in production. The following namespaces and actions should be excluded from the new font size settings on all wikis except for plwiki, nlwiki, and eswiki.
Excluded namespaces:
- Special pages (-1)
- Talk (1)
- User (2)
- File (6)
- MediaWiki (8)
- Template (10)
- Category (14)
- Custom Namespace (100)
- TimedText (710)
- Module (828)
Excluded actions:
- edit
- submit
- diff
- info
- protect
- delete
- undelete
- action
- history
BDD
Feature: Font Size Configuration for Vector 2022 Scenario: Apply font size configuration for wikis excluding plwiki, nlwiki, and eswiki Given the font size configuration is set for wikis excluding plwiki, nlwiki, and eswiki When the configuration is applied Then the specified namespaces and actions should be excluded from the new font size settings | Namespace | Namespace ID | |-----------------|--------------| | Special pages | -1 | | Talk | 1 | | User | 2 | | File | 6 | | MediaWiki | 8 | | Template | 10 | | Category | 14 | | Custom Namespace| 100 | | TimedText | 710 | | Module | 828 | | Action | |-----------| | edit | | submit | | diff | | info | | protect | | delete | | undelete | | action | | history | Scenario: Exclude font size configuration for plwiki, nlwiki, and eswiki Given the font size configuration is set for plwiki, nlwiki, and eswiki When the configuration is applied Then these wikis should not have the new font size settings
Test Steps
Test Case 1: Apply Font Size Configuration for Wikis Excluding plwiki, nlwiki, and eswiki
- Verify that the font size configuration is set to exclude the specified namespaces and actions.
- Visit pages in the following namespaces on a wiki excluding plwiki, nlwiki, and eswiki: Special pages, Talk, User, File, MediaWiki, Template, Category, Custom Namespace, TimedText, Module.
- Visit pages with the following actions on a wiki excluding plwiki, nlwiki, and eswiki: edit, submit, diff, info, protect, delete, undelete, action, history.
- AC1: Confirm that the specified namespaces and actions are excluded from the new font size settings.
Test Case 2: Exclude Font Size Configuration for plwiki, nlwiki, and eswiki
- Verify that the font size configuration is not applied to plwiki, nlwiki, and eswiki.
- Visit pages in any namespace on plwiki, nlwiki, and eswiki.
- Perform any actions on plwiki, nlwiki, and eswiki.
- AC2: Confirm that these wikis do not have the new font size settings.
Acceptance criteria
- The requirements in T364887 should be satisifed in production.
Communication criteria - does this need an announcement or discussion?
Probably. Check with @sgrabarczuk and @ovasileva beforehand
Rollback plan
Revert the patch, move this task to backlog.
This task was created by Version 1.0.0 of the Web team task template using phabulous
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ / ❓ | T366334#9865934 Please review the ❓ before signing off or adding verified tag. |
2 | ✅ / ❓ | T366334#9865934 Please review the ❓ before signing off or adding verified tag. |