Jump to content

Module talk:Political party/Archive 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lowercase sigmabot III (talk | contribs) at 07:16, 1 July 2022 (Archiving 4 discussion(s) from Module talk:Political party) (bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 1Archive 2Archive 3Archive 4

How to address contrast between colours and text

A few editors have raised issues with the meta/colors potentially not being compliant with accessibility standards, and have changed the colours to match these standard. I personally feel we would be better off changing the use of these templates to ensure compliance, than changing their use. What do people think? YttriumShrew (talk) 20:00, 4 December 2021 (UTC)

Yes, agreed – /meta/colors shouldn't be used as background colours in fields with text – they're designed for empty cells or rows. Cheers, Number 57 20:09, 4 December 2021 (UTC)
Yes, accessibility should be followed. Gonnym (talk) 20:40, 4 December 2021 (UTC)

Defaults and error handling

I've combined some similar threads about error handling into this one mega-thread; hopefully this will keep similar issues together. Primefac (talk) 21:48, 12 December 2021 (UTC)

Is it possible to implement error-tracking categories?

I don't know enough Lua to make this happen, but articles like Labor Party (Hawaii) in its current state, which are showing errors like "parameter 1 should be a party name" should probably emit maintenance categories so that we can track them down and fix their problems. I'm happy to do the tracking down, I just don't know enough to make the categories happen in Lua. – Jonesey95 (talk) 17:35, 7 December 2021 (UTC)

Yes and no. We originally had them as script errors, but due to concerns that we would be flooding the script error category we scrapped that. Then, we tried putting cats straight in, but when you try to stick in Category:X in the middle of a background: <color> command, things get a little not-happy. So the short answer is yes, we can easily do it, but no one will like it, or we could try to figure out a longer way that may take a bit to figure out. Primefac (talk) 17:43, 7 December 2021 (UTC)

Allowing empty party name may be needed

I don't know how these used to display, but it appears that empty party names are currently displaying big red error messages in 400+ articles. Somewhere, an adjustment should probably be made to allow empty party name parameters more gracefully. – Jonesey95 (talk) 06:35, 12 December 2021 (UTC)

To be honest, from the looks of it, the module is working perfectly fine. 2002_Waltham_Forest_London_Borough_Council_election#Results_by_ward is an empty table. 2022_Pennsylvania_House_of_Representatives_election#District_breakdown is an almost empty half table with 2 columns that duplicate their first section (and if needed could be represented a different way). From glancing at a few more, it seems that everywhere this error appears, the table using the module should either be removed completely or sections of it. Gonnym (talk) 08:05, 12 December 2021 (UTC)
I spot-checked a half-dozen of these and I agree with Gonnym in that they are serious GIGO issues; there is zero reason to have five entirely empty tables or (as linked above) an entire "second column" of templates that are entirely blank - the Pennsylvania election page, fwiw, has over 150 entirely blank calls to {{Election box inline candidate with party link no change}}. Primefac (talk) 09:02, 12 December 2021 (UTC)
A module that is working perfectly fine, IMHO, does not emit big red error messages where there was peaceful blank space in the past. I think we can treat our readers better by being a bit more elegant than that. – Jonesey95 (talk) 20:37, 12 December 2021 (UTC)
I don't necessarily disagree with you, but if "do nothing when there is zero input" is the output for the module, how do we know when it's being used improperly and/or something needs fixing? A lot of the pages that get flagged in that search have a blank "X party gains seats in the election", which in my opinion should be fixed and not ignored. Primefac (talk) 21:51, 12 December 2021 (UTC)
Let's output a maintenance category instead of a big red error message. – Jonesey95 (talk) 00:30, 13 December 2021 (UTC)
That might cause you lint errors or something. I'm not sure how all templates that use this module invoke it. I know that some use it inside a link, while there may be others which don't. Would something like [[[[Category:Error category]]]] cause lint (or other kinds of) errors? Gonnym (talk) 01:29, 13 December 2021 (UTC)
I think I have fixed the problem in one template just by checking for |party=. If someone wants to emit a maintenance category as part of the if statement that makes a wikilink (not the one that styles the cell), it should be straightforward. – Jonesey95 (talk) 02:47, 13 December 2021 (UTC)
I was just thinking about that! Allows for use of the error message when called directly, but when put through a template it can avoid those big messy all-table errors. Primefac (talk) 08:21, 13 December 2021 (UTC)
I fixed all 400+ of these errors with edits to 20 election templates. There sure are a lot of slightly different election templates. – Jonesey95 (talk) 14:18, 13 December 2021 (UTC)
No kidding. I feel like going through my conversion edits of the (literally) hundreds of election-related templates, one would find that 90% of them could be merged somewhere (reducing down the total number of templates to maaaaaaybe 20). Primefac (talk) 14:22, 13 December 2021 (UTC)

Default color handling

I noticed that Jonesey95 was adding a white color to some parties so the error at Module:Political party#L-81 won't appear. That error should probably be removed and we should let the module just return the default color instead of adding many default values just to remove that error. That brings me to the second issue, Template:/meta/color, the previous de-facto default color, used the color white. The default colors editors are adding to this module is also white. We should either change the default color to white or place a notice to stop editors adding manual default colors as white. The current system where we use two different default colors is just wrong. Gonnym (talk) 21:14, 12 December 2021 (UTC)

I think, similar to the "no party" issue in the section above, we need to determine what we actually want when there is an error. Do we want the editor to recognise that their colour is not in the template and ask that it be updated/added, or do we want to default to "give them the default table background"? On the matter of "which colour is default", I think somewhere in the initial discussions we decided that   (which is not white/ ) was more appropriate since it is the background colour of the tables in which this module is most-often used, so if people are going to just fill in missing colour values, I think we should be using #F8F9FA. Primefac (talk) 21:55, 12 December 2021 (UTC)
The default colour shouldn't be white, as this is the actual colour of some parties. I think we discussed this previously and agreed it should be the default background colour of wikitable cells. Number 57 22:24, 12 December 2021 (UTC)
I'm fine with a default background color instead of a manual "white" value. The problem I was trying to work around was a big red error and a broken div tag when there was an entry in "local full" with an abbrev but no color. An encyclopedia should not display that sort of horrorshow to casual readers. If the module can see 'color = ""' and output a default color, that would be fine. Visibly broken div tags are undesirable, however. – Jonesey95 (talk) 00:35, 13 December 2021 (UTC)
Then for colors we probably always want to return the default color instead of an error at line 81 (or a value the user requested if no color is available, i.e. args.error) and stop adding white "default" colors. Gonnym (talk) 01:25, 13 December 2021 (UTC)

Italian political parties

Could someone please change (or remove) the shortnames for Italian Communist Party, Italian Republican Party, etc. for all parties starting with "Italian"? I do not understand why the shortname for Italian Communist Party is just "Communist Party": it should not appear like this in the infoboxes and wherever the shortname is used. The word "Italian" is in fact always associated to it, even in Italian language (one would say partito comunista italiano or PCI, but very rarely one uses just partito comunista to refer to the PCI). The same is valid for all other parties starting with "Italian". Thanks, Yakme (talk) 13:37, 22 December 2021 (UTC)

The issue here is that the shortname templates have somehow been imported incorrectly; the shortname for the Italian Communist Party was PCI, but has ended up as "Communist Party", so I've changed it back to PCI.
A wider issue with your suggestion is that shortnames that are the full names of parties with not-very-short names are a bad idea, because they don't fit in infobox rows. The whole point of shortname function is to get a name short enough to use in an infobox.
Also, you should be able to edit these templates to change it yourself, no? Cheers, Number 57 16:33, 22 December 2021 (UTC)
Unfortunately Module:Political party/I and some others are template-protected and I am not allowed to edit. Anyway: PCI is the abbreviation, not the shortname so I agree with your edit (and I would extend it to all other similar "Italian ..." parties. --Yakme (talk) 08:25, 23 December 2021 (UTC)
I've downgraded the protection to ECP. If there are any others still with template editor protection, let me know.
Just to clarify on the terminology, the terms shortname and abbreviation are not literal. 'shortname' refers to the form of the short form of a party name used in infoboxes and Election box results tables (which can be a shortened name or an abbreviation). 'abbrev' refers to the very short form of the name used in some cells of tables. Unfortunately, due to the way the module was created, we are currently stuck with putting shortnames that are abbreviations in the abbreviation field (although they will show up in infoboxes if nothing is entered in the shortname field), but there is an RfC about fixing this above. Cheers, Number 57 09:53, 23 December 2021 (UTC)
But I see that only the abbreviation of Italian Communist Party has been converted into an acronym. I don't know if the abbreviated name or the acronym is more correct in the infoboxes, but surely there should be the same treatment for all parties of a country. Currently the acronym appears only for the Italian Communist Party, the other parties use the abbreviated name.--Scia Della Cometa (talk) 10:06, 23 December 2021 (UTC)
The same treatment is not required – what matters is how the parties are known. For the UK we have names for some, abbreviations for others (e.g. Labour and SNP).
This issue seems to have arisen because Nick.mon changed all the shortname templates for Italian parties in late September (from names to abbreviations in many cases), but these changes weren't picked up by the major import done before the templates started being deleted. You need to discuss between yourselves what the best names for parties are. Number 57 12:26, 23 December 2021 (UTC)

Thanks, Number 57. I am going to restore the "full" shortname for all these parties. I do not think that having the acronym is consistent with the treatment we have currently for all the rest of the Italian parties. I will keep the acronyms in the "abbrev" entry, because they are still useful in tables etc, and very much used. I guess this thread is a good place to discuss, if Nick.mon or Scia Della Cometa have something against what I just wrote. --Yakme (talk) 12:36, 23 December 2021 (UTC)

@Yakme: I think this is a very bad idea and will make the infoboxes look awful – please do not use the full party names. I believe Nick.mon converted most of them to abbreviations in September, but the module then reversed this as it wasn't updated properly. If you use the shortname field for Italian parties, the abbrev field will not be used anywhere, because as far as I can see, no /meta/abbrev templates were created for Italian parties (as their use is quite specific). Number 57 12:49, 23 December 2021 (UTC)
The infoboxes look fine to me now. It would be much worse to have the infoboxes show a bunch of obscure acronyms, which a non-Italian or a young Italian would never understand unless he/she clicks on the link. The full names are not that long anyway, they fit well within the election infoboxes. --Yakme (talk) 12:54, 23 December 2021 (UTC)
They don't to me. Multiple infoboxes have party names over two rows instead of one. Number 57 12:55, 23 December 2021 (UTC)
And that is not an issue at all. Clarity before prettiness. --Yakme (talk) 12:56, 23 December 2021 (UTC)
It is a problem, and you have no consensus to make these changes. Number 57 12:59, 23 December 2021 (UTC)
I never said I had consensus, I was just being WP:BOLD I guess it is allowed. --Yakme (talk) 13:02, 23 December 2021 (UTC)

I changed the shortnames some months ago using abbreviations because I thought they were better than "Communist Party", "Social Movement" and so on, but I could live with those too if there's a consensus. However, at the moment the Italian Communist Party is the only one shortened with the acronym and infoboxes look awful... -- Nick.mon (talk) 13:22, 23 December 2021 (UTC)

Personally, I too prefer shortened names like Socialist Party, Liberal Party etc. than full nouns. They are clear and in many cases avoid the second line. Surely the current situation is not ok, the Italian Communist Party uses the acronym and the other parties use the abbreviated name, a correction is needed.--Scia Della Cometa (talk) 15:53, 23 December 2021 (UTC)
Why not just 'Communist', 'Socialist', 'Liberal' etc, which is the case for many parties? Number 57 17:13, 23 December 2021 (UTC)
At this point it is still not clear to me what is the real purpose of shortname, full name and abbrev. If there is an ongoing RfC about this I would wait for its result to make a decision about what to insert in shortname for these parties. I think it is quite a demanding condition to impose the one by which no party can be shown in two lines in the infoboxes. Look at 1972 Italian general election where even Christian Democracy comes in two lines: What would you do with this? Have just "Christian"? Hopefully no. The decision would then be to have "DC", but then by consistency also all other parties should be shown with their acronym (PCI, PSI, PRI etc). And here another large problem comes, i.e. that not all parties in Italy have established acronyms like PCI, PD or DC or PSI. I still think that for now the full name is not that bad in the infobox. Note also that the "shortname" is used at the end of the election infoboxes (where previous and current PM are shown for example): in this case it would be extremely weird to have something like "Communist" or "Socialist" below the PM's name. At least in Italy one would put the full party name. Probably in order to solve this one would have to use "abbrev" in the first part of the infoboxes (where the results are) and "shortname" or something else wherever one needs the full name without parentheses (like "Democratic Party" instead of "Democratic Party (Italy)"). --Yakme (talk) 17:56, 23 December 2021 (UTC)
Of course it is impossible to always write party names in one line, unless acronyms are used. I meant that it would be best to avoid writing names in two lines whenever possible. Honestly, the adjective "Italian" seems to me a bit superfluous in infoboxes. Personally I'm not even against using acronyms. The proposal of Number 57, on the other hand, seems to me difficult to apply with some parties, especially recent ones, but also with some old parties (the "Italian Socialist Party of Proletarian Unity" or the "Democratic Party of the Left", for example). Anyway the issue about the PCI acronym should be fixed.--Scia Della Cometa (talk) 19:34, 23 December 2021 (UTC)
Regarding shortname and abbrevs: shortnames are used in election infoboxes and {{Election box}}. abbrevs are used in a very limited group of templates in cells where a very short name is wanted, for example where just "Lab" (as opposed to "Labour") appears in the table here. The names are not literal, but unfortunately were taken as such during the build of this module, hence we ended up with the contents of most /meta/shortname templates in the abbrev field. The RfC above is simply proposing that the module properly matches the old /meta/ templates (/meta/shortnane to shortname and /meta/abbrev to abbrev) which would avoid all this confusion (which is exactly what I was worried would happen). Number 57 19:52, 23 December 2021 (UTC)

Social Democratic Party (Nigeria)

["Social Democratic Party (Nigeria)"] = {abbrev = "", color = "#e67819 ", shortname = "",}, Could you change the party color to #e67819, it primarily uses orange. Watercheetah99 (talk) 08:00, 30 December 2021 (UTC)

 Done Number 57 13:17, 3 January 2022 (UTC)

I've started a discussion at Template talk:NZ parlbox#Changing from text on color (shading) to two cell style which can use input from editors here. Gonnym (talk) 10:53, 30 December 2021 (UTC)

Bahujan Vikas Aaghadi

@Number 57 Would you be able to add an entry for Bahujan Vikas Aaghadi. There's an entry for "Bahujan Vikas Aghadi" (single a in Aaghadi), a redirect to the article? Thanks! — DaxServer (talk) 15:29, 5 January 2022 (UTC)

@DaxServer: Done. If you want to add the equivalent of a redirect to the correct name, you do it like this. Cheers, Number 57 15:52, 5 January 2022 (UTC)
Thanks @Number 57 :) — DaxServer (talk) 16:00, 5 January 2022 (UTC)

Party name change

Please change the name of ["Partido Demokratiko Sosyalista ng Pilipinas"] = {abbrev = "", color = "#CD5C5C", shortname = "PDSP",} to ["Philippine Democratic Socialist Party"] = {abbrev = "", color = "#CD5C5C", shortname = "PDSP",} as per name change in the said article. NewManila2000 (talk) 05:54, 8 January 2022 (UTC)

 Done The Philippine Democratic Socialist Party article says the abbreviation is PDSP and not the shortname. I've added as such. Special:Diff/1064437817DaxServer (talk) 10:04, 8 January 2022 (UTC)


Template-protected edit request on 8 January 2021

I request that

	["Liberal/Country coalition"] = "Liberal Party of Australia",
	["Liberal/National coalition"] = "Liberal Party of Australia",
	["Liberal/NCP coalition"] = "Liberal Party of Australia",

be changed to

	["Liberal/Country coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
	["Liberal/National coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},
	["Liberal/NCP coalition"] = {abbrev = "", color = "#0047AB", shortname = "",},

and moved to the main list of Module:Political party/L as full entries. These entities used to have their own colour templates, and they should still be separate entries. The Coalition is a distinct entity, and should be treated as such. The current code is causing many infoboxes (such as here) to be inaccurate, saying only the Liberals contested an election, not the Coalition. YttriumShrew (talk) 08:25, 8 January 2022 (UTC)

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. I just dropped from TPE to ECP. Primefac (talk) 15:43, 8 January 2022 (UTC) Done, see below
Oops, I edit-conflicted with Primefac and carried out the request. Elli (talk | contribs) 15:44, 8 January 2022 (UTC)
No worries, my concern was more for the drop to ECP. Primefac (talk) 15:50, 8 January 2022 (UTC)

Template-protected edit request on 8 January 2021 - UK Parliament colour

I request that the following be added:

	["Parliament of the United Kingdom"] = {abbrev = "UK Parliament", color = "#373151", shortname = "",},

to Module:Political party/P. This reflects the newest logo (at File:UK Parliament logo 2018.png) of the UK Parliament, and their wider new visual brand, that has been in use since 2018. There are already party colours for the House of Commons, House of Lords etc, so I don't foresee this being an issue. PointUnderstander (talk) 15:40, 8 January 2022 (UTC)

Genuinely curious, PointUnderstander, but when would "Parliament of the United Kingdom" be used as a parameter for any template that calls this module? Primefac (talk) 15:48, 8 January 2022 (UTC)
House of Commons of the United Kingdom calls this module for the background colour on its infobox, as does House of Lords of the United Kingdom. I'm trying to make it so Parliament of the United Kingdom does the same. I am relatively new to Wikipedia editing, so if there's something I've got wrong here I'm happy to be corrected. PointUnderstander (talk) 15:51, 8 January 2022 (UTC)
 Partly done: That's a shortname, not an abbrev, but otherwise it's done. Primefac (talk) 15:57, 8 January 2022 (UTC)
Excellent, many thanks! PointUnderstander (talk) 15:59, 8 January 2022 (UTC)

Template protection

/D is still template-protected. In addition, /Q and /X are unprotected, while /Y, /Z, and /1 are semi-protected. All other subpages are ECPed.

Please ping me after downgrading the protection of /D, I'd like to edit it.

Streded (talk) 05:28, 9 January 2022 (UTC)

 Done. Primefac (talk) 19:32, 9 January 2022 (UTC)

RfC on the shortname issue

Should what was in the meta/shortname templates be moved into the shortname field in this module, or is the placement of the content of /meta/shortname templates into the abbrev field appropriate in cases when the shortnames are an abbreviation? Number 57 19:59, 4 December 2021 (UTC)

Background to this RfC: As part of the merge of the colour, shortname and abbr/abbrev templates into this module that was decided by this TfD, three fields were created in the module – one for each. shortname templates were used to display short versions of party names in infoboxes and some results tables. abbrev templates were used to display a very short version of party names in some types of tables.

In the process of creating the module, the contents of many of the shortname templates have been moved into the abbrev field because the terms 'short name' and 'abbreviation' have been taken literally – so party shortnames like PSOE, SPD, SNP are now in the abbrev field. A significant number (possibly the majority) of shortname templates were in this format, so have been moved.

While this currently does not have much impact (as any a call on the module for a shortname gets diverted to the abbrev field if no shortname exists), if people start to fill in alternative shortnames, they will appear ahead of the abbreviated forms. When copying across a shortname template that was missed during the module creation process to the shortname field, it was subsequently moved into the abbrev field.

This change was not agreed at the TfD, so I believe needs discussion to ensure there is consensus for this. Cheers, Number 57 19:59, 4 December 2021 (UTC)

Survey

  • Comment I would personally prefer that there be only one "shortname" field. Having two different fields seems like unnecessary complication, and there are many case where the line between an abbreviation and a shortening is quite blurry. YttriumShrew (talk) 20:04, 4 December 2021 (UTC)
    • I would have no objection to this; however, a small number of templates may need to be redesigned as they call abbrev templates that were very short – for instance, the coalition column of this table called the abbrev templates for Danish parties, which were only one or two letters (Template:Social Democrats (Denmark)/meta/abbr was just "S" as opposed to "Social Democrats", which is the party shortname). Currently the table is using the shortname equivalents (because the Danish abbrev templates were missed when the module was created), which is why it looks a bit busy. Number 57 20:20, 4 December 2021 (UTC)
  • While there are relatively few entries which use both an abbreviation and a short name, which might suggest that there is no need for both, I could see potential for having both uses. However as the usage is currently low, I'm not completely opposed to merging the values if that is the result of this RfC (but note that there are entries that use both and choices will need to be made). If on the other hand both fields are kept, I am opposed to placing abbreviations into the short name field. A simple use-case to illustrate why that is a very bad design. "User A" adds a "shortname" value for "Democratic Socialist Party (Ireland)" which is "DSP", then "User B" wants to add "Democratic Socialist" to the same value. Which value should we now use? User B here is correct to expect a short name in the shortname field and not the "DSP" abbreviation. (Democratic Socialist Party (Ireland) is an actual example of a party that uses both). — Preceding unsigned comment added by Gonnym (talkcontribs) 20:38, 4 December 2021 (UTC)
    • As we've discussed, I don't think the situation you describe is an accurate representation of the issue at hand. If a party is listed in {{Infobox election}}, this uses the shortname, so users do not get to decide which of shortname or abbrev fields to use. If there is a disagreement about what the shortname should be, a discussion would be held to resolve the situation, just as there was a discussion at Template talk:Scottish National Party/meta/shortname that resulted in the decision to use SNP. Number 57 21:00, 4 December 2021 (UTC)
      • Actually, you could code the infobox to ask for it, just as there are now options to either link or not link a party. Granted, I don't think we need to go to that extreme, but just because users cannot do something right now does not mean they will never be able to in the future. Primefac (talk) 21:35, 4 December 2021 (UTC)
        • I believe the main point of the shortname templates is to ensure consistent use of party names between articles (as otherwise we could have simply got rid of them altogether and just replaced them with links), so while this could work on a technical level, I don't think it's the solution for this particular issue. Number 57 22:06, 4 December 2021 (UTC)
          As I've said before, if the issue is with a specific template, in this case, Infobox election, then it should be fixed. A possible fix could be a manual override field and then the editor can request the abbr value. Gonnym (talk) 00:12, 5 December 2021 (UTC)
          This is backwards; the infobox and templates don't need fixing – the module does. Before the module was created, we had a set of templates that were used to decide how party names appeared in infoboxes, which was a mix of "Labour" and "SNP". These templates just happened to have the name "shortname"; this was not a literal description. The module should provide the same information to the infoboxes and tables that the meta templates did. Number 57 00:28, 5 December 2021 (UTC)
          As someone who looked at the code of over a dozen of election templates, I can certainly say that a lot of them were sub-par and needed fixing as was the previous system as a whole. I disagree with your rational and your suggested fix. Seeing as you are now just repeating the same arguments, lets wait for other editors. Gonnym (talk) 00:38, 5 December 2021 (UTC)
  • Comment: I don't think the RFC question makes sense as written, so I don't know how to respond to it, but since we are in the middle of this process, I think it makes the most sense to migrate everything across in parallel (abbr to abbrev, shortname to shortname). Once the modules are done being migrated, misplaced abbreviations can be straightened out as needed. The process is confusing enough without additional and unnecessary complications being added. – Jonesey95 (talk) 06:27, 5 December 2021 (UTC)
  • Agree with Jonesey95 - Keep both to ease the transition to the module. Newystats (talk) 22:50, 16 December 2021 (UTC)
  • Also agree with Jonesey95, but I think that the desirable situation – now that the migration is completed AFAIK – is the one where abbreviations like acronyms are in abbrev and "shortened" names (in words) are in shortname. Partly unrelated to this: I also think we need a parameter "fullname", because in some cases like Democratic Party (US) where there are DAB parentheses, it is useful to have a command that returns the full name without parentheses, also for usage in some parts of infoboxes. Hopefully it might be that this can be done automatically by a script in WP, without having to add by hand all "fullname" parameters for all parties. --Yakme (talk) 10:58, 25 December 2021 (UTC)
    I think some tweaking of the code could allow for automatic removal of disambiguators such as (political party), as I do agree there are a fair number of "shortnames" that are just the full name minus that dab. Primefac (talk) 16:28, 25 December 2021 (UTC)
    Removal of the dab is very simple. Gonnym (talk) 16:32, 25 December 2021 (UTC)
  • I also agree with Jonsey95 – everything should have been migrated across in parallel. Number 57 13:16, 3 January 2022 (UTC)
  • Words need to mean something. If the value is an abbreviation, it should be in abbrev. If it's a short(er) name it should be in shortname. At the moment the module is set up so that if either abbrev or shortname are empty, it looks at for the other value. This was specifically done for "shortnames" that were actually abbreviations in the old system. For example, the Scottish National Party doesn't have a short name, being referred to by its abbreviation "SNP"; since there is no shortname the module will pass along the abbreviation even if shortname is requested. If someone tries to put shortname="ScotNat" or something similarly silly their change will be reverted as improper.
    Going through the thousands of entries in the 27 different submodules and debating "was this a shortname or an abbrev in the old system?" is a waste of everyone's time, because the new system works and there is zero reason to muck about with it. Primefac (talk) 14:51, 3 January 2022 (UTC)
    Also, as a thought on Number 57's agreement with Jonesey95 - I don't think you're agreeing with what you think you're agreeing. Jonesey95 says Once the modules are done being migrated, misplaced abbreviations can be straightened out as needed which to me means "if a /meta/shortname contains an abbreviation, we can move it to an abbrev field later". That has already been done (and was pretty much done when the RFC was proposed). Primefac (talk) 14:54, 3 January 2022 (UTC)
    I feel like I have said this a hundred times already, but the terms 'shortname' and 'abbrev' should not have been taken literally – they were never meant as such. If the naming of them is an issue, they can simply be renamed something meaningless like 'name1' (for what used to be the shortname templates) and 'name2' (for what used to be the abbrev templates).
    As for Jonesey's comments, I think they are saying that the module should first reflect what was in the templates, and then the community can make a decision on what to do which will have proper consensus, rather than the unilateral action that was taken (despite me explicitly requesting that it not be). I also don't think it will be that much work – given how few abbrev templates there were, I think we can safely assume that all cases where there is only one entry in the abbrev or shortname fields, that it came from a shortname template. Number 57 17:05, 3 January 2022 (UTC)
    Inasmuch as you've said your phrase a hundred times, Gonnym have said our piece the same number. When it comes down to it, I'm not trying to convince you, because you've already made up your mind and clearly are not going to change it. I am stating this here and now a) because I realised I had not actually !voted in this RFC, and b) to explain to others why I feel the way I do. It's them I am attempting to convince.
    Just because people had hack-and-slashed a terrible system in such a way that nothing meant anything when it was in use doesn't mean that we cannot fix that with this new system - I have already seen a dozen or so election-related templates at TFD that were either merged or deleted as unnecessary, and I suspect there will be more before the dust settles. "This is the way it has always been done" is not a reason to keep things the same, nor is "the old system was broken but it worked". Primefac (talk) 17:27, 3 January 2022 (UTC)
    There was nothing broken though. The templates were used to display a version of a party name that was suitable for infoboxes and tables; there was never a requirement that they had to be an actual short name or an abbreviation – whatever was most appropriate for the party was used. The major issue here is that you introduced a unilateral change that potentially has significant ramifications further down the line, and that change needs to be reversed if there is no consensus for it (which there clearly isn't). Number 57 17:38, 3 January 2022 (UTC)

Discussion

Number 57, I have no issue with you notifying relevant WikiProjects and templates, but could you please modify your notice to not make it sound like we're deleting those abbreviations? Primefac (talk) 20:12, 4 December 2021 (UTC)

  • I can't see how it reads like the abbreviations are being deleted. What part of the notification is the issue?
  • Separately, I noticed that you have deleted abbr templates that were missed when the import was done (like the {{Social Democrats (Denmark)/meta/abbr}} one mentioned above). I found quite a few shortname and color templates that had been missed during the import process in the last few days – were any checks done to make sure the contents of templates had been imported before they were deleted? Number 57 20:23, 4 December 2021 (UTC)
    The sentence starting with "However" could be read as "this information is no longer available". Regarding the abbr templates, we decided way at the beginning of this process that if a /meta/ template wasn't being transcluded, it did not need to be carried over into the module (it could always be re-added later). Thus, I did a check of the templates to ensure that none of them were transcluded before they were deleted. Primefac (talk) 20:35, 4 December 2021 (UTC)
    Don't really see it that way, but I've amended it anyway. Re the checking, the Social Democrats abbr template was being transcluded at List of prime ministers of Denmark amongst other articles, because that article uses {{Officeholder table coalition}}, which used /meta/abbr until it was converted to use the module. So either it was missed during the check, or the check was done after the conversion had taken place, so the template was already looking at the module rather than the /meta/ template. Number 57 20:54, 4 December 2021 (UTC)
    This is a stonkingly huge module, and I've deleted almost 10k templates this week following hundreds of updating edits and hundreds of null edits to clear out the server caches (and I've got probably 15k to go before the /color variants are done). So to be completely honest, the probability of missing a few names is likely to be fairly large.
    I've said it a few times, though: if there's something missing it should be added to the module. I might be comfortable with the template and coding and familiar with its inner workings, but you are clearly more familiar with the content and the parties that are still lacking. Primefac (talk) 21:45, 4 December 2021 (UTC)
    What is quite significant is that the run does not appear to have picked up any /meta/shortname templates where there was not an equivalent /meta/color template for the party – this will particularly impact alliances listed in infoboxes as there is no colour display for them. I'm guessing this cannot be resolved as the templates have all been deleted? Number 57 12:09, 6 December 2021 (UTC)
    Is your issue with the /shortname missing or the color missing? I didn't quite understand. this will particularly impact alliances listed in infoboxes as there is no colour display for them - when the color was not set, it defaults to "#F8F9FA". Gonnym (talk) 12:36, 6 December 2021 (UTC)
    That the shortnames are missing. This particularly impacts alliances as I suspect they are less likely to have a colour template alongside a shortname template, as in {{Infobox election}} the colour displayed is the colour of the party entered in the party field and there is no colour associated with the alliance field. However, like the party field, the alliance field uses the shortname templates. Number 57 12:42, 6 December 2021 (UTC)
    Can you give an example of an alliance template that didn't get picked up and for which the output is now different? Gonnym (talk) 12:50, 6 December 2021 (UTC)
    There's no difference between alliance and party templates as such – I'm saying it is just more likely that ones for alliances will have been missed because they were less likely to have associated colour templates. The ones with shortname and no associated colour templates that I've spotted so far include:
    Number 57 13:02, 6 December 2021 (UTC)

Another related issue – when parties have been renamed, this has usually resulted in a new shortname template being created for the new name and the color template being moved, leaving a redirect, so a party ends up with two shortname templates (for their former and current names) and one colour template. However, the module has picked up these /meta/color-based redirects and then pointed the incoming request to the current name of the party, meaning that a template looking for a shortname of the old name is pointed to the current name, leading to incorrect party names appearing.

This again appears to be an issue with shortname templates with no colour equivalent not being imported. Are they actually in the list that was used to create the module (and were stripped out), or were they missed from the list? Given that they have been deleted, I hope potentially it's the former (and so this can be fixed) rather than the latter (in which case I wonder how they were identified to be deleted?). Cheers, Number 57 17:37, 6 December 2021 (UTC)

There were, surprisingly, some parties that had shortnames but no colour when the initial importing was done. Primefac (talk) 11:36, 7 December 2021 (UTC)
I don't know if this edit is related to the above discussion, but Primebot replaced a template without the module being properly updated with the party's color. I imagine it is not the only instance of this error; it looks like something needs to be fixed with the template replacement workflow to ensure that colors exist in the modules before the bot replaces the corresponding template. No rest for the brave template migrator.... – Jonesey95 (talk) 15:57, 7 December 2021 (UTC)
It was a duplicate entry issue, actually, not a "missing info" issue. Inasmuch as I tried to make sure such things didn't happen, there are a LOT of names in here and it's easy to have your eyes glaze over as you check (even with Excel/Sheets-assisted checks). Primefac (talk) 16:03, 7 December 2021 (UTC)
I have copied all of the "full local" sections to a text editor and performed some duplicate detection. I found and merged about ten duplicates, all of the ones that I could find. – Jonesey95 (talk) 17:37, 8 December 2021 (UTC)



Jersey Liberal Conservatives (Jersey)

["Jersey Liberal Conservatives"] = {abbrev = "JLC", color = "#3741F0", shortname = "",} Jersey563 (talk) 23:07, 11 January 2022 (UTC)

Jersey563, you're welcome to add content yourself, as you are Extended Confirmed. Primefac (talk) 08:56, 12 January 2022 (UTC)

Singapore political party templates

If anyone is interested in expanding the reach of this module's Borg-like hive, Category:Singapore political party name templates has about 60 templates, most with fewer than five transclusions. They might have to be run through a TFD/merge discussion unless someone is feeling particularly bold. – Jonesey95 (talk) 19:47, 10 January 2022 (UTC)

Category:Taiwan political party name templates (25 templates) and Category:Mexico political party name templates (17 templates) are also available. – Jonesey95 (talk) 19:51, 10 January 2022 (UTC)
Nothing like completely failing MOS:ICON... I do agree they fall under the general purview of the /meta/shortname discussion, but I also agree that it's probably better to send them for a semi-procedural TFD. Primefac (talk) 15:08, 11 January 2022 (UTC)
I've added a few more that I found, and I agree that those should all go. Gonnym (talk) 14:11, 14 January 2022 (UTC)

Full and alternate in two subpages

The Trinamool Congress is now the page name with the redirect All India Trinamool Congress becoming the alternate. Does the alternate set in /T works or should they be set as full in both /A and /T ? — DaxServer (talk) 10:07, 16 January 2022 (UTC)

If "All India Trinamool Congress" is now an alternate, then its values will need to be migrated to /T (and the name changed to "Trinamool Congress") and the /A version converted into an alternate (similar to "AITC"). If you need a hand with that implementation let me know. Primefac (talk) 10:14, 16 January 2022 (UTC)
Thanks @Primefac, I made the edits, hopefully correct: Special:Diff/1066003763 and Special:Diff/1066003889. However, the alternate now does not show up Special:Permalink/1066004156. Did I get something wrong? Should I put the "A" alternatives in /A while the full name in /T ? — DaxServer (talk) 10:35, 16 January 2022 (UTC)
Damn, yes. Correcting... — DaxServer (talk) 10:37, 16 January 2022 (UTC)
Looks good now. Primefac (talk) 10:45, 16 January 2022 (UTC)

Template-protected edit request on 9 January 2022 (for letter W)

I would like to create a page on the template - Template:Welsh Liberal Party/meta/color with the template colour to be the same as the Liberal Party (UK) - #ffd700

Alternatively a redirect so that the Liberal Party template colour is imported? Benawu2 (talk) 11:30, 9 January 2022 (UTC)

Your changes of election templates from "Labour Party (UK)" to "Welsh Labour", "Conservative Party (UK)" to "Welsh Conservatives" etc etc are completely unnecessary. UK elections are fought on a UK-wide basis. The idea that people like Ian Grist or James Callaghan (or even people who lost seats in Wales, like David Tredinnick or Bryan Davies) should be thought of as "Welsh Conservative" or "Welsh Labour" rather than UK-wide politicians is plain wrong. You seem to have unilaterally changed about 10 Welsh constituency pages like this (nowhere near all of them), without even creating the "Welsh Liberal Party" template. They really should all be changed back to the UK-wide template.88.106.240.100 (talk) 12:03, 9 January 2022 (UTC)
I disagree (obviously) the delineaton of Welsh specific parties is a more accurate reflection of the organisational nature of election campaigns and parties. If it is acceptable to delineate between UK Labour and Labour Co-Operative, as has been the case on wikipedia for years and which I support then it is acceptable to do the rest which have their own websites etc. Hence my request which merely reflects the historical truth. The Welsh Liberal Party obviously no longer exists hence making it an even easier change. Agreed it may all be trivial but I am interested enough to pursue it, as I have. Benawu2 (talk) 14:17, 9 January 2022 (UTC)
 Not done for now: please establish a consensus for this alteration before using the {{edit extended-protected}} template. Sounds like there is some opposition to this. Primefac (talk) 19:33, 9 January 2022 (UTC)
The disagreement seems to be about the edits not the inclusion in the party colour template. Not sure how to go about seeking consensus about the party colour template. Have dropped a comment on the Welsh Liberal Party talk page but not sure what else to do? Benawu2 (talk) 23:18, 9 January 2022 (UTC)
 Not done for now: please establish a consensus for this alteration before using the {{edit extended-protected}} template. Does not appear there is a consensus for this change. ScottishFinnishRadish (talk) 11:51, 19 January 2022 (UTC)

Hello

Can you add this color code for the party: ["Katipunan ng Nagkakaisang Pilipino"] = {abbrev = "KANP", color = "#008080", shortname = "",}. Thanks. NewManila2000 (talk) 23:18, 19 January 2022 (UTC)

NewManila2000, you should be able to add it yourself. Primefac (talk) 11:52, 20 January 2022 (UTC)

It's okay. A user recently added a color code for the said party, #40E0D0. Thanks. NewManila2000 (talk) 04:18, 21 January 2022 (UTC)

Philippine political parties

  • ["Otso Diretso"] = {abbrev = "", color = "#ffff00 ", shortname = "Otso Diretso",},
  • ["Lapian ng Masang Pilipino"] = {abbrev = "", color = "#FF8C00", shortname = "LAMP",},
  • ["Aksyon Demokratiko"] = {abbrev = "", color = "#9683ec", shortname = "Aksyon",},
  • ["PDP–Laban"] = {abbrev = "", color = "#ffd700", shortname = "PDP–Laban",},
  • ["Partido Demokratiko Pilipino-Lakas ng Bayan"] = {abbrev = "", color = "#ffd700", shortname = "PDP–Laban",},
  • ["Partido Demokratiko Pilipino–Lakas ng Bayan"] = {abbrev = "", color = "#ffd700", shortname = "PDP–Laban",},

These should do for now. I also have an ongoing project on an overhaul on changes for Philippine party colors as used in Wikipedia here. Howard the Duck (talk) 16:55, 15 December 2021 (UTC)

The same name shouldn't be used for "shortname" and "abbrev". Gonnym (talk) 17:19, 15 December 2021 (UTC)
Ditch the abbrev then I guess? Howard the Duck (talk) 18:01, 15 December 2021 (UTC)

Some more:

  • ["Liberal Party (Philippines)"] = {abbrev = "LP", color = "#f0e68c", shortname = "Liberal",},
  • ["Nacionalista Party"] = {abbrev = "NP", color = "#98fb98", shortname = "Nacionalista",},
  • ["Democratic Alliance (Philippines)"] = {abbrev = "DA", color = "#DC143C", shortname = "Democratic Alliance",},
  • ["Democratic Party (Philippines)"] = {abbrev = "DP", color = "#1E90FF", shortname = "Democratic",},

Howard the Duck (talk) 18:14, 15 December 2021 (UTC)

One more:

  • ["Akbayan Citizens' Action Party"] = {abbrev = "AKB", color = "#FE0000", shortname = "Akbayan",},

Howard the Duck (talk) 21:21, 22 December 2021 (UTC)

Addition:

  • ["Lakas Kampi CMD"] = {abbrev = "LKS-KAM", color = "#b0e0e6", shortname = "Lakas–Kampi",},
    • This redirects to Lakas-CMD.
  • ["Lakas-Kampi-CMD"] = {abbrev = "LKS-KAM", color = "#b0e0e6", shortname = "Lakas–Kampi",},
    • This redirects to Lakas-CMD.
  • ["Lakas-Kampi"] = {abbrev = "LKS-KAM", color = "#b0e0e6", shortname = "Lakas–Kampi",},
    • This redirects to Lakas-CMD.
  • ["Lakas–Kampi"] = {abbrev = "LKS-KAM", color = "#b0e0e6", shortname = "Lakas–Kampi",},
    • This redirects to Lakas-CMD.
  • ["Lakas-CMD"] = {abbrev = "", color = "#b0e0e6", shortname = "Lakas",},
    • This should be for elections post-2011.
  • ["Lakas-CMD (1991)"] = {abbrev = "Lakas", color = "#b0e0e6", shortname = "Lakas",},
  • ["Lakas-NUCD"] = {abbrev = "", color = "#b0e0e6", shortname = "Lakas",},
    • This redirects to Lakas-CMD (1991).
  • ["Lakas-NUCD-UMDP"] = {abbrev = "", color = "#b0e0e6", shortname = "Lakas",},
    • This redirects to Lakas-CMD (1991).
  • ["PROMDI"] = {abbrev = "", color = "#000040", shortname = "PROMDI",},
  • ["Progressive Movement for the Devolution of Initiatives"] = {abbrev = "", color = "#000040", shortname = "PROMDI",},
  • ["Probinsya Muna Development Initiative"] = {abbrev = "", color = "#000040", shortname = "PROMDI",},

Howard the Duck (talk) 14:50, 29 December 2021 (UTC)

Some letters are still locked. It's better if these are updated together, and someone who handles these to do it to prevent screw-ups. These should be uncontroversial (no changes to hex values, short names and abbrevs). Howard the Duck (talk) 14:50, 29 December 2021 (UTC)

This involves a change in hex value but I believe the change is minor and no images/maps/diagrams will be affected.

  • ["Bangon Pilipinas Party"] = {abbrev = "", color = "#3F9727", shortname = "Bangon Pilipinas",},
  • ["Bangon Pilipinas"] = {abbrev = "", color = "#3F9727", shortname = "Bangon Pilipinas",},

Howard the Duck (talk) 15:18, 29 December 2021 (UTC)

 Done Also, if any other letters are still template editor-protected, let me know and I will change them. Number 57 13:20, 3 January 2022 (UTC)
@Number 57: Can you check if all were done? In 2016 Philippine presidential election, the color for "PDP–Laban" isn't showing up unless you hardcode it with color1, or you change it to "Partido Demokratiko Pilipino-Lakas ng Bayan." Howard the Duck (talk) 12:12, 10 January 2022 (UTC)
Sorry, I only did the Bangon Pilipinas one, as that was the one with an edit request against it. Number 57 12:16, 10 January 2022 (UTC)
Ooops. I'd imagine there are parties everywhere where - and &endash; are used interchangeably. I suppose this would also be dealt with somehow? Howard the Duck (talk) 13:14, 10 January 2022 (UTC)
Yes, you can see an example at Module:Political party/P – you effectively create a redirect from the wrong dash type to the correct one by doing: ["People's Party - Our Slovakia"] = "People's Party – Our Slovakia", Number 57 13:17, 10 January 2022 (UTC)
What's our WP:NC on dashes? Endashes, right? Howard the Duck (talk) 13:19, 10 January 2022 (UTC)
Also, the Slovakian example doesn't immediately follow. Most Philippine parties names with dashes are unspaced: PDP–Laban, Lakas–CMD. Howard the Duck (talk) 15:00, 10 January 2022 (UTC)
I don't know what the rules are, but almost all parties seem to use endashes in their names rather than hyphens. The spacing is specific to each case though (i.e. a mix of spaced and unspaced). Number 57 17:43, 10 January 2022 (UTC)

@Number 57:. so I tried doing these by myself and I screwed up. Particularly on the Lakas–CMD/Lakas–CMD (1991)/Lakas Kampi CMD thing.

  1. The original party was founded in 1991 as "Lakas ng Tao-NUCD" or Lakas-NUCD.
  2. Then was renamed into "Lakas-NUCD-UMDP" when UMDP merged to it around the mid 1990s.
  3. Then was renamed into "Lakas-CMD" for the 2004 election
  4. Then, KAMPI merged into it, and became a totally new party, becoming "Lakas Kampi CMD" (shortname Lakas-Kampi) for the 2010 electin.
  5. Then, they decided to rename back to "Lakas-CMD" after the 2010 election. This is the current name.

I'm not particularly sure on how to proceed on this. Howard the Duck (talk) 05:16, 24 January 2022 (UTC)

It looks like the reason this edit didn't work is because you are redirecting all the old names to "Lakas–CMD" and "Lakas–CMD (1991)", names with endashes, but the parties are actually listed as "Lakas-CMD (1991)" and "Lakas-CMD", with hyphens. Cheers, Number 57 12:53, 24 January 2022 (UTC)

Template-protected edit request on 1 February 2022

Add Terai Madhesh Loktantrik Party. It's shortname is TMLP and light green color suits as per the flag of the party.JayMithila (talk) 19:11, 1 February 2022 (UTC) JayMithila (talk) 19:11, 1 February 2022 (UTC)

 Done Primefac (talk) 20:20, 1 February 2022 (UTC)

Extended-confirmed-protected edit request on 2 February 2022

["Citizens' Liberation Party"] = {abbrev = "", color = "#002387", shortname = "Liberation Party",}

Add Citizens' Liberation Party with short name Liberation party. Color is #002387 as per party flag. JayMithila (talk) 15:45, 2 February 2022 (UTC)

 Done Primefac (talk) 12:34, 3 February 2022 (UTC)
@Primefac: please recheck and verify at Citizens' Liberation Party, itsn't done yet.202.51.76.38 (talk)
Technically yes, but I added it to the wrong section. Fixed now. Primefac (talk) 13:33, 3 February 2022 (UTC)

Yesh Atid's color

["Yesh Atid"] = {color = "#F28A2B"},

The largest party in the current Israeli governing coalition Yesh Atid has two official colors:  dark blue and   orange. The former (current template color) is indistinguishable from Yesh Atid's main rival Likud's   branding color.

The current Knesset is filled with parties brands themselves with different shades of blue. Considering Yesh Atid's centrist/social liberal ideology, which internationally usually corresponds with yellow/orange, changing Yesh Atid's template color from the generic dark blue to orange would increase intelligibility. — Preceding unsigned comment added by 沁水湾 (talkcontribs) 09:08, 13 February 2022 (UTC)

Irish Labour Party and Labour Party (Ireland)

This party operates in the Republic of Ireland, where it is known as the Labour Party, which can be helpfully shortened to "Labour". Historically, it sometimes ran candidates in Northern Ireland, where it was in competition with the Northern Ireland Labour Party, which would be the party referred to as "Labour" there, and in some UK-wide tables it also appears alongside the British Labour Party. To avoid confusion, in these Northern Irish contexts, it is referred to as the Irish Labour Party, and has "Irish Labour" as a shortname. However, it is inappropriate to use "Irish Labour" in the Republic of Ireland articles, as that doesn't reflect usage. This all worked fine using the old templates and I've fixed these modules to allow it, but my edit was reverted. It needs to be corrected so that the shortnames are appropriate. Warofdreams talk 18:58, 26 January 2022 (UTC)

Just so I'm clear on it, there is a single party that went by different designations depending on where they were running? Primefac (talk) 19:07, 26 January 2022 (UTC)
Could you please link to the articles of the parties you refer to. That would help better understand the differences between them. Gonnym (talk) 23:02, 26 January 2022 (UTC)
It's the same party (Labour Party (Ireland)); the issue is that it is known by one name in the Republic of Ireland and another in Northern Ireland, so needs two different shortnames. This can be achieved by doing this, but the edit was reverted, presumably because it was not understood why it was being done. Number 57 23:41, 26 January 2022 (UTC)
That piece of information should really be added to the lead of that article as it seems pretty important. Gonnym (talk) 10:31, 27 January 2022 (UTC)
I don't think it should be in the lead, it was only a minor party in Northern Ireland, and hasn't operated there for many years. It's mentioned in the relevant section of the article. Warofdreams talk 21:57, 27 January 2022 (UTC)
If it's mentioned in the relevant section of the related articles, why does it need to be differentiated like this? Primefac (talk) 08:08, 28 January 2022 (UTC)
Based on what Warofdreams said above, there are cases where both the Labour Party (Ireland) and Labour Party (UK) compete in elections in Northern Ireland; as the latter is listed there as 'Labour', the Irish cannot also be listed as such. Number 57 12:00, 28 January 2022 (UTC)
Should we not in those elections be calling |party=Northern Ireland Labour Party, which gives "NI Labour"? To echo Gonnym, this is why links to specific articles is helpful - if something is being done in a sub-optimal way, it should be fixed. We're still not yet clear on whether that location is "in the article" or "in the module". Primefac (talk) 12:56, 28 January 2022 (UTC)
Northern Ireland Labour Party is a separate party to the two mentioned above. I think what Warofdreams did is the optimal solution here. Number 57 15:18, 28 January 2022 (UTC)
So we have three parties, four potential names, and zero examples of how they should be used/split. Primefac (talk) 15:28, 28 January 2022 (UTC)
What more information do you need here? The NILP and (British) Labour Party are distinct parties and their use is clear. I've already set out how the (Irish) Labour Party can helpfully be described, and the different name it used in Northern Ireland is covered in its article. I understand that the situation is complex, but it is all laid out. Warofdreams talk 23:12, 7 February 2022 (UTC)
I think the situation is perfectly clear and would suggest you reinstate the edit as it does seem to be the only solution here. Number 57 23:23, 7 February 2022 (UTC)
What more information do you need here - well, I did say zero examples of how they should be used/split, implying that I would like at least one. Primefac (talk) 08:20, 8 February 2022 (UTC)
I'm not sure that I understand, do you mean you cannot understand the above and need a specific example? In 2020 Irish general election, the party's shortname should be "Labour", as that is how they are known, and there is no scope for confusion. In 1958 Northern Ireland general election, the party's shortname should be "Irish Labour", as that is how they were known, and the leading Labour party there was the Northern Ireland Labour Party (helpfully shown as "NI Labour"). Similarly, in 1951 United Kingdom general election, the Irish party should appear as "Irish Labour", which distinguishes it from the British Labour Party, known as "Labour" in Britain. Warofdreams talk 23:25, 10 February 2022 (UTC)
Yes, I wanted examples; if they really need to be distinguished that way, and this is the only way to do so, then I suppose we should do it. Primefac (talk) 09:05, 11 February 2022 (UTC)
Great, thank you. I'll make the change. Warofdreams talk 22:21, 25 February 2022 (UTC)

Indian Political Party

  • ["Krishikar Lok Party"] = {abbrev = "", color = "", shortname = "KLP",}
  • ["Tamil Nadu Muslim Munnetra Kazagham"] = {abbrev = "", color = "black", shortname = "",}

- IJohnKennadytalk 07:30, 15 February 2022 (UTC)

 Done Both entries exist. Added KLP as abbr and black to TMMK — DaxServer (t · c) 09:35, 15 February 2022 (UTC)


  • ["Akhil Bharat Hindu Mahasabha"] = {abbrev = "", color = "#FF9933", shortname = "",}

Note: both are same

  • ["Tamil Nadu Toilers' Party"]={abbrev = "", color = "Tomato", shortname = "TTP",},
 Done-IJohnKennadytalk 07:26, 26 February 2022 (UTC)

This below list redirect to All India Anna Dravida Munnetra Kazhagam

  • ["All India Anna Dravida Munnetra Kazhagam (Jayalalithaa Faction)"] = {abbrev = "AIADMK (JL)", color = "#007500", shortname = "",},
  • ["All India Anna Dravida Munnetra Kazhagam (Janaki Faction)"] = {abbrev = "AIADMK (JR)", color = "#007500", shortname = "",},

e-g: {{Election box winning candidate with party link| |candidate=xxx |party=All India Anna Dravida Munnetra Kazhagam (Jayalalithaa Faction) |votes=0 |percentage= |change= }}


--IJohnKennadytalk 05:54, 16 February 2022 (UTC)

Australian political parties

The infobox at 1921 Victorian state election has party3 = Victorian Farmers' Union, links to the correct article, however instead of the correct shortname "Victorian Farmers" it shows as National. I understand the error is caused by this module, but I am unsure how to fix this. --Find bruce (talk) 03:03, 27 February 2022 (UTC)

@Find bruce: Fixed. The issue occurred because {{Victorian Farmers' Union/meta/color}} was a redirect to {{National Party of Australia/meta/color}}. Unfortunately, when this module was implemented, it was done primarily on the basis of the contents of the /meta/color templates; if the /meta/color template was a redirect, the module was set up with the incoming request for the party as a redirect to the party the /meta/color template was pointing at (regardless of whether there was a separate /meta/shortname template that was not a direct); hence the incoming shortname request for Victorian Farmers' Union also ended up being pointing to the National Party's details.
If you find any other examples like this, you can fix it like this (i.e. by removing the 'redirect' function for the party, and adding them in as their own row). Cheers, Number 57 17:56, 28 February 2022 (UTC)

People's Redemption Party

["People's Redemption Party"] = {abbrev = "", color = "#ed3136 ", shortname = "", Could you change the party color to #ed3136, it primarily uses red. Watercheetah99 (talk) 05:48, 1 March 2022 (UTC)

Colour change!

The Communist Party of Nepal (Unified Marxist–Leninist) has changed its logo, flag since it's split. Hence colour has changed. So, please change the party colour to #FF2222. This is the most suitable one. Present color is too dark in comparison to flag colour. Krish edits675 (talk) 01:47, 8 March 2022 (UTC)

Done. JayMithila (talk) 03:13, 8 March 2022 (UTC)

National Unity Party (from Myanmar)

The colour of National Unity Party (from Myanmar) has been wrongly shown as red in #2188ca .

Correct colour = #2188CA  

In fact, red has never been NUP's colour since its renaming on 24.9.1988. (Red was party colour before renaming.) The party changed its name, its logo, its flag and "its colour". But its 1988-2016 flag still used the red background despite its colour had been sky blue since 1988. In 2016, the party finally changed its flag to comply with its colour.

In 2016, U Han Shwe (current party chairman) , then a member of central executive conmittee, stated that "... Our party colour has already been sky blue since the start. ..." Reference: |url= http://burmese.dvb.no/archives/176669 |title= တစညပါတီအလံ ပြောင်းလဲအသုံးပြုမည် |trans-title= NUP party flag will be changed |language= Burmese (font difference: the title is Unicode but the body is Zawgyi) နေနီဝန်း (talk) 10:04, 7 March 2022 (UTC)

နေနီဝန်း, you are welcome to make this change. Primefac (talk) 10:09, 7 March 2022 (UTC)
User:Primefac I don't know how to make. Please can you help? နေနီဝန်း (talk) 10:53, 7 March 2022 (UTC)
Looks like you sorted it out. Primefac (talk) 08:13, 8 March 2022 (UTC)

Revolutionary Marxist Party of India

Revolutionary Marxist Party of India would not show up correctly on Bhoa Assembly Constituency Can someone help to fix this. so that party abbreviation and its colours are shown. I cant see any obvious error in Module political party but it is still not showing up correctly. Venkat TL (talk) 07:46, 23 March 2022 (UTC)

See Wikipedia:Village pump (technical)#Module political party not working for RMPI Venkat TL (talk) 08:47, 23 March 2022 (UTC)
@Venkat TL: The problem is in the article; someone used {{Election box candidate}} instead of {{Election box candidate with party link}}. Cheers, Number 57 08:50, 23 March 2022 (UTC)
Thank you. --Venkat TL (talk) 09:54, 23 March 2022 (UTC)
Resolved

Heimatblock Colour Change

Hello,

Could somebody please change the Heimatblock colour to #669966? This was the authentic colour of the party and the broader Heimwehr movement, as demonstrated here [1] and here [2].

Thanks, EtheyB (talk) 19:08, 22 March 2022 (UTC)

@EtheyB Please first discuss this change on the talk page of the political party. See WP:CONSENSUS. Venkat TL (talk) 09:56, 23 March 2022 (UTC)
@EtheyB Spanish wiki used the code #ABDDA4 on https://es.wikipedia.org/wiki/Heimwehr . I note that this colour is not the same with what you are proposing. I have no idea which one is correct. So I think it would be better to discuss this on the party talk page. Venkat TL (talk) 13:23, 23 March 2022 (UTC)
Thank you. The colour tone used on the Spanish article seems to match the colour scheme in the party's posters more closely and would likewise be a better colour for the political party module entry. EtheyB (talk) 09:55, 24 March 2022 (UTC)
@EtheyB ok. I updated the colour here. Venkat TL (talk) 14:22, 24 March 2022 (UTC)

References

National Rescue Movement

["National Rescue Movement"] = {abbrev = "", color = "#fecd00 ", shortname = "", Could you change the party color to #fecd00, it uses yellow. Watercheetah99 (talk) 00:59, 6 March 2022 (UTC)

@Watercheetah99 You can update it yourself at Module:Political party/P. As an example I updated the colour here Venkat TL (talk) 14:25, 24 March 2022 (UTC)

Latvian party rebranding

["For Each and Every One"] = {abbrev = "KuK", color = "#FB8337", shortname = "",}
Party LuK rebranded and has a different name, abbreviation and party color now
Mirashhh (talk) 14:33, 19 February 2022 (UTC)

@Mirashhh see my reply at #National Rescue Movement. you can update the Module F yourself to update the entry "For Each and Every One" Venkat TL (talk) 14:33, 24 March 2022 (UTC)

Commoners (Chilean political party)

Appears on the list as Commons instead of Commoners. --Bedivere (talk) 12:06, 30 March 2022 (UTC)

Extended-confirmed-protected edit request on 6 April 2022

Change Democratic Socialist Party (Nepal) to Loktantrik Samajwadi Party (Nepal) since its the more commonly used name. Also change color to olivedrab since color is too close to Nepali Congress which is the older party. RulesTheNation (talk) 15:09, 6 April 2022 (UTC)

 Not done: please provide reliable sources that support the change you want to be made. ScottishFinnishRadish (talk) 19:39, 6 April 2022 (UTC)

Template-protected edit request on 12 April 2022

The colour scheme of the "Liberal Democratic Party (Australia)" is now #0e3b6d and no longer yellow #FFC528 (see [1]). Marcnut1996 (talk) 08:50, 12 April 2022 (UTC) Marcnut1996 (talk) 08:50, 12 April 2022 (UTC)

Never mind, I realised I could edit the submodule (/L) myself. I thought I couldn't as I thought the page protection was the same as the main module. Marcnut1996 (talk) 22:41, 13 April 2022 (UTC)

Tarlac City local political parties

  • ["Sama-Sama Tarlac"] = {abbrev = "", color = "#98fb98 ", shortname = "Sama-Sama Tarlac",},
  • ["Team Manalang"] = {abbrev = "", color = "#FF8C00 ", shortname = "Independent",},

Moneygame 07:16, 17 April 2022 (UTC)

Same as the previous query, I realized I could edit the submodule (/S) and (/T) myself. Thanks! Moneygame 13:42, 17 April 2022 (UTC)

Extended-confirmed-protected edit request on 7 April 2022

Democratic Socialist Party (Nepal) and Loktantrik Samajwadi Party, Nepal should be merged as they refer to the same party. As you can see in Loktantrik Samajwadi Party, Nepal, Democratic Socialist Party is the translation of the name. The color   and   is too close to the one for Nepali Congress  . I suggest changing the color for Loktantrik Samajwadi Party, Nepal since Nepali Congress are the older party (founded in 1950 vs 2021 for Loktantrik Samajwadi). I suggest changing the color to either olivedrab  , since it is a different shade of green, or orangered  , since the party flag also has this color. RulesTheNation (talk) 14:34, 7 April 2022 (UTC)

 Partly done: I've converted the Democratic Socialist entry to an alternate name; unless someone wants to give me an "official" colour for the party I'm not going to change the /L page entry. Primefac (talk) 15:05, 23 April 2022 (UTC)

Should add entry for Dor (political party)

Dor (political party)


Thanks! Adam080 (talk) 22:21, 6 May 2022 (UTC)

There is one already. The issue is with {{Officeholder table}} not allowing piping of different party names. Number 57 22:43, 6 May 2022 (UTC)
Oh right! The list should show Gil. Thanks btw for helping on articles I work on :) Adam080 (talk) 00:02, 7 May 2022 (UTC)

Extended-confirmed-protected edit request on 26 April 2022

Change ["For Latvia's Development"] = {abbrev = "", color = "#EF4D74", shortname = "",}, to ["For Latvia's Development"] = {abbrev = "", color = "#FFDD00", shortname = "",},

They updated their statutes and now only this shade of yellow is used - https://attistibai.lv/statuti/ - see Appendix 1 in the end of statues 2A03:EC00:B194:1126:B491:D8B4:C96A:C2AE (talk) 20:36, 26 April 2022 (UTC)

 Done (assuming good faith - I don't speak the language and can't verify it myself; any other ECP editor may revert if they wish) * Pppery * it has begun... 21:57, 14 May 2022 (UTC)

Kingston Independent Residents Group

The Kingston Independent Residents Group rebranded in 2019, and their correct colour is now #a21f5e. Please could this be amended? — Preceding unsigned comment added by Goldenbender2 (talkcontribs) 09:22, 7 April 2022 (UTC)

 Done. Primefac (talk) 10:45, 31 May 2022 (UTC)

Runnymede Independent Residents' Group

Could the Runnymede Independent Residents' Group colour be changed to #264404 - the colour used on campaign branding? Could the shortname also be changed to simply "Runnymede Independent Residents" also? Thank you. The pazter (talk) 14:19, 9 May 2022 (UTC)

Yes to the first, no to the second (our article is not called that) but I have added in a few alternate names. Primefac (talk) 10:51, 31 May 2022 (UTC)

Request to change People's Freedom Party (Nepal)

Request to change People's Freedom Party (Nepal) to Nagarik Unmukti Party, the short name to Nagarik Unmukti and the abbreviation to NUP. The party is more commonly known as Nagrik Unmukti Party and People's Freedom Party or Citizens' Liberation Party are just translations. [2] [3]

Also request to change the shortname for Communist Party of Nepal (Unified Socialist) from CPN (Unified Socialist) to Unified Socialist since it is the more commonly used short name. Here are some examples [4] [5] [6] RulesTheNation (talk) 15:09, 27 May 2022 (UTC)

 Done. Primefac (talk) 11:12, 31 May 2022 (UTC)