Currently the font size for articles is 14px. We would like to eventually bump it to 16px. As a starting point we'd like to introduce a feature flag that allows us to do extensive QA of the site and determine what breaks.
Acceptance criteria
- For now the feature flag will support 2 states: Current font-size, New font-size
- The default font size is the current font size
- When the feature flag is enabled, instead of font-size 14px apply font-size 16px. Do not worry about optimizing any feature. The goal is to see what breaks.
- It should be possible to increase the font size using the code mw.user.clientPrefs.set('vector-feature-custom-font-size', 'enabled') in a gadget or by running the code in the developer console.
- It should be possible to increase font size using a query string parameter ?VectorCustomFontSize=1
QA steps
As an anonymous user run the following code in developer console and check the font size changes:
mw.user.clientPrefs.set('vector-feature-custom-font-size', 'enabled')
Sign off steps
- Arrange a QA task to exploratory test the site with the new font size. T345756
- Create a task for managing how the font-size can be changed for logged in user - T345664
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T343928#9124318 |
2 | ✅ | T343928#9124318 |
3 | ✅ | T343928#9124318 |
4 | ✅ | T343928#9146959 |
5 | ✅ | T343928#9124318 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T343928#9151372 |
2 | ✅ | T343928#9151372 |
3 | ✅ | T343928#9151372 |
4 | ✅ | T343928#9151372 |
5 | ✅ | T343928#9151372 |