Page MenuHomePhabricator

Update number copy on slides
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

Our goal is to remove "billion" and "million", and approximation words like "more than" and "nearly". These make it difficult for localization, and we want to avoid updates to numbers requiring updates to translations. We also added explainer text for some of the new data points.

Task
  • Check these coded slides against figma and update to match figma
  • Wherever possible, use placeholders for numbers, so that they can be easily changed in November without invalidating translations from the community

Updates needed to collective stats on these slides:

  • You spent 924 minutes reading 350 articles in 2025 (update for EN & Non-EN)
  • You saved 25 articles
  • We spent 2.4 billion hours reading
  • We have viewed Wikipedia articles 1.5 billion times
  • We had over 37 million saved articles
  • Editors made nearly 82 million changes this year
  • Editors on the official Wikipedia apps made more than 452,257 edits
  • Share summary slides & Downloadable summary images

Add copy to these slides to match figma:

  • Your most interesting categories
  • Your top articles
  • Articles you read are closest to France

Spreadsheet of config counts by @HNordeenWMF: https://docs.google.com/spreadsheets/d/1jHvzxcgNWdePKWvTIf7FkWOUMfTCFjQHFaLmkKTnTkA/edit?gid=0#gid=0

QA Notes
  1. Fresh install TestFlight Wikipedia 7.8.5
  2. Enable YiR V3 toggle in Developer Settings
  3. Feature should appear in Profile menu.

Event Timeline

Not ready to be picked up yet - wait for updated Figma

Progress in yir-config-copy-changes branch, will pick this back up in-between prioritized Tabs V2 work. So far I have only applied config changes, still need to do copy changes.

Config proposal:

{
  "commonv1": {
    "yir": [
      {
        "year": 2025,
        "activeStartDate": "2025-12-01T00:00:00Z",
        "activeEndDate": "2026-02-01T00:00:00Z",
        "languages": 300,
        "articles": 10000000,
        "savedArticlesApps": 37574993,
        "viewsApps": 1000000000,
        "editsApps": 124356,
        "editsPerMinute": 342,
        "averageArticlesReadPerYear": 335,
        "edits": 81987181,
        "editsEN": 31000000,
        "hoursReadEN": 2423171000,
        "yearsReadEN": 275000,
        "topReadEN": [
          "Deaths in 2024",
          "Kamala Harris",
          "2024 United States presidential election",
          "Lyle and Erik Menendez",
          "Donald Trump"
        ],
        "bytesAddedEN": 1000000000,
        "hideCountryCodes": [
          "RU",
          "IR",
          "CN",
          "HK",
          "MO",
          "SA",
          "CU",
          "MM",
          "BY",
          "EG",
          "PS",
          "GN",
          "PK",
          "KH",
          "VN",
          "SD",
          "AE",
          "BY",
          "SY",
          "JO",
          "VE",
          "AF"
        ],
        "hideDonateCountryCodes": [
          "AE",
          "AF",
          "AX",
          "BY",
          "CD",
          "CI",
          "CU",
          "FI",
          "ID",
          "IQ",
          "IR",
          "KP",
          "KR",
          "LB",
          "LY",
          "MM",
          "PY",
          "RU",
          "SA",
          "SD",
          "SO",
          "SS",
          "SY",
          "TM",
          "TR",
          "UA",
          "UZ",
          "XK",
          "YE",
          "ZW"
        ]
      }
    ]
  },
  "androidv1": {
    "hCaptcha": {
      "baseURL": "https://meta.wikimedia.org",
      "jsSrc": "https://assets-hcaptcha.wikimedia.org/1/api.js",
      "endpoint": "https://hcaptcha.wikimedia.org",
      "assethost": "https://assets-hcaptcha.wikimedia.org",
      "imghost": "https://imgs-hcaptcha.wikimedia.org",
      "reportapi": "https://report-hcaptcha.wikimedia.org",
      "sentry": false,
      "siteKey": "TODO"
    }
  },
  "iosv1": {
    "hCaptcha": {
      "baseURL": "https://meta.wikimedia.org",
      "jsSrc": "https://assets-hcaptcha.wikimedia.org/1/api.js",
      "endpoint": "https://hcaptcha.wikimedia.org",
      "assethost": "https://assets-hcaptcha.wikimedia.org",
      "imghost": "https://imgs-hcaptcha.wikimedia.org",
      "reportapi": "https://report-hcaptcha.wikimedia.org",
      "sentry": false,
      "apiKey": "TODO"
    }
  }
}

Once client-code changes are done and we feel solid on the contract, I will push the final config changes to the T405741 gerrit patch.

Updated config proposal, with added dataStartDate, dataEndDate, and topReadPercentages. Updated patch in https://gerrit.wikimedia.org/r/c/mediawiki/services/wikifeeds/+/1191700.

