Module talk:Political party

Latest comment: 11 days ago by SWinxy in topic Change UDF color

Edit request relating to multiple parties

edit

As far as I am aware, the following parties’ colours are not correctly stored: (might be outdated)

-Renew Europe (European Parliament group, not a formal political party): Its colour returned by the template is yellow, while its official colour is light (sky) blue

-Liberal Democrats (UK): the Liberal Democrats official colours are yellow (FAA61A) and black (charcoal/process black) or (secondary) navy and coral. The template spits out what appears to be gold (also what the article infobox says) but this is contradicted by the official Liberal Democrat website 79.170.253.184 (talk) 11:56, 12 July 2024 (UTC)Reply

The website confirms that the colour is FAA61A. It calls itself yellow, but it looks to me like orange Cal3000000 (talk) 11:31, 1 September 2024 (UTC)Reply

Edit request 16 August 2024

edit

Request to add the United Labor Party (New York), a regional and now defunct political party. The Hex Code is #6666e0 and the abbreviation is "ULP"

 ["United Labor Party (New York)"] = {abbrev = "ULP", color = "#6666e0", shortname = "",},

— Preceding unsigned comment added by 74.104.136.138 (talk) 23:27, 16 August 2024 (UTC)Reply

  Done. Primefac (talk) 12:05, 17 August 2024 (UTC)Reply
