Fix duplicate keywords, type field inconsistency, and enhance week-ahead articles with real parliamentary data#361
Conversation
🏷️ Automatic Labeling SummaryThis PR has been automatically labeled based on the files changed and PR metadata. Applied Labels: size-xs Label Categories
For more information, see |
…-ahead articles with real parliamentary data Co-authored-by: pethers <[email protected]>
Co-authored-by: pethers <[email protected]>
There was a problem hiding this comment.
Pull request overview
This pull request addresses three previous review comments and significantly enhances the week-ahead articles with real parliamentary data from the riksdag-regering-mcp server.
Changes:
- Metadata fixes: Corrected duplicate "calendar, events" keywords in all 14 language versions and fixed type field inconsistency ("analysis" → "prospective") in French and Spanish index files
- English article enhancement: Transformed from placeholder content to comprehensive 750-word parliamentary coverage with detailed committee schedules, event calendar, and substantive policy analysis covering energy legislation, defense preparedness, EU climate consultations, and JHA Council positioning
- Multilingual updates: Enhanced Swedish version with full translation and calendar widget; updated 12 other language versions with translated metadata, document links, and contextual summaries
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| news/index_fr.html | Fixed type field from "analysis" to "prospective" for 2026-02-19-evening-analysis entry |
| news/index_es.html | Fixed type field from "analysis" to "prospective" for 2026-02-19-evening-analysis entry |
| news/2026-02-20-week-ahead-en.html | Comprehensive enhancement: added event calendar, detailed committee coverage (NU, KU, FöU, MJU, SoU, JuU), interpellation schedule, EU Affairs consultation analysis, and 750-word content |
| news/2026-02-20-week-ahead-sv.html | Full Swedish translation with calendar section, complete committee descriptions, and detailed policy context |
| news/2026-02-20-week-ahead-da.html | Danish: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-no.html | Norwegian: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-fi.html | Finnish: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-de.html | German: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-fr.html | French: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-es.html | Spanish: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-nl.html | Dutch: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-ar.html | Arabic: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-he.html | Hebrew: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-ja.html | Japanese: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-ko.html | Korean: removed duplicate keywords, updated metadata, added document links and context |
| news/2026-02-20-week-ahead-zh.html | Chinese: removed duplicate keywords, updated metadata, added document links and context |
news/2026-02-20-week-ahead-he.html
Outdated
| הריקסדאג השוודי פותח את השבוע ה-21–28 בפברואר בלוח זמנים אינטנסיבי: מרתון ועדות ביום שלישי עם 11 ועדות המתכנסות בו-זמנית, שלוש מליאות ויעוץ אירופי ביום שישי שיקבע את עמדת שוודיה לפני מועצת משפט וענייני פנים ב-5–6 במרץ. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). Remove the duplicate to improve readability.
| הריקסדאג השוודי פותח את השבוע ה-21–28 בפברואר בלוח זמנים אינטנסיבי: מרתון ועדות ביום שלישי עם 11 ועדות המתכנסות בו-זמנית, שלוש מליאות ויעוץ אירופי ביום שישי שיקבע את עמדת שוודיה לפני מועצת משפט וענייני פנים ב-5–6 במרץ. | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-de.html
Outdated
| Schwedens Riksdag beginnt die Woche vom 21.–28. Februar mit einem dichten Programm: Ausschussmarathon am Dienstag mit 11 gleichzeitig tagenden Ausschüssen, drei Plenarsitzungen und einer EU-Konsultation am Freitag, die Schwedens Position für den Rat Justiz und Inneres am 5.–6. März festlegt. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). Remove the duplicate to improve readability.
| Schwedens Riksdag beginnt die Woche vom 21.–28. Februar mit einem dichten Programm: Ausschussmarathon am Dienstag mit 11 gleichzeitig tagenden Ausschüssen, drei Plenarsitzungen und einer EU-Konsultation am Freitag, die Schwedens Position für den Rat Justiz und Inneres am 5.–6. März festlegt. | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-da.html
Outdated
| Sveriges parlament indleder ugen 21.–28. februar med et intensivt program: udvalgsmaraton tirsdag med 11 udvalg der mødes samtidig, tre plenarsessioner og et EU-rådgivende møde fredag der fastlægger Sveriges position forud for Rådet for Retlige og Indre Anliggender den 5.–6. marts. | ||
| </p> | ||
|
|
||
| <p> | ||
| <a href="https://data.riksdagen.se/dokument/HDA3NU19.html" class="document-link" rel="noopener noreferrer">HDA3NU19</a> • | ||
| <a href="https://data.riksdagen.se/dokument/HDA3KU29.html" class="document-link" rel="noopener noreferrer">HDA3KU29</a> • | ||
| <a href="https://data.riksdagen.se/dokument/HDA3FöU28.html" class="document-link" rel="noopener noreferrer">HDA3FöU28</a> • | ||
| <a href="https://data.riksdagen.se/dokument/HDA3MJU30.html" class="document-link" rel="noopener noreferrer">HDA3MJU30</a> • | ||
| <a href="https://data.riksdagen.se/dokument/HDA3SoU30.html" class="document-link" rel="noopener noreferrer">HDA3SoU30</a> | ||
| </p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). Remove the duplicate to improve readability.
| Sveriges parlament indleder ugen 21.–28. februar med et intensivt program: udvalgsmaraton tirsdag med 11 udvalg der mødes samtidig, tre plenarsessioner og et EU-rådgivende møde fredag der fastlægger Sveriges position forud for Rådet for Retlige og Indre Anliggender den 5.–6. marts. | |
| </p> | |
| <p> | |
| <a href="https://data.riksdagen.se/dokument/HDA3NU19.html" class="document-link" rel="noopener noreferrer">HDA3NU19</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3KU29.html" class="document-link" rel="noopener noreferrer">HDA3KU29</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3FöU28.html" class="document-link" rel="noopener noreferrer">HDA3FöU28</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3MJU30.html" class="document-link" rel="noopener noreferrer">HDA3MJU30</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3SoU30.html" class="document-link" rel="noopener noreferrer">HDA3SoU30</a> | |
| </p> | |
| <a href="https://data.riksdagen.se/dokument/HDA3NU19.html" class="document-link" rel="noopener noreferrer">HDA3NU19</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3KU29.html" class="document-link" rel="noopener noreferrer">HDA3KU29</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3FöU28.html" class="document-link" rel="noopener noreferrer">HDA3FöU28</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3MJU30.html" class="document-link" rel="noopener noreferrer">HDA3MJU30</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3SoU30.html" class="document-link" rel="noopener noreferrer">HDA3SoU30</a> | |
| </p> | |
| <a href="https://data.riksdagen.se/dokument/HDA3KU29.html" class="document-link" rel="noopener noreferrer">HDA3KU29</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3FöU28.html" class="document-link" rel="noopener noreferrer">HDA3FöU28</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3MJU30.html" class="document-link" rel="noopener noreferrer">HDA3MJU30</a> • | |
| <a href="https://data.riksdagen.se/dokument/HDA3SoU30.html" class="document-link" rel="noopener noreferrer">HDA3SoU30</a> | |
| </p> |
news/2026-02-20-week-ahead-zh.html
Outdated
| 瑞典议会在2月21日至28日迎来密集日程:周二11个委员会同时开会的委员会马拉松、三次全体会议,以及周五为3月5至6日司法与内政事务理事会确定瑞典立场的欧盟磋商。 | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph (lines 76 and 87-88) contains duplicate content. The same text appears twice in the article body, which is redundant and should be removed. Either keep it as the lede OR in the "Tuesday committee marathon" section, but not both.
| 瑞典议会在2月21日至28日迎来密集日程:周二11个委员会同时开会的委员会马拉松、三次全体会议,以及周五为3月5至6日司法与内政事务理事会确定瑞典立场的欧盟磋商。 | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-no.html
Outdated
| Sveriges riksdag innleder uken 21.–28. februar med et intensivt program: komitémaraton tirsdag med 11 komitéer som møtes samtidig, tre plenarsessjoner og et EU-konsultasjonsmøte fredag som fastsetter Sveriges posisjon for Rådet for rettferd og indre saker 5.–6. mars. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). This duplication exists across all non-English language versions and should be removed to improve readability.
| Sveriges riksdag innleder uken 21.–28. februar med et intensivt program: komitémaraton tirsdag med 11 komitéer som møtes samtidig, tre plenarsessjoner og et EU-konsultasjonsmøte fredag som fastsetter Sveriges posisjon for Rådet for rettferd og indre saker 5.–6. mars. | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-fi.html
Outdated
| Ruotsin riksdag aloittaa viikon 21.–28. helmikuuta intensiivisellä ohjelmalla: tiistain valiokuntamaraton 11 samanaikaisesti kokoontuvalla valiokunnalla, kolme täysistuntoa ja perjantain EU-neuvottelu, jossa määritetään Ruotsin kanta oikeus- ja sisäasioiden neuvostoa varten 5.–6. maaliskuuta. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). Remove the duplicate to improve readability.
| Ruotsin riksdag aloittaa viikon 21.–28. helmikuuta intensiivisellä ohjelmalla: tiistain valiokuntamaraton 11 samanaikaisesti kokoontuvalla valiokunnalla, kolme täysistuntoa ja perjantain EU-neuvottelu, jossa määritetään Ruotsin kanta oikeus- ja sisäasioiden neuvostoa varten 5.–6. maaliskuuta. | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-es.html
Outdated
| El Riksdag sueco inicia la semana del 21 al 28 de febrero con un programa repleto: maratón de comisiones el martes con 11 comisiones reuniéndose simultáneamente, tres sesiones plenarias y una consulta europea el viernes que fija la posición de Suecia antes del Consejo de Justicia e Interior del 5–6 de marzo. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). Remove the duplicate to improve readability.
| El Riksdag sueco inicia la semana del 21 al 28 de febrero con un programa repleto: maratón de comisiones el martes con 11 comisiones reuniéndose simultáneamente, tres sesiones plenarias y una consulta europea el viernes que fija la posición de Suecia antes del Consejo de Justicia e Interior del 5–6 de marzo. | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-ar.html
Outdated
| يبدأ الريكسداغ السويدي أسبوع 21-28 فبراير ببرنامج مكثف: ماراثون لجان الثلاثاء مع اجتماع 11 لجنة في وقت واحد، وثلاث جلسات عامة، واستشارة الاتحاد الأوروبي يوم الجمعة لتحديد موقف السويد قبيل مجلس العدالة والشؤون الداخلية في 5-6 مارس. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). Remove the duplicate to improve readability.
| يبدأ الريكسداغ السويدي أسبوع 21-28 فبراير ببرنامج مكثف: ماراثون لجان الثلاثاء مع اجتماع 11 لجنة في وقت واحد، وثلاث جلسات عامة، واستشارة الاتحاد الأوروبي يوم الجمعة لتحديد موقف السويد قبيل مجلس العدالة والشؤون الداخلية في 5-6 مارس. | |
| </p> | |
| <p> |
news/2026-02-20-week-ahead-zh.html
Outdated
| <span>下周展望</span> | ||
| <span class="separator">•</span> | ||
| <span>1 min read</span> | ||
| <time datetime="2026-02-20">20 February 2026</time> |
There was a problem hiding this comment.
The time element displays "20 February 2026" in English instead of Chinese. For consistency with the language version, this should be localized to Chinese date format. Other non-English versions have the same issue - the date should be localized to match the article language.
| <time datetime="2026-02-20">20 February 2026</time> | |
| <time datetime="2026-02-20">2026年2月20日</time> |
news/2026-02-20-week-ahead-nl.html
Outdated
| Het Zweedse Riksdag begint de week van 21–28 februari met een druk programma: commissiemarathon op dinsdag met 11 gelijktijdige commissievergaderingen, drie plenaire sessies en een EU-raadpleging op vrijdag die de positie van Zweden vastlegt voor de Raad Justitie en Binnenlandse Zaken van 5–6 maart. | ||
| </p> | ||
|
|
||
| <p> |
There was a problem hiding this comment.
The lede paragraph content is duplicated in the article body. The same text appears at line 76 (as lede) and lines 87-88 (in main content). This duplication exists across multiple language versions and should be removed to improve readability.
| Het Zweedse Riksdag begint de week van 21–28 februari met een druk programma: commissiemarathon op dinsdag met 11 gelijktijdige commissievergaderingen, drie plenaire sessies en een EU-raadpleging op vrijdag die de positie van Zweden vastlegt voor de Raad Justitie en Binnenlandse Zaken van 5–6 maart. | |
| </p> | |
| <p> |
|
@copilot apply changes based on the comments in this thread |
…e week-ahead articles Co-authored-by: pethers <[email protected]>
Applied all review changes in commit
All 12 files pass HTMLHint validation (0 errors). |
news/2026-02-20-week-ahead-no.html
Outdated
| <title>Uke Fremover: 2026-02-21 til 2026-02-28</title> | ||
| <meta name="description" content="Parlamentarisk kalender, komitémøter og debatter for kommende uke"> | ||
| <meta name="keywords" content="parliament, week ahead, calendar, events, calendar, events, debates, Swedish Parliament, Riksdag, politics, Sweden"> | ||
| <title>Stortinget møter en travel uke: Komitémaraton, kammerdebatter og EU-saker</title> |
There was a problem hiding this comment.
The Norwegian title uses "Stortinget" (Norway’s parliament) even though the article is about Sweden’s Riksdag. Please replace "Stortinget" with an appropriate reference to Sweden’s parliament and update all related fields (title, OG/Twitter titles, Schema.org headline, and the H1) for consistency.
news/2026-02-20-week-ahead-fr.html
Outdated
| <meta property="article:tag" content="Semaine à venir"> | ||
|
|
||
| <!-- Twitter Card --> | ||
| <meta property="article:section" content="La Semaine à Venir"> |
There was a problem hiding this comment.
The French section label contains mojibake ("La Semaine à Venir"), which indicates a character encoding issue and will display incorrectly in link previews/SEO. Replace it with the correct French text (e.g., "La Semaine à venir") and ensure the file is saved as UTF-8.
| <meta property="article:section" content="La Semaine à Venir"> | |
| <meta property="article:section" content="La Semaine à venir"> |
news/2026-02-20-week-ahead-fr.html
Outdated
| <span class="separator">•</span> | ||
| <span>1 min read</span> | ||
| <span class="separator">•</span> | ||
| <span>La Semaine à Venir</span> |
There was a problem hiding this comment.
The article meta displays the section label as "La Semaine à Venir" (mojibake). This should be corrected to the proper French spelling and encoding so readers don’t see corrupted characters.
| <span>La Semaine à Venir</span> | |
| <span>La semaine à venir</span> |
news/2026-02-20-week-ahead-da.html
Outdated
| <header class="article-header"> | ||
| <div class="site-tagline">Seneste nyheder og analyser fra Sveriges Riksdag. Politisk journalistik i The Economist-stil, der dækker parlament, regering og myndigheder med systematisk gennemsigtighed.</div> | ||
| <h1>Ugen Fremover: 2026-02-21 til 2026-02-28</h1> | ||
| <div class="site-tagline">Seneste nyt og analyse fra Sveriges Folketing. Politisk journalistik i The Economist-stil der dækker folketing, regering og myndigheder med systematisk gennemsigtighed.</div> |
There was a problem hiding this comment.
This tagline says "Sveriges Folketing" and refers to "folketing" (Denmark’s parliament), but the article is about Sweden’s Riksdag. Please change the tagline wording to consistently reference the Swedish parliament (Riksdagen/Rigsdagen) to avoid factual confusion.
| <div class="site-tagline">Seneste nyt og analyse fra Sveriges Folketing. Politisk journalistik i The Economist-stil der dækker folketing, regering og myndigheder med systematisk gennemsigtighed.</div> | |
| <div class="site-tagline">Seneste nyt og analyse fra Sveriges Riksdag. Politisk journalistik i The Economist-stil der dækker Riksdagen, regering og myndigheder med systematisk gennemsigtighed.</div> |
|
@copilot apply changes based on the comments in this thread |
…ojibake, Danish Folketing→Riksdag Co-authored-by: pethers <[email protected]>
Fixed in commit
All three files pass HTMLHint validation (0 errors). |
accd9bb
into
news-generation/automated-2026-02-20-7b18c38f01a37a6d
Addresses review comments on the auto-generated 2026-02-20 news PR and replaces weak week-ahead placeholder content with substantive parliamentary coverage.
Fixes
calendar, eventsappeared twice in all 142026-02-20-week-ahead-*.htmlmeta keywords tags2026-02-19-evening-analysisentry was"type": "analysis"inindex_fr.htmlandindex_es.html; corrected to"prospective"matching all other language indexes<time>display text updated to match each article language (e.g.2026年2月20日for ZH/JA,20 février 2026for FR,20 فبراير 2026for AR)Kammerdebattenm→KammerdebattenLa Semaine à Venircorrected toLa semaine à venirinarticle:sectionmeta tag and article-meta spanWeek-ahead content enhancement
Previous content was a one-line placeholder. Replaced with data-driven journalism using riksdag-regering-mcp committee notices:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.