{
  "commonv1": {
    "yir": [
      {
        "year": 2025,
        "activeStartDate": "2025-12-01T00:00:00Z",
        "activeEndDate": "2026-02-01T00:00:00Z",
        "dataStartDate": "2025-01-01T00:00:00Z",
        "dataEndDate": "2025-12-01T00:00:00Z",
        "languages": 300,
        "articles": 10000000,
        "savedArticlesApps": 37574993,
        "viewsApps": 1000000000,
        "editsApps": 124356,
        "editsPerMinute": 342,
        "averageArticlesReadPerYear": 335,
        "edits": 81987181,
        "editsEN": 31000000,
        "hoursReadEN": 2423171000,
        "yearsReadEN": 275000,
        "topReadEN": [
          "Deaths in 2024",
          "Kamala Harris",
          "2024 United States presidential election",
          "Lyle and Erik Menendez",
          "Donald Trump"
        ],
        "topReadPercentages": [
          {
            "identifier": "0.01",
            "min": 43740,
            "max": null
          },
          {
            "identifier": "1",
            "min": 23456,
            "max": 43739
          },
          {
            "identifier": "5",
            "min": 12345,
            "max": 23455
          },
          {
            "identifier": "10",
            "min": 8901,
            "max": 12344
          },
          {
            "identifier": "20",
            "min": 4567,
            "max": 8900
          },
          {
            "identifier": "30",
            "min": 2456,
            "max": 4566
          },
          {
            "identifier": "40",
            "min": 1234,
            "max": 2455
          },
          {
            "identifier": "50",
            "min": 336,
            "max": 1233
          }
        ],
        "bytesAddedEN": 1000000000,
        "hideCountryCodes": [
          "RU",
          "IR",
          "CN",
          "HK",
          "MO",
          "SA",
          "CU",
          "MM",
          "BY",
          "EG",
          "PS",
          "GN",
          "PK",
          "KH",
          "VN",
          "SD",
          "AE",
          "BY",
          "SY",
          "JO",
          "VE",
          "AF"
        ],
        "hideDonateCountryCodes": [
          "AE",
          "AF",
          "AX",
          "BY",
          "CD",
          "CI",
          "CU",
          "FI",
          "ID",
          "IQ",
          "IR",
          "KP",
          "KR",
          "LB",
          "LY",
          "MM",
          "PY",
          "RU",
          "SA",
          "SD",
          "SO",
          "SS",
          "SY",
          "TM",
          "TR",
          "UA",
          "UZ",
          "XK",
          "YE",
          "ZW"
        ]
      }
    ]
  },
  "androidv1": {
    "hCaptcha": {
      "baseURL": "https://meta.wikimedia.org",
      "jsSrc": "https://assets-hcaptcha.wikimedia.org/1/api.js",
      "endpoint": "https://hcaptcha.wikimedia.org",
      "assethost": "https://assets-hcaptcha.wikimedia.org",
      "imghost": "https://imgs-hcaptcha.wikimedia.org",
      "reportapi": "https://report-hcaptcha.wikimedia.org",
      "sentry": false,
      "siteKey": "TODO"
    }
  },
  "iosv1": {
    "hCaptcha": {
      "baseURL": "https://meta.wikimedia.org",
      "jsSrc": "https://assets-hcaptcha.wikimedia.org/1/api.js",
      "endpoint": "https://hcaptcha.wikimedia.org",
      "assethost": "https://assets-hcaptcha.wikimedia.org",
      "imghost": "https://imgs-hcaptcha.wikimedia.org",
      "reportapi": "https://report-hcaptcha.wikimedia.org",
      "sentry": false,
      "apiKey": "TODO"
    }
  }
}
HNordeenWMF renamed this task from Update copy on slides to Update number copy on slides.Oct 9 2025, 5:35 PM

Just noting here for posterity - I ran into issues with plural syntax on some of the larger numbers because the iOS localization script isn't set up to recognize larger integer tokens like %lld. So for now I am just using our standard string token (We spent $1 hours reading instead of We spent {{PLURAL:$1|$1 hour|$1 hours}} reading) . If we hear complaints that we need plural syntax for these, I can modify our localization script, but I didn't want to go down that path without being sure we needed it.

Tsevener updated the task description. (Show Details)
Tsevener updated the task description. (Show Details)
ABorbaWMF subscribed.

Appears to be fixed on 7.8.5 (5867)

Tested on iPhone 16 on iOS 26, iPad 12.9 on iPadOS 26, and iPhone 11 on iOS 18. Tested on all themes

@Tsevener These copy updates have not happened (additional copy was added in the paragraph in Figma that needs to be on the slides)

Add copy to these slides to match figma:

  • Your most interesting categories
  • Your top articles
HNordeenWMF claimed this task.