Module talk:Political party
This is the talk page for discussing improvements to the Political party module. |
|
Archives: 1, 2, 3, 4Auto-archiving period: 3 months |
This module does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
Module:Political party is permanently protected from editing because it is a heavily used or highly visible module. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit.
|
Edit request 13 September 2024 (La France Insoumise)
[edit]This edit request to Module:Political party/L has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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 = | + | ["La France Insoumise"] = {abbrev = "LFI", color = "#56277E", shortname = "",}, |
– GlowstoneUnknown (Talk) 06:12, 13 September 2024 (UTC)
- 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) - Done Sceptre (talk) 23:20, 16 November 2024 (UTC)
Edit request 16 September 2024
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- 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)- 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)
- @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)- Thank you Infinite Hydra (talk) 16:52, 1 October 2024 (UTC)
- @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
- 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)
Colorado Center Party
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- 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)
- 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)
- Thanks for the help! FoamingInDenver (talk) 17:00, 10 October 2024 (UTC)
Extended-confirmed-protected edit request on 16 October 2024
[edit]This edit request to Module:Political party/G has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
Change UDF color
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- @Primace हिन्दू खतरे में हैं (talk) 10:19, 22 October 2024 (UTC)
- @हिन्दू खतरे में हैं 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)
- @हिन्दू खतरे में हैं 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
- 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)
Edit request 11 November 2024
[edit]This edit request to Module:Political party/D has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Please add the following Northern Ireland Assembly designations:
Designated Unionist - #448BEE
Designated Nationalist - #1B9750
Designated Other - #808080
Thank you. PointUnderstander (talk) 00:06, 11 November 2024 (UTC)
- Do you have a reliable source we can cite for the change? - Adolphus79 (talk) 20:03, 24 November 2024 (UTC)
- Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. Primefac (talk) 12:39, 28 November 2024 (UTC)
Edit request 23 November 2024
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Description of suggested change: Should the Bucktails not be added? They ran dozens of candidates for Congress from New York and won several elections. See here. I have no idea what the colors would be or if there should be a separate entry for their rivals, the Clintonians, though I suspect those were basically just the mainline Democratic-Republicans.
- Not done: it's not clear what changes you want to be made. Please mention the specific changes in a "change X to Y" format and provide a reliable source if appropriate. – Jonesey95 (talk) 02:46, 23 November 2024 (UTC)
Edit Request 23 November 2024
[edit]This edit request to Module:Political party/N has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This is to inform that Nationalist Congress Party has changed the color from Pacific Blue to Pink (#FFC0CB). So change the party color as soon as possible. For reference pls see the page [1]. Thank You. Brandon Perker (talk) 12:11, 23 November 2024 (UTC)
- Already done Primefac (talk) 12:40, 28 November 2024 (UTC)
References
Edit Request 26 November 2023
[edit]This edit request to Module:Political party/P has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please add Progressive Democratic Front (Andhra Pradesh) with #DB5353 456legendtalk 06:20, 26 November 2024 (UTC)
- Done Primefac (talk) 12:43, 28 November 2024 (UTC)
- Hi @Primefac, can you please add the abbreviation in the module for this party: PDF 456legendtalk 10:43, 1 December 2024 (UTC)
- Sure. Primefac (talk) 22:00, 1 December 2024 (UTC)
- Hi @Primefac, can you please add the abbreviation in the module for this party: PDF 456legendtalk 10:43, 1 December 2024 (UTC)
Edit request, JLKM party color
[edit]JLKM use #7FFF00 color (not #E3F899) in their party flag. Ritwik Mahatat@lk 20:46, 26 November 2024 (UTC)
- @Ahecht Ritwik Mahatat@lk 06:27, 27 November 2024 (UTC)
- @RITWIK MAHATA https://jlkmparty.org/ uses #007236 and #0d5a30 . I don't see #7FFF00 anywhere. --Ahecht (TALK
PAGE) 15:04, 27 November 2024 (UTC)- See their party flag. Ritwik Mahatat@lk 15:13, 27 November 2024 (UTC)
- @Primefac Ritwik Mahatat@lk 13:12, 28 November 2024 (UTC)
- @Ahecht
- Here Ritwik Mahatat@lk 19:31, 29 November 2024 (UTC)
- @RITWIK MAHATA That's not the flag they're currently using on their website. --Ahecht (TALK
PAGE) 05:58, 30 November 2024 (UTC)- See partywise result section of Election Commission of India. Ritwik Mahatat@lk 07:00, 30 November 2024 (UTC)
- @RITWIK MAHATA That's not the flag they're currently using on their website. --Ahecht (TALK
- See their party flag. Ritwik Mahatat@lk 15:13, 27 November 2024 (UTC)
- @RITWIK MAHATA https://jlkmparty.org/ uses #007236 and #0d5a30 . I don't see #7FFF00 anywhere. --Ahecht (TALK
Extended-confirmed-protected edit request on 27 November 2024
[edit]This edit request to Module:Political party/A has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Aontú (Ireland) Colour should be reverted to 47532F. Along with all other edits to the colours of Irish political parties. Dyflinn (talk) 22:27, 27 November 2024 (UTC)
- Already done Primefac (talk) 12:44, 28 November 2024 (UTC)
Extended-confirmed-protected edit request on 29 November 2024
[edit]It is requested that an edit be made to the extended-confirmed-protected module at Module:Political party/T. (edit · history · last · links · transclusion count · protection log) This template must be followed by a complete and specific description of the request, that is, specify what text should be removed and a verbatim copy of the text that should replace it. "Please change X" is not acceptable and will be rejected; the request must be of the form "please change X to Y".
The edit may be made by any extended confirmed user. Remember to change the |
37.76.20.78 (talk) 19:41, 29 November 2024 (UTC)
Tisza Party #ED4551 > #112866
For languages not using latin
[edit]Hi, I am trying to do Module:Political party/ submodules in cyrillic. How to do that? Enkhsaihan2005 (talk) 08:25, 3 December 2024 (UTC)
- How to code Module:Political party that it requires cyrillic submodules Enkhsaihan2005 (talk) 08:28, 3 December 2024 (UTC)
- This module is split into submodules based on the letters of the alphabet, if only because having one module with all of the parties would just be too massive. I suspect you could do something similar for Cyrillic, i.e. have one submodule for each letter that a party starts with. Everything else should follow the same rules from there. Primefac (talk) 12:41, 3 December 2024 (UTC)
- The problem is in cyrillic it doesn't work Enkhsaihan2005 (talk) 20:20, 4 December 2024 (UTC)
- What isn't working? Primefac (talk) 12:50, 5 December 2024 (UTC)
- I have to put every political party into Module:Political party/1 because it wants only latin letters (for example I created Module:Political party/В etc and it isn't working) Enkhsaihan2005 (talk) 14:37, 7 December 2024 (UTC)
- Interesting. I am surprised
getFirstLetter(party)
only works for Latin, but if that is the case then I do not know how to get around that issue. I have cross-posted to a few other places, hopefully someone that knows will be able to help. Primefac (talk) 14:54, 8 December 2024 (UTC)- Change line 18 to:
if mw.ustring.match(index, '%A') then
string.match()
works on bytes, not unicode characters.- —Trappist the monk (talk) 15:11, 8 December 2024 (UTC)
- Actually, all of the string functions should be replaced, like this. If that is not done, the module will fail to fetch color data. Snævar (talk) 18:17, 8 December 2024 (UTC)
- Yeah, sort of.
return string.upper(index)
– certainly; I missed that onetext = text:match('(%S.-)%s*$')
– this just trims leading/trailing ascii whitespace ("\t\r\n\f\v
")if out_type == 'color' and string.find(return_value, '#') then
–#
is an ascii characterreturn_value = string.gsub(return_value, '#', '#')
–#
is an ascii character
- For those latter three, no need for the slower mw.ustring functions.
- —Trappist the monk (talk) 19:08, 8 December 2024 (UTC)
- Yeah, sort of.
- Actually, all of the string functions should be replaced, like this. If that is not done, the module will fail to fetch color data. Snævar (talk) 18:17, 8 December 2024 (UTC)
- Change line 18 to:
- Interesting. I am surprised
- I have to put every political party into Module:Political party/1 because it wants only latin letters (for example I created Module:Political party/В etc and it isn't working) Enkhsaihan2005 (talk) 14:37, 7 December 2024 (UTC)
- What isn't working? Primefac (talk) 12:50, 5 December 2024 (UTC)
- The problem is in cyrillic it doesn't work Enkhsaihan2005 (talk) 20:20, 4 December 2024 (UTC)
- This module is split into submodules based on the letters of the alphabet, if only because having one module with all of the parties would just be too massive. I suspect you could do something similar for Cyrillic, i.e. have one submodule for each letter that a party starts with. Everything else should follow the same rules from there. Primefac (talk) 12:41, 3 December 2024 (UTC)
Edit request (JLKM party color)
[edit]JLKM use #7FFF00 color (not #E3F899) in their party flag. For party color see partywise result section. Ritwik Mahatat@lk 20:50, 4 December 2024 (UTC)
Democratic party (Serbia)
[edit]This module has wrong color according to the DS statue yellow on the flag has #FFF500 in RGB color space. No.cilepogača (talk) 21:35, 16 December 2024 (UTC)
Request
[edit]I have a request for the Hellenic political party Voice of Reason. The color of the party used on the module, is actually the secondary color. As you could see from a) most of the presentations by media, b) the main color at the party's website, and the main color at the emblem of the party (the letters of the party's name), dark blue (#020C6A) is the main color, and not the light blue. Could somebody update it? Greek Rebel (talk) 12:22, 20 December 2024 (UTC)
- @Greek Rebel: Fixed. Cheers, Number 57 12:32, 20 December 2024 (UTC)
- @Number 57 Thanks! Greek Rebel (talk) 12:40, 20 December 2024 (UTC)
I have fundamental issues with the whole thing
[edit]I have fundamental issues with the whole thing, because
- in most cases there are no sources for the colour, it's WP:OR
- in many cases parties are using a combination of colours and not just "the" colour
- what, generally is "the" colour of a party? The main colour used in its marketing (who defines "main")? The party colours as defined in the statutes? The colour the party is referred to in the media? The colour used (by whom?) in election result graphics?
- what happens, if several of the above are (widely) differing?
- a WP page about a specific party is not editable regarding the colour, even if blatantly wrong!
2001:A61:11A9:A601:475:5E48:DA20:B367 (talk) 10:23, 26 December 2024 (UTC)
- Speaking very generally, this module isn't strictly giving "the" colour of a political party. As you say, colours are gathered from a variety of sources; political parties aren't necessarily known for publishing acceptable hex values as part of their identity. If something seems to be blatantly wrong, it can be discussed here and potentially changed. Primefac (talk) 13:02, 27 December 2024 (UTC)
- it should be editable on the respective page, and not via a discussion on a template page! I arrived here because I wanted to change the colours of Siumut from the blatantly wrong "gold" (before 2021), but I was not able there on the page.
- And given the fact that the colours are "from a variety of sources", we either have edit wars or lengthy discussions.
- Siumut is blatantly wrong, but a lot of others are dubious at least. And I would love to see
- the sources
- and the way how someone arrived at the respective colour from the sources, so one could contest the conclusion
- 2001:A61:11A9:A601:40DF:684:A6B1:A178 (talk) 00:47, 28 December 2024 (UTC)
Request
[edit]According its new statute, ([1]) Niki changed its colors. I think an update should be happen here. The color according the statute (the statute literally gives us the colorcode) is #910048. It is also in the new logo. Could somebody change it? Hellenic Rebel (talk) 22:01, 27 December 2024 (UTC)