Skip to content

Comments

Fix article type metadata for welfare reform breaking news across all 14 language indexes#502

Merged
pethers merged 2 commits intonews-realtime/2026-02-24t1424-2e2ab56a833711f3from
copilot/sub-pr-501
Feb 24, 2026
Merged

Fix article type metadata for welfare reform breaking news across all 14 language indexes#502
pethers merged 2 commits intonews-realtime/2026-02-24t1424-2e2ab56a833711f3from
copilot/sub-pr-501

Conversation

Copy link
Contributor

Copilot AI commented Feb 24, 2026

The welfare reform article (Prop. 2025/26:136) was incorrectly typed as "analysis" or "prospective" in all 14 language news indexes, while the article pages themselves were correctly labeled as breaking news. This causes the breaking-news type filter to silently miss the article.

Changes

  • 14 language indexes (index.html, index_sv, index_da, index_no, index_fi, index_de, index_fr, index_es, index_nl, index_ar, index_he, index_ja, index_ko, index_zh): corrected welfare reform article entry type to "breaking"
  • index_ja.html (line 567): additionally fixed unrelated opposition-motions-ja.html entry from "prospective""analysis" — it reports on existing motions, not a forward-looking preview
// Before (incorrect)
"slug": "2026-02-24-welfare-reform-proposition-en.html",
"type": "analysis"

// After
"slug": "2026-02-24-welfare-reform-proposition-en.html",
"type": "breaking"

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Fix government files welfare reform proposition Fix article type metadata for welfare reform breaking news across all 14 language indexes Feb 24, 2026
@pethers pethers marked this pull request as ready for review February 24, 2026 15:37
@pethers pethers merged commit bb0c807 into news-realtime/2026-02-24t1424-2e2ab56a833711f3 Feb 24, 2026
3 checks passed
@pethers pethers deleted the copilot/sub-pr-501 branch February 24, 2026 15:37
@github-actions github-actions bot added html-css HTML/CSS changes i18n Internationalization/localization news News articles and content generation size-s Small change (10-50 lines) labels Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

html-css HTML/CSS changes i18n Internationalization/localization news News articles and content generation size-s Small change (10-50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants