Module talk:European and national party data/Archive 1: Difference between revisions

Content deleted Content added
Line 219:
:I will try and get started on this module tomorrow or the day after. [[User:Julius Schwarz|Julius Schwarz]] ([[User talk:Julius Schwarz|talk]]) 15:51, 6 April 2025 (UTC)
::@[[User:Trappist the monk|Trappist the monk]] I have done some work on the national_party_composition_bar function and it seems to be working (although test cases are tricky because it is always called from the page of a national party). Would you mind having a look and checking whether the code is sound? I have tried it successfully on [[The Ecologists]] and on a non-party page where, expectedly, it gives an error message. [[User:Julius Schwarz|Julius Schwarz]] ([[User talk:Julius Schwarz|talk]]) 19:48, 7 April 2025 (UTC)
:::Seems like there is some commonality between <code>composition_bar()</code> and <code>national_party_composition_bar()</code>. Perhaps parts of those function that can be shared ought to be shared as separate functions.
:::—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 22:07, 7 April 2025 (UTC)
 
== Adding support for European political alliances ==