Jump to content

Reading/Web/Analytics/FAQ/Font Size Logging Consolidation

From mediawiki.org

Font Size Logging Consolidation: Pending Work (T349862)

[edit]

Current Situation

[edit]

Vector and Minerva skins use different values for font sizes:

  • Vector (Desktop):
 * Small (14px) → 0
 * Standard (16px) → 1
 * Large (18px) → 2
  • Minerva (Mobile):
 * Standard (16px) → small
 * Medium (18px) → regular
 * Large (20px) → large

Objective

[edit]

To log font sizes consistently across both skins by mapping Minerva’s descriptive labels to Vector’s numeric values.

Mapping Plan

[edit]
Vector (Desktop) Minerva (Mobile) Logged Value
Small (14px) - 0
Standard (16px) Standard (16px) 1
Large (18px) Medium (18px) 2
- Large (20px) 3

Pending Completion (T349862)

[edit]
  • Mobile will log 0, 1, 2, 3 values just like desktop.
  • No changes required in Vector.
  • Analysts will be able to query consistent font size data across both skins once implemented.