["Secular Democratic Alliance"] = {abbrev = "SDA", color = "#E4032E", shortname = "Mahajot", 49.47.141.165 (talk) 05:58, 6 September 2024 (UTC)Reply

Help?: ‘Independent’ not linking correctly

edit

At the very bottom of the infobox of Ikaroa-Rāwhiti, the previous MP is listed as independent, with “Independent” being passed via {{Infobox New Zealand electorate}} into {{Party abbrev linked}}, and returning “Ind”. But for whatever reason, the link returned is Independent, and not Independent politician. Any ideas where this is going wrong? — HTGS (talk) 08:02, 18 August 2024 (UTC)Reply

That's a GIGO issue. {{party abbrev linked}} returns a link to the input value, not the value passed by the module; if you want it to link to Independent politician then you'll need to put that as the |previous_mp_party= Primefac (talk) 11:35, 18 August 2024 (UTC)Reply

Edit request 19 August 2024

edit

I would like to suggest an edit change due to inaccuracy for the Direction – Social Democracy.

The current use of "SMER–SD" as an abbreviation is incorrect because "Smer" is a word, not an acronym. In Slovak, "Smer" means "Direction," and it’s not an initialism where each letter stands for a separate word. Therefore, it should be written as "Smer–SD" with only the first letter capitalized, which accurately reflects its status as a proper noun, not an abbreviation. Additionally, using all capitals misleadingly suggests that it is an acronym, which it is not, and this goes against proper linguistic conventions.

However, an even better solution would be to simply use "Smer" without the "–SD." The hyphen in "Smer–SD" implies the connection of two distinct entities, which is not accurate since "SD" merely functions as an adjective (Social Democracy), not a separate entity. This would align more closely with both the linguistic and political nature of the term.

Moreover, it is more practical, for example when listing the coalition in a results table. Instead of the potentially confusing "SMER–SD–Hlas–SNS" or "Smer–SD–Hlas–SNS," simply using "Smer–Hlas–SNS" provides a clearer and more streamlined presentation.

The same principle applies to Voice – Social Democracy, which is currently incorrectly abbreviated as "HLAS–SD." 90.64.64.22 (talk) 08:41, 19 August 2024 (UTC)Reply

  Done. Primefac (talk) 11:56, 19 August 2024 (UTC)Reply
Hello, thank you. However, you changed HLAS–SD to HLAS, but Hlas is also a word, it means "Voice", so the abbreviation should be Hlas, not HLAS.--90.64.64.22 (talk) 13:31, 19 August 2024 (UTC)Reply
You were non-specific. Primefac (talk) 13:53, 19 August 2024 (UTC)Reply

Edit request 19 August 2024

edit

I would like to suggest an edit change due to inaccuracy for Most–Híd.

"Most" means "bridge" in Slovak, and "Híd" means "bridge" in Hungarian, symbolizing the party’s role in connecting these two linguistic and cultural communities. Therefore, for greater clarity and accessibility to English-speaking audiences, the abbreviation "Bridge" should be used. This straightforward translation of both "Most" and "Híd" effectively conveys the party’s mission of bridging Slovak and Hungarian communities. Additionally, using "Bridge" might improve searchability and recognition in English-language contexts.

Moreover, using "Bridge" as the abbreviation would enhance clarity and coherence in coalition lists or political alliances, such as Smer–SNS–Bridge (government from 2016 to 2020). This format is more concise and user-friendly than Smer–SNS–Most–Híd, which could be cumbersome and less recognizable in general usage.--90.64.64.22 (talk) 17:42, 19 August 2024 (UTC)Reply

Does this organisation actually use the shorthand "Bridge" to describe themselves? Primefac (talk) 12:27, 20 August 2024 (UTC)Reply
Most–Híd never uses the abbreviation "Bridge" in Slovak or English, and the party exclusively refers to itself by its full name. The correct form is Most–Híd with an en dash, reflecting the official name and branding. Currently, Wikipedia uses a hyphen (Most-Híd), which must be changed to the en dash for accuracy.
Given that Most–Híd literally means "Bridge" in Slovak (most) and Hungarian (híd), "Bridge" could be considered for clarity in English contexts, particularly in coalition listings like Smer–SNS–Bridge. That is why I propose this alternative to the abbreviation Most–Híd with an en dash. 90.64.70.48 (talk) 20:39, 21 August 2024 (UTC)Reply
If they refer to themselves as Most–Híd then we will do the same. I have fixed the endash issue. Primefac (talk) 15:56, 23 August 2024 (UTC)Reply

Change the color of Indian National Congress

edit

User:Primefac Indian National Congress is a liberal party which has not one official color. It's official colors are colors of Indian flag. Currently in Wikipedia it's represented by blue which represents conservative right-wing parties. So, I suggest to change the color to yellow which stands for liberalism. Das capitalist (talk) 15:53, 2 September 2024 (UTC)Reply

Indian National Congress says sky blue is customary. Feel free to get consensus to change it. Primefac (talk) 16:12, 2 September 2024 (UTC)Reply

Change the short name of Christian Democratic Union from

edit

Can the short name of "Christian Democratic Union" be changed from "Christian Democratic Union" to "CDU". DotCoder (talk) 21:06, 2 September 2024 (UTC)Reply

It is already CDU. I suspect wherever you are seeing it not as CDU, it has been changed manually in the article. Number 57 00:29, 3 September 2024 (UTC)Reply

Edit request 5 September 2024

edit

Can "European Conservatives and Reformists Group" be added as "ECR"? This group alliance page was moved to European Conservatives and Reformists Group. Natg 19 (talk) 17:38, 5 September 2024 (UTC)Reply

  Not done: According to the page's protection level you should be able to edit the page yourself. If you seem to be unable to, please reopen the request with further details. See Module:Political party § Updating the module for more info. Primefac (talk) 18:16, 5 September 2024 (UTC)Reply
Thanks! I did not see these instructions of how to edit. Natg 19 (talk) 01:21, 6 September 2024 (UTC)Reply

Edit request 6 September 2024

edit

@Primefac

Description of suggested change: ["Secular Democratic Alliance"] = {abbrev = "SDA", color = "#E4032E", shortname = "Mahajot",} Diff:

+
["Secular Democratic Alliance"] = {abbrev = "SDA", color = "#E4032E", shortname = "Mahajot",}

49.47.141.165 (talk) 05:56, 6 September 2024 (UTC)Reply

  Completed. P.I. Ellsworth , ed. put'er there 10:41, 6 September 2024 (UTC)Reply

Edit request 7 September 2024

edit

@Primefac @Paine Ellsworth

Description of suggested change: ["Samajwadi Party"] = {abbrev = "SP", color = "#E3265B", shortname = "Samajwadi",}
["Communist Party of India (Marxist)"] = {abbrev = "CPI(M)", color = "#F0001C", shortname = "Marxist",}
["Communist Party of India"] = {abbrev = "CPI", color = "#B71C1C", shortname = "Communist",}
I suggest to change this colors they make problem in identifying. Interchange CPI and CPI(M) color. 49.47.141.165 (talk) 05:56, 7 September 2024 (UTC)Reply

Integration with Wikidata

edit

Hi,

I am interested in the use of Wikidata data in Wikipedia, especially for infoboxes. The core idea, of course, is to avoid duplication of work and there are many instances where this could be beneficial.

Has this been discussed previously? Are there initiatives in this sense? Julius Schwarz (talk) 18:53, 12 September 2024 (UTC)Reply

Are you talking about this in regard specifically to this module, or are you just asking for general opinions? Primefac (talk) 19:54, 12 September 2024 (UTC)Reply
This discussion started in User talk:Julius Schwarz#Linking party colours to Wikidata, after they started replacing the use of Template:Party color with links to Wikidata (example 1, example 2). Brainiac242 (talk) 20:15, 12 September 2024 (UTC)Reply
From a "how easy is this to figure out for a relatively new editor", I am not really a fan of those example changes. My own personal bugbear with WD has always been how bloody obscure and unintuitive everything is; if I saw those edits in the wild I would have no idea what the WD calls were doing or even how I would check what values they access. Primefac (talk) 10:07, 13 September 2024 (UTC)Reply
I guess this can be a broader discussion, but my question is specifically for this module, since this is in relation to what I mostly edit. I have worked to keep both Wikipedia and Wikidata up to date, and it seems like a lot of duplication, so I am interested in pushing for more integration -- maybe starting with pilot initiatives -- and the first question is whether this has been attempted or discussed before. Julius Schwarz (talk) 07:28, 13 September 2024 (UTC)Reply
It has been discussed before, mostly in relation to biographical infoboxes, where the consensus is that WD is to be used very sparingly if at all because of the long-standing issues WD has with verifiability and sourcing as it relates to BLP-related matters. I haven't seen any of those types of discussions pop up lately so I honestly couldn't tell you the general feeling about WD, but my general advice would be that if you see duplication between the projects, get consensus before going around and mass-changing them; there are still a lot of folks who will either find the edits unnecessary or (for some individuals) outright problematic. Primefac (talk) 10:05, 13 September 2024 (UTC)Reply
Thanks for the feedback @Primefac and fair points. I have already reverted changes after a discussion made me realise I had been too hasty. I also tested some integration and it does come with a few challenges, from the point of view of the layout already. Julius Schwarz (talk) 11:45, 14 September 2024 (UTC)Reply

Edit request 13 September 2024 (La France Insoumise)

edit

Description of suggested change:

La France Insoumise's red is currently too similar to the reds of PS and PCF for my liking, I'd like to propose a return to its more official purple  , the party's article describes the red as "customary", but in almost all media I personally see, purple is more commonly used, plus, as I said, the colour has poor contrast with the country's other left-wing and left-leaning parties' colours. What are people's thoughts on this?

Diff:

["La France Insoumise"] = {abbrev = "LFI", color = "#E53D40", shortname = "",},
+
["La France Insoumise"] = {abbrev = "LFI", color = "#56277E", shortname = "",},

– GlowstoneUnknown (Talk) 06:12, 13 September 2024 (UTC)Reply

I notified Wikipedia talk:WikiProject France, Wikipedia talk:WikiProject Politics/Political parties, and Talk:La France Insoumise of this request on 27 September. If there is no reply by 4 October, I think we can safely assume this is uncontrovertial. --Ahecht (TALK
PAGE
)
16:09, 1 October 2024 (UTC)Reply

Edit request 13 September 2024

edit

Description of suggested change: Make the colour for the Old Windsor Residents' Association #019642  

Diff:

+
["Old Windsor Residents Association"] = {abbrev = "OWRA", color = "#019642", shortname = "",},

Infinite Hydra (talk) 18:26, 13 September 2024 (UTC)Reply

  Done Vacant0 (talkcontribs) 19:10, 13 September 2024 (UTC)Reply

Edit request 13 September 2024

edit

Description of suggested change:

Could you please update the colour listed for the West Dunbartonshire Community Party in line with the party colour listed on its page, taken from its logo.

Diff:

["West Dunbartonshire Community Party"] = {abbrev = "", color = "#C5000B", shortname = "West Dunbartonshire Community",},
+
["West Dunbartonshire Community Party"] = {abbrev = "", color = "#862C8A", shortname = "West Dunbartonshire Community",},

WanderingPlaywright (talk) 19:04, 13 September 2024 (UTC)Reply

  Done Vacant0 (talkcontribs) 19:08, 13 September 2024 (UTC)Reply

Dark mode compatibility

edit

Any chance this can be updated to make it friendlier to dark mode? This could be as simple as using class="mw-no-invert" to avoid colors becoming washed out/reversed, but curious what others would think would be a good solution here. —Locke Coletc 17:02, 14 September 2024 (UTC)Reply

Edit request 16 September 2024

edit

Description of suggested change: Make the colour for the West Windsor Residents Association #3863C1  

Diff:

+
["West Windsor Residents Association"] = {abbrev = "WWRA", color = "#3863C1", shortname = "",},

Infinite Hydra (talk) 16:35, 16 September 2024 (UTC)Reply

  Not done: please provide reliable sources that support the change you want to be made. I see that they use that color for links on their website, but it's not in their official logo. --Ahecht (TALK
PAGE
)
14:53, 27 September 2024 (UTC)Reply
Never mind about the colour then, I get what you're saying. Would you still be able to add the party's abbreviation? Infinite Hydra (talk) 15:57, 27 September 2024 (UTC)Reply
@Infinite Hydra I had to modify the module to allow it to take "default" as the color value, but this is now   Done. --Ahecht (TALK
PAGE
)
16:25, 1 October 2024 (UTC)Reply
Thank you Infinite Hydra (talk) 16:52, 1 October 2024 (UTC)Reply

Colorado Center Party

edit

Description of suggested change:

The Colorado Center Party has values for its short name and color in the module, but neither show up on articles such as 2024 Colorado House of Representatives election#District 34. I have not a clue as to why it isn't working. If someone could make the Colorado Center Party appear in election boxes with the shortname "center" and a purple hue, that'd be great! FoamingInDenver (talk) 20:47, 9 October 2024 (UTC)Reply

This isn't an edit request, it's a request to figure out what's wrong with the template. For what it's worth the party is listed in /C, so it's likely an issue with either implementation or the template call on the article in question. I'll try to take a look but other eyes would be appreciated. Primefac (talk) 15:07, 10 October 2024 (UTC)Reply
Huh... it was the module... someone added an extra bit of code that caused it to point to the wrong place (which incidentally didn't exist).
  Fixed the problem and it looks like it should be working as intended. Primefac (talk) 15:13, 10 October 2024 (UTC)Reply
Thanks for the help! FoamingInDenver (talk) 17:00, 10 October 2024 (UTC)Reply

Extended-confirmed-protected edit request on 16 October 2024

edit

I suggest the color change of Gerindra party (Indonesia) to color #B79164. Because it's similar to Indonesian Democratic Party of Struggle (PDIP) MesinKetik (talk) 08:58, 16 October 2024 (UTC)Reply

  Done Primefac (talk) 11:47, 16 October 2024 (UTC)Reply

Change UDF color

edit

Description of suggested change: ["United Democratic Alliance"] = {abbrev = "UDF", color = "#FFD700", shortname = "UDF",} Diff:

+
["United Democratic Alliance"] = {abbrev = "UDF", color = "#FFD700", shortname = "UDF",}

हिन्दू खतरे में हैं (talk) 10:19, 22 October 2024 (UTC)Reply

@Primace हिन्दू खतरे में हैं (talk) 10:19, 22 October 2024 (UTC)Reply
@हिन्दू खतरे में हैं Did you mean UDA or UDF? There are currently five political parties named "United Democratic Alliance" supported in the template (they're the ones listed at United Democratic Alliance) and a handful that are abbreviated UDF. Based on your username, I'm assuming you're referring to United Democratic Alliance (Nagaland), but you'll need to specify. In addition, you'll also need to provide a source that the party uses that color. --Ahecht (TALK
PAGE
)
16:27, 22 October 2024 (UTC)Reply
  Not done for now: User is sock-blocked, so they can't respond. If anyone knows which one it is with a source, feel free to reopen. SWinxy (talk) 18:11, 28 October 2024 (UTC)Reply