This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 |
Just starting this here to detail the progress of the setup and creation of this template. Steps will be expanded or struck as necessary. Primefac ( talk) 15:53, 6 September 2021 (UTC)
shortname = fullname
(just on the off chance that someone calls it) so that it doesn't give an error.
Primefac (
talk)
17:13, 6 September 2021 (UTC)
|colorcode
parameter. It would make life easier for people if the infobox could use the colour associated with the article name by default (if it exists) and then overridden by anything added manually.
Number
5
7
16:43, 6 September 2021 (UTC)
red
or green
. I'm sure we can figure it out, though.
Primefac (
talk)
10:46, 7 September 2021 (UTC)
finished duplicates
|
---|
There are a very small number of straight-up duplicate names in the data, but also similar-named entries which would of course necessitate an alternate name entry. However, almost all of them are using different values. For example: ["All India Majlis-E-Ittehadul Muslimeen"] = {abbrev = "", color = "#009F3C", shortname = "AIMIM",}, ["All India Majlis-e-Ittehadul Muslimeen"] = {abbrev = "", color = "#1A7920", shortname = "AIMIM",}, ["Young People's Party (UK)"] = {abbrev = "", color = "#DDDDDD", shortname = "Young People's",}, ["Young People's Party UK"] = {abbrev = "", color = "#FFF643", shortname = "Young People's",}, What's the best way to deal with this disparity? I'm half-tempted to just pick one of the values and let someone make an edit request if they're that worried about it (i.e. let the gnomes handle it). Primefac ( talk) 11:37, 7 September 2021 (UTC)
["Bangladesh Muslim League (BML)"] = {abbrev = "", color = "#D0F7F7", shortname = "",}, ["Bangladesh Muslim League"] = {abbrev = "", color = "#7DE8E8", shortname = "BML",}, These are actually two separate parties. The Bangladesh Muslim League had a split, with one of the splinter factions called "Bangladesh Muslim League-BML" (this is a bit of an oddity in Bangladeshi politics and there are a few parties with names like this). The Bangladesh Muslim League (BML) one should be adjusted to Bangladesh Muslim League-BML, which would then be picked up by the results table in 2018 Bangladeshi general election. I've renamed the meta template and fixed its uses to match the "Bangladesh Muslim League-BML" name. Cheers, Number 5 7 15:29, 7 September 2021 (UTC)
|
Last one (I think)
["Scottish People's Alliance"] = {abbrev = "", color = "#87cefa", shortname = "Scottish People's",}, ["Scottish Peoples Alliance"] = {abbrev = "", color = "white", shortname = "Scottish Peoples Alliance",},
This one has disparity both with the colour and shortname. I'm inclined to go with the shorter version (since that's the point of a shortname) but I haven't dug into the colour yet. Primefac ( talk) 18:00, 7 September 2021 (UTC)
Another party/meta type exists - shading (see Template:People's Action Party/meta/shading). Not sure what it's used for but noticed these weren't in the sheet. Gonnym ( talk) 11:00, 7 September 2021 (UTC)
Just to swing back to this, do we want /shading as its own field for return, or merge it in with the /color options? Primefac ( talk) 12:36, 7 September 2021 (UTC)
Are the NA entries in Module:Political party/N needed?
I've come across a few alternate names that are in a different section of the alphabet (of course, I didn't write any of them down, and now can't find any) but they usually are due to translations of the original name. I suspect we'll find more when the redirect list is populated. I see two options for this:
Primefac ( talk) 18:32, 7 September 2021 (UTC)
{{
#invoke:Political party/sandbox|fetch|Agrarian Party of Albania|color}}
-> #21B330Not sure if this is the same thing as being discussed above (can't quite get my head round it), but in cases where a party has been renamed at some point, having a meta colour template redirect under their former name ensures the colour pointed to is the same as the one for the current name of the party (as the target is the meta colour template under the current name). How is this going to work in the module – will redirects be built into it, or will we manually have to ensure the different names have the same colours listed? Cheers, Number 5 7 08:30, 10 September 2021 (UTC)
["A Better Britain - Unionist Party"] = "A Better Britain – Unionist Party",
["A test"] = {main = "Business and Professional Group", abbrev = "AT", shortname = "atest"},
main
being the new party. In this current style, any values listed in the alt list will get used and anything else will be taken from the linked party from the main value.{{
#invoke:Political party/sandbox|fetch|A test|color}}
-> Lua error: bad argument #1 to 'sub' (string expected, got table).{{
#invoke:Political party/sandbox|fetch|Business and Professional Group|color}}
-> #3333CC{{
#invoke:Political party/sandbox|fetch|A test|shortname}}
-> Lua error: bad argument #1 to 'sub' (string expected, got table).{{
#invoke:Political party/sandbox|fetch|Business and Professional Group|shortname}}
-> Businessmen's Party{{
#invoke:Political party/sandbox|fetch|A test|abbrev}}
-> Lua error: bad argument #1 to 'sub' (string expected, got table).{{
#invoke:Political party/sandbox|fetch|Business and Professional Group|abbrev}}
-> BPThere is another group of templates which might be related under Category:Political party name templates ( Category:Mexico political party name templates, Category:Singapore political party name templates, and Category:Taiwan political party name templates). -- Gonnym ( talk) 22:11, 7 September 2021 (UTC)
It was easy enough to filter through the unused template redirects (~1200) when placing the alternate names, but having gone through a few of the As there's an issue with the fact that we're combining three templates into one, so it's going to take a lot of time to manually check the ~300 templates for those that might not be used in all three /abbrev, /shortname/, and /color categories. Honestly, it's a small enough number that I think having the excess isn't going to be a huge burden. Thoughts? Primefac ( talk) 17:22, 9 September 2021 (UTC)
Out of interest, in future, how will we be able to see if a meta shortname/color is being called from anywhere when it all ends up being pointed to the module? Cheers, Number 5 7 19:28, 9 September 2021 (UTC)
A bit jumping ahead, but if the module is used for parties (and not individuals) then perhaps a better name would be Module:Political party so that a query to the module for a color would make more sense:
{{
#invoke:Political names|fetch|Liberal Democrats (UK)|color}}
{{
#invoke:Political party|fetch|Liberal Democrats (UK)|color}}
Gonnym ( talk) 15:06, 7 September 2021 (UTC)
There are a few ( 1, 2, 3) shortnames that include partial links. I believe this is so that when they are called as part of a wikilink, it will show two wikilinks instead of one (see for example Aberavon for the National Liberal and Conservative shortname). If we are intending this module to essentially work the same as the individual templates, I would think that it would be necessary to keep this feature intact. Primefac ( talk) 21:48, 9 September 2021 (UTC)
The entries that are written like ["Parnellite Home Rule League"] = {abbrev = "", color = "#99FF66", shortname = "Home Rule League]] [[Charles Stewart Parnell|(Parnellite)",}
should not be supported as they can cause issues in places we might not even know to look. If a table like the one used in
Cavan (UK Parliament constituency), which uses
Template:Election box winning candidate with party link wants to use another link for an individual, that is fine, but that template should be changed and another field added to it. This module should not handle the presentation side, only the data. In this case, "Charles Stewart Parnell (Parnellite)" is not the name of the party.
Gonnym (
talk)
21:51, 9 September 2021 (UTC)
I've shored up error handling, created the implementation templates, and have started checking usage in Template:Election box winning candidate with party link/sandbox to see if there are any major issues. So far I am seeing none.
Other than deciding on a final name for this module, and potentially how we want this template to be set up (I have created both {{ political party}} as well as subpages such as {{ political party/color}}) I think we're good to start replacing /meta/ template usage with our module call. Primefac ( talk) 20:36, 24 September 2021 (UTC)
{{#invoke:Political party|fetch|{{{1|}}}|{{{2|}}}|error{{#if:{{{error|}}}||_NULL}}={{{error|}}}}}
) doesn't need to have the parameters passed to it as you should get it from the frame.args table. The code can then just be {{
#invoke:Political party|fetch}}
.frame
and not frame:getParent().args
. I'm not really bothered either way, but since we need the error handling to be in (as a blank |error=
will still trigger the eventual args.error
call) we might as well just keep it in the template.|error=
, I've only worked with
Module:Arguments (require("Module:Arguments").getArgs
) so I'm assuming that is why I've never ran into such a problem.
Gonnym (
talk)
11:45, 25 September 2021 (UTC)As mentioned in point 4 above, there are discrepancies with how the various values are being stored: some shortnames are really abbreviations, and some of them are actually the full name of the party. I think it would reasonable to store abbreviations as abbrev
in the first case and remove "shortname-equals-party-name" values in the second case (since we would just return the full name anyway). From a "we are turning thousands of templates into one module" perspective, though, that would mean we would immediately have thousands of entries that are no longer returning the intended value when called in the article space (e.g. calling "Alliance for the Union of Romanians" would no longer return "AUR").
So, I guess the question is this - do we say "oh well" and just keep the status quo, or do we change everything as described above and then return something if it's there? To continue with the AUR example, we would change the current listing
["Alliance for the Union of Romanians"] = {abbrev = "", color = "#FCC224", shortname = "AUR",},
to
["Alliance for the Union of Romanians"] = {abbrev = "AUR", color = "#FCC224", shortname = "",},
and then return essentially an {{if empty|shortname
| abbrev
| party
}} for future calls.
Primefac (
talk)
11:48, 25 September 2021 (UTC)
|abbreviation=
parameter of
Template:Infobox political party, which pretty much shouts misuse (and the call itself can be baked into that infobox now). Two uses are eventually from
Template:Infobox election/shortname. For that specific example, we can modify that template to do -> abbr->short->passed value. The question is, how many meta-templates like this are? But I would be in favor of fixing this issue so we can a clean version.
Gonnym (
talk)
11:56, 25 September 2021 (UTC)
abbrev -> shortname -> passed value
, or (if no abbrev is asked for) shortname -> passed value
? I cannot think of one but that's why talk pages exist (to bounce ideas). If we can't figure out a reason why we wouldn't want to do it this way, I think we can reasonably start going live.
Primefac (
talk)
15:39, 27 October 2021 (UTC)
|only=yes
(name doesn't have to be "only") would get what was request. This might be rarely used or not at all maybe, but it seems correct to have it in there just in case (and it isn't really hard to code it).
Gonnym (
talk)
10:28, 28 October 2021 (UTC)
Parties with abbrev and shortname
|
---|
Alliance Party of Northern Ireland #F6CB2F APNI Alliance All-for-Ireland League #66FF99 AFI All-for-Ireland Business and Professional Group #3333CC BP Businessmen's Party Commonwealth Labour Party #b22222 ComLab Commonwealth Labour Democratic Socialist Party (Ireland) #FF0099 DSP Democratic Socialist Democratic Left (Ireland) #C700C7 DL Democratic Left Farmers' Party (Ireland) #B8860B FP Farmers' Party Green Party (Ireland) #22AC6F GP Green Irish Unionist Alliance #9999FF U Irish Unionist Irish Parliamentary Party #99FF66 IPP Irish Parliamentary Independent politicians in Ireland #DDDDDD Ind Independent Irish Democratic Party #23588C IDP Irish Democratic Independents 4 Change #FFC0CB I4C Inds. 4 Change Liberal Unionist Party #2061A2 LibU Liberal Unionist Liberal Democrats (UK) #FAA61A Lib Dem Liberal Democrats Liberal Party (UK) #ffd700 Lib Liberal Labour Party (Ireland) #CC0000 Lab Labour Labour Party (UK) #E4003B Lab Labour Mansfield Independent Forum #DDDDDD MIF Mansfield Independent National Labour Party (Ireland) #FF7F50 NLP National Labour Party Northern Ireland Labour Party #DC241f NILP NI Labour National Democratic Party (Northern Ireland) #DDFFDD NDP National Democratic National Centre Party (Ireland) #0000FF NCP National Centre Party Nationalist Party (Northern Ireland) #32cd32 Nat Nationalist Nationalist Party (Ireland) #99FF66 IrishNat Irish Nationalist People Before Profit/Solidarity #8E2420 PBP/S PBP/Solidarity Republican Labour Party #85de59 RepLab Republican Labour Republican (Ireland, 1923) #008800 Rep Republican Speaker of the House of Commons (United Kingdom) white Spkr Speaker Socialist Party (Ireland) #FF3300 SP Socialist Party Socialist Labour Party (Ireland) #AD3030 SLP Socialist Labour Social Democrats (Ireland) #752F8B SD Social Democrats Ulster Liberal Party #DAA520 ULib Ulster Liberal United Left (Ireland) #FF5555 UL United Left Workers' Party of Ireland #930C1A WP Workers' Party |
In that case, unless I hear otherwise from our third hand I'll re-combine the abbrev and shortnames, get rid of abbrev, and update the main module. Primefac ( talk) 09:27, 29 October 2021 (UTC)
|default=
which then if no color is found returns the requested default instead of the module default.This issue is still not resolved and a lot of what was in the shortname templates is still listed under abbrev, which will cause some issues as this is rolled out (for example, there is no shortname for the ANC, which will mess up South African election articles). Are we going to merge the two? If not (or at least not immediately), then the text that is in the abbrev field needs to be copied back across to the shortname field in cases where there is no shortname. Cheers, Number 5 7 12:46, 25 November 2021 (UTC)
abbrev
, it looks for abbrev -> shortname -> input. If you ask for a shortname
, it looks for shortname -> abbrev -> input. This means that we can keep the values separate in the module and we don't have to choose when a party has both an abbrev and shortname.
Primefac (
talk)
12:57, 25 November 2021 (UTC)
@ Primefac: is there a way to remove all the new articles in Category:Pages with script errors? seems related to this change? Frietjes ( talk) 21:55, 18 November 2021 (UTC)
|party=
is blank then it used to fetch
Template:/meta/color but now it returns {{#invoke:Political party|fetch||color}}
which is a script error!
Frietjes (
talk)
21:57, 18 November 2021 (UTC)
|error=white
to work for the colors, but maybe that should be |error1=
for error in the first parameter? By the way, we also need to fix lowercase i? See
this edit and
this edit to fix a script error. Thanks!
Plastikspork
―Œ(talk)
23:18, 18 November 2021 (UTC)Separately, I wasn't aware that implementation had started – would it be possible to tick off which templates have been converted from the meta templates to this module at Module talk:Political party/uses? Cheers, Number 5 7 21:59, 18 November 2021 (UTC)
Gonnym, I was just checking the final implementation of some conversions when I noticed that the 1980 United States presidential election (third infobox down in this section of the testcases) has an "independent (United States)" value but it is not being treated as "Independent (United States)". Does the getFirstLetter function starting on Line 15 need to be tweaked? Primefac ( talk) 12:47, 30 November 2021 (UTC)
["Independent (United States)"] = "Independent (US)",
. I think I see the issue now: we use an upper check for the index to choose the right subpage, but then we don't repeat that when actually looking for the name, so independent (United States)
will correctly shoot for the /I subpage, but then it will fail to match against the properly-capitalised version.
Primefac (
talk)
13:16, 30 November 2021 (UTC)
Some of the recent changes resulted in party shortnames and colors not displaying properly. See example. ― Tartan357 Talk 09:03, 21 November 2021 (UTC)
@ Primefac: It appears the recent switch of Template:Election box gain with party link no swing to using this module has produced an error where the losing party is displayed as its hex color code, rather than the party name. Example. ― Tartan357 Talk 03:08, 26 November 2021 (UTC)
@ Primefac: The change to {{ Infobox election/shortname}} is creating issues where the party name is input as a link rather than relying on a shortname template (which don't always exist). See, for example, 2022 Portuguese legislative election or Next Ukrainian parliamentary election. Number 5 7 13:04, 25 November 2021 (UTC)
|wikilinks=target
will fix that, yes?
Primefac (
talk)
13:14, 25 November 2021 (UTC)|link=
parameter, that when set to "no" will not attempt to find a shortname (e.g. |party3=[[Guyana Action Party|GAP]]–[[Working People's Alliance|WPA]]
would be returned directly as
GAP–
WPA
). However, this functionality doesn't actually exist in the main {{
infobox election}} or {{
infobox election/row}} (the latter of which calls the /shortname template). Thus, if the main infobox and /row templates are updated, the linkX parameter can be used to bypass the module search.
Primefac (
talk)
15:21, 25 November 2021 (UTC)I've started a discussion about the infobox and changes that need making. Primefac ( talk) 07:53, 29 November 2021 (UTC)
|link1=no
at
2000 Lithuanian parliamentary election, and nothing happens.
Number
5
7
10:21, 1 December 2021 (UTC)
|party_name=no
.
Primefac (
talk)
10:24, 1 December 2021 (UTC)
Having seen multiple edits pop up on my watchlist, there is a wider issue with the module attempting to add links to things that aren't meant to be linked (basically it tries to link everything entered to the party/alliance field as plain text, whether it has a /meta/shortname or not, while previously when you entered plain text to the party/alliance field, links were only created if a /meta/shortname template existed). Can the module be edited so that if a party name is entered as plain text, and no /meta/shortname exists, then it doesn't attempt to link it? I've tried using |party_name=no
to uses of {{
Infobox election}}, but it then delinks all parties, so you then have to add all the links back in manually... Cheers,
Number
5
7
10:48, 1 December 2021 (UTC)
The current batch of sub-modules was created nearly three months ago, since which there have been hundreds of new meta templates created, plus existing ones have been moved (from spotting an error in the 2022 Portuguese election infobox, I realised that he Left Bloc was not displaying properly as the meta templates were moved from Left Bloc to Left Bloc (Portugal) during the intervening period.
As it looks like implementation is happening now, could another run be done to grab the templates as they are now? Cheers, Number 5 7 13:13, 25 November 2021 (UTC)
Is this new run going to happen soon? Many of the meta templates are used for election infoboxes, which have now been converted (for the shortnames at least), so the gaps are staring to appear. Cheers, Number 5 7 13:18, 30 November 2021 (UTC)
Related to the above, I had a thought while doing this update in that any Party with a disambiguator (i.e. parentheses) should probably have their shortname be whatever the base party is (if it doesn't already have a shortname), so for example Democratic Action (El Salvador)
should have a shortname of Democratic Action
.
Primefac (
talk)
21:12, 30 November 2021 (UTC)
I've noticed an issue which has shown up on some pages. This is that attempting to fetch data for an alias, which is aliased to another alias, does not work. For example, "California Democratic Party" is aliased to "Democratic Party (California)" which is aliased to "Democratic Party (US)".
Code | Result |
---|---|
{{#invoke:Political party|fetch|California Democratic Party|shortname}} |
Democratic |
{{#invoke:Political party|fetch|Democratic Party (California)|shortname}} |
Democratic |
{{#invoke:Political party|fetch|Democratic Party (US)|shortname}} |
Democratic |
The result for the first invocation should be the same as for the latter two, but it isn't. Would be nice if this could be fixed, I don't have the knowledge of how this is programmed or the time to fix it myself. Elli ( talk | contribs) 23:54, 30 November 2021 (UTC)
This
edit request to
Module:Political party/R has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change ["Reform PH - People's Party"] = {abbrev = "RP", color = "#800000", shortname = "",}, to ["Reform PH-People's Party"] = {abbrev = "RP", color = "#800000", shortname = "",}, per redirect of the two pages. NewManila2000 ( talk) 01:22, 1 December 2021 (UTC)
Please also change ["Kabalikat ng Bayan sa Kaunlaran"] = {abbrev = "KABAKA", color = "#FEFD91", shortname = "",}, to ["Kabalikat ng Bayan sa Kaunlaran"] = {abbrev = "KABAKA", color = "#01692E", shortname = "",}, as per color change in its party color template. NewManila2000 ( talk) 03:34, 1 December 2021 (UTC)
Please also change ["Aggrupation of Parties for Progress"] = {abbrev = "APP", color = "#1325AE", shortname = "",}, to ["Aggrupation of Parties for Prosperity"] = {abbrev = "APP", color = "#1325AE", shortname = "",}, as per name change and page move in its party color template and party shortname template. NewManila2000 ( talk) 13:55, 1 December 2021 (UTC)
Please also change ["Probinsya Muna Development Initiative"] = {abbrev = "PROMDI", color = "#000040", shortname = "",}, to ["Progressive Movement for the Devolution of Initiatives"] = {abbrev = "PROMDI", color = "#000040", shortname = "",}, as per name change as stated in COMELEC list of tentative candidates for 2022 elections. NewManila2000 ( talk) 23:09, 1 December 2021 (UTC)
A few articles are in Category:Pages with script errors, for example Poole (UK Parliament constituency). The error is hidden. It is due to the use of the following:
{{party color|Cavalier}} {{party color|Roundhead}}
Previewing either of these shows "Lua error in package.lua at line 80: module 'Module:Political party/' not found." Something is missing and ends up as an empty string after the slash. Johnuniq ( talk) 02:56, 7 December 2021 (UTC)
I'm hoping someone here knows how to fix another problem. 2010 Cook Islands general election#Party totals is showing "Lua error: bad argument #1 to 'sub' (string expected, got table)." That happens at line 16 of Module:Political party in function "getFirstLetter" which is called from line 59 in function "_fetch" which is called from line 62 of Module:Election results in function "get_color". Johnuniq ( talk) 04:10, 10 December 2021 (UTC)
I added support for a module entry point by splitting the fetch function (same idea was already implemented in the sandbox). this will allow us to change Module:Election results to use this module directly. let me know if there are any problems. if there are no problems, I will update Module:Election results to stop using the /meta/color templates. Frietjes ( talk) 15:57, 8 December 2021 (UTC)
Hi, can someone update Right to Change, it is currently at Right To Change. This is causing to colour to be blank. Spleodrach ( talk) 21:48, 8 December 2021 (UTC)
This
edit request to
Module:Political party/R has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change "Rikken Minseito #8DB600" to "Rikken Minseito #6EA4CA"
Change "Rikken Seiyukai #FF3333" to "Rikken Minseito #B0D3A8"
The new colors
1. Conform with various pre-existing election diagrams
2. Form a more aesthetically pleasing color palate in a two-party system
Both parties never had any official colors.
沁水湾 (
talk)
00:04, 9 December 2021 (UTC)
...for which editors have decided to use a certain colour- so... it's completely arbitrary? Genuinely trying to understand how we're going to deal with future TPERs saying "X party's colour is wrong" and potentially avoid arguments over changing from green to blue back to green again when it's all made up anyway. Primefac ( talk) 10:33, 9 December 2021 (UTC)
With more folks editing and updating this module (and fixing errors!) I've updated the main documentation to hopefully make it a bit easier for people not intimately familiar with the code to help out. Wordsmithing is welcomed. Primefac ( talk) 13:14, 9 December 2021 (UTC)
@ Gonnym, Primefac, Number 57, and Jonesey95: I just hacked together User:Frietjes/politicalparty.js which when installed in your common.js gives you a new special page, "Special:PoliticalParty". if you press the "query" button on that page, it will check the module subpages for (1) duplicate entries which could be a duplicate "full name" or a duplicate "alternative name" or an "alternative name" that is also a "full name" (2) broken redirects which are alternative name targets that don't exist as full names. Here is the result from running it a few minutes ago.
Duplicates: | Broken redirects: |
---|---|
Liberal |
the first entry in the "duplicates" column is "Abolish the Welsh Assembly". searching Module:Political party/A for that entry, you will see the problem.
the first entry in the "broken redirects" column is a redirect to "Other parties (US)". searching Module:Political party/O I see that "Other parties (US)" is a redirect to "Other parties" so this is a double redirect. I don't know if the module allows for double redirects?
I haven't checked to make sure that all the results are valid problems, but I thought it might be useful tool. the "broken redirects" could be checked using LUA, but the duplicates are harder, because LUA doesn't care if you overwrite a prior entry with a new entry. it also doesn't check to make sure the entries are "well formed" (like full entries in the alternate section, or the other way around), but I could probably do something if we think this could be a problem. let me know if you have any comments, suggestions, etc. Frietjes ( talk) 21:42, 10 December 2021 (UTC)
Example text. Can you please check my work? I haven't added a new script for a while, and I may be using an outdated method of importing scripts. – Jonesey95 ( talk) 19:30, 13 December 2021 (UTC)
After the amazing PrimeBot did its work, I did a quick search and found a few pages with malformed /meta/color template calls. I fixed most of them; some of the ones I fixed need replacement by the bot. – Jonesey95 ( talk) 15:01, 12 December 2021 (UTC)
Hi all. I have tried to understand this change from Election Box Metadata templates to modules, but it's really not settling in my head.
I've been tending this particular garden for years here so I'm determined to understand the new process.
So here is my first of what might be a tonne of questions. If there is created a new article for a new political party, how does an editor create the colour/shortname that we need to for results boxes etc?
Thanks x doktorb words deeds 21:31, 12 December 2021 (UTC)
Unlike the Scottish Conservatives, the Welsh Conservatives don't get shortened to "Conservative". Plus, UKIP now links to UKIP instead of UK Independence Party. Thankfully, Propel no longer shows up with brackets, which it was doing until recently. Unreal7 ( talk) 21:57, 12 December 2021 (UTC)
I noticed that the colours for the National Democratic Alliance and United Progressive Alliance aren't showing up when transcluded through Template:Party name with colour. They seem to be working when transcluded through Template:Party name with color, though, which seems odd. Anyone know why this is happening?
e.g. Goa Legislative Assembly vs Chhattisgarh Legislative Assembly.
YttriumShrew ( talk) 08:55, 13 December 2021 (UTC)
This talkpage seems to be filling out quite rapidly, so I therefore propose that we add an archiving bot. I think ClueBot III seems to be more appropriate for this situation. What do people think? YttriumShrew ( talk) 19:50, 13 December 2021 (UTC)
The headers in this section have been removed for the sake of the TOC and for clarity, as have the {{ EPER}} templates. Primefac ( talk) 20:53, 14 December 2021 (UTC)
This
edit request to
Module:Political party/U has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The colour for Ukrainian Strategy of Groysman party is incorrect, it should be #F6DF55. This color is used in the range. A similar color is also used on the Ukrainian version of Wikipedia. Many Ukrainian parties are given the color blue, so it will be better to distinguish between parties, for example in the article "Opinion polling for the next Ukrainian parliamentary election". Block baby ( talk) 14:45, 13 December 2021 (UTC)
The colour for Servant of the People (political party) is incorrect, it should be #37B34A. This color is used in the logo and is more correct. Block baby ( talk) 15:50, 13 December 2021 (UTC)
The colour for European Solidarity is incorrect, it should be #2760AD. This color is used in the logo and is more correct. Block baby ( talk) 15:56, 13 December 2021 (UTC)
The colour for Opposition Platform — For Life is incorrect, it should be #0062B8. This color is used in the logo and is more correct. Block baby ( talk) 16:30, 13 December 2021 (UTC)
The colour for All-Ukrainian Union "Fatherland" party is incorrect, it should be #EE2136. This color is used in the logo and is more correct. Also the article changed its name to Batkivshchyna (political party). Block baby ( talk) 16:34, 13 December 2021 (UTC)
The colour for Strength and Honor is incorrect, it should be #0063AF. This color is used in the logo and is more correct. Block baby ( talk) 16:38, 13 December 2021 (UTC)
The colour for Nashi (political party) party is incorrect, it should be #101B4F. This color is used in the logo and is more correct. Block baby ( talk) 16:40, 13 December 2021 (UTC)
The colour for Radical Party of Oleh Liashko is incorrect, it should be #D4544E. This color is used in the logo and is more correct. Block baby ( talk) 16:42, 13 December 2021 (UTC)
The colour for Svoboda (political party) is incorrect, it should be #0E294D. This color is used in the logo and is more correct. Block baby ( talk) 16:45, 13 December 2021 (UTC)
The colour for Party of Shariy is incorrect, it should be #FF0000. This color is used in the logo and is more correct. Block baby ( talk) 16:48, 13 December 2021 (UTC)
The colour for Ukrainian Democratic Alliance for Reform is incorrect, it should be #DA2127. This color is used in the logo and is more correct. Block baby ( talk) 16:50, 13 December 2021 (UTC)
The colour for Voice (Ukrainian political party) is incorrect, it should be #FA4616. This color is used in the logo and is more correct. Block baby ( talk) 16:52, 13 December 2021 (UTC)
The name Radical party of Oleh Lyashko is not correct, Radical party of Oleh Liashko is correct Block baby ( talk) 20:06, 13 December 2021 (UTC)
["<Farmers' Party (Sweden)>"] = {abbrev = "B", color = "#016A39", shortname = "Farmers' League",},
Could the Farmers' Party (Sweden)'s shortname be changed to Farmers' League, because Centre Party is for its successor? Thank you in advance. 2A02:C7F:662B:5700:D04A:934:F717:731A ( talk) 05:55, 14 December 2021 (UTC)
This
edit request to
Module:Political party/B has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The name All-Ukrainian Union "Fatherland" is not correct, should be Batkivshchyna (political party). Block baby ( talk) 15:57, 14 December 2021 (UTC)
The name Batkivshchyna is not correct, should be Batkivshchyna (political party). Add shortname Batkivshchyna. Block baby ( talk) 20:05, 14 December 2021 (UTC)
Also change the color of Batkivshchyna (political party) to #EE2136 and delete All-Ukrainian Union "Fatherland" from Module:Political party/A (the same things). Block baby ( talk) 20:11, 14 December 2021 (UTC)
About Batkivshchyna (political party). #EE2136 - This color is used in the logo and is more correct. This is the exact color of the heart on the logo. Yesterday I changed the colors for all the main Ukrainian parties, you can see it in history. I changed the color for the all-Ukrainian Union "Fatherland" to #EE2136. The name and shortname should be the same as in the Svoboda party, because it is also an all-Ukrainian Union and there the name is Svoboda (political party) and the shortname is Svoboda. That's more correct, I want to be okay with that. Block baby ( talk) 20:27, 14 December 2021 (UTC)
Ok, I used website imagecolorpicker for each Ukrainian party. For Batkivshchyna I used File:Logo of the All-Ukrainian Union "Fatherland".svg (it uses English Wikipedia) and looked what color is heart and it is #EE2136. I also checked the information on other sites. As for the name, I mean Svoboda A.K.A. All-Ukrainian Union “Freedom” and has the name Svoboda (political party) and the short name Svoboda. So Batkivshchyna A.K.A. All-Ukrainian Union “Fatherland” should have the name Batkivshchyna (political party) and the short name Batkivshchyna. I mean they both are Unions, but different unions. So they should be named according to the same scheme. Block baby ( talk) 21:40, 14 December 2021 (UTC)
This
edit request to
Module:Political party/B has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The Color for Batkivshchyna is not correct, should be #EE2136. This color is used in the logo and is more correct. Also the name Batkivshchyna is not correct, should be Batkivshchyna (political party), because it is All-Ukrainian Union. Another All-Ukrainian Union has the name Svoboda (political party) and short name Svoboda. Block baby ( talk) 13:13, 15 December 2021 (UTC)
You did it in edit requests section:
The colour for All-Ukrainian Union "Fatherland" party is incorrect, it should be #EE2136. This color is used in the logo and is more correct. Also the article changed its name to Batkivshchyna (political party). Block baby (talk) 16:34, 13 December 2021 (UTC) Done. Primefac (talk) 13:27, 14 December 2021 (UTC)
Block baby ( talk) 07:48, 16 December 2021 (UTC)
Ok, then can I change the colors of all parties presented in the article Next Ukrainian parliamentary election, as well as Opinion polling for the next Ukrainian parliamentary election by the same parameter - take the main color from the site of each party? I can do it tonight and have it in order. Block baby ( talk) 11:53, 16 December 2021 (UTC)
This
edit request to
Module:Political party/B has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Delete shortname Batkivshchyna, as a name is the same. Block baby ( talk) 17:39, 15 December 2021 (UTC)
This
edit request to
Module:Political party/R has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The color of Radical party of Oleh Liashko is not correct, should be #C8102E. This color is used on the new party logo. Block baby ( talk) 17:54, 15 December 2021 (UTC)
I applied for a color change not because I wanted to, but because the party changed the logo. Block baby ( talk) 07:56, 16 December 2021 (UTC)
This
edit request to
Module:Political party/S has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Color of Servant of the people is not correct, should be #38b34a. This color is used by the party site. Block baby ( talk) 15:44, 16 December 2021 (UTC)
This
edit request to
Module:Political party/E has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The color of European Solidarity is not correct, should be #1b3892. This color is used by the party site. Block baby ( talk) 15:47, 16 December 2021 (UTC)
This
edit request to
Module:Political party has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change color of Opposition Platform - for life to #1B508A. Change color of Stregth and Honor to #0064B4. Change color of Nashi to #16327A. Change color of Ukrainian Stategy of Groysman to #FFDD00. Change color of Radical party of Oleh Liashko to #D64541. Change color of Ukrainian Democratic Alliance for Reform to #C93732.
These colors are used by the party sites and more correct. Block baby ( talk) 16:45, 16 December 2021 (UTC)
{{
edit template-protected}}
template. Wikipedia is NOT governed by other sites. -
FlightTime (
open channel)
16:48, 16 December 2021 (UTC)
For whatever reason, the module seemed to have a number of difficulties importing Irish party names. Thankfully I was able to fix the major party names just there. However, a number of parties are still broken and some I cannot access as their section is locked.
Can someone attempt to fix ["Sinn Féin (Anti-Treaty)"] and ["Sinn Féin (Pro-Treaty)"] in the S section? Until they're fixed, 1922 Irish general election is broken. The timing of this is awkward as there's a lot of attention in Ireland right now on the 1922 election in the national media due to the forthcoming centenary of the event.
Can I also request that in the C section, Cumann na nGaedheal's shortname be made "Cumann na nGaedheal", that Clann na Poblachta's shortname be made "Clann na Poblachta" and that Clann na Talmhan's shortname be made "Clann na Talmhan". In the I section, may I request that Irish Worker League's shortname be made "Irish Worker League".
I think that would cover the Irish parties that appear in Infoboxes which are currently experiencing issues. Thank You. CeltBrowne ( talk) 07:35, 6 December 2021 (UTC)
["Sinn Féin (Anti-Treaty)"] = "Sinn Féin",
to
["Sinn Féin (Anti-Treaty)"] = "Sinn Féin (Anti-Treaty)",
and
["Sinn Féin (Pro-Treaty)"] = "Sinn Féin",
to
["Sinn Féin (Pro-Treaty)"] = "Sinn Féin (Pro-Treaty)",
This seemed to fix the issue over on the infobox side over at 1922 Irish general election. However, this was reverted by Primefac with the message: "neither of these parties exist in the module, which is why they are alternate names". To be perfectly honest, I don't understand what that means in technical terms. I'm just seeking that both "Sinn Féin (Anti-Treaty)" and "Sinn Féin (Pro-Treaty)" display as such, rather than as simply "Sinn Féin". Thank you for your help so far. CeltBrowne ( talk) 07:55, 6 December 2021 (UTC)
|partyX_name=
, which if set to "no" will not go via the module. See
this discussion for more.
Primefac (
talk)
09:13, 6 December 2021 (UTC)
|partyX_name=
function. I'm not really honed in on the more advanced aspects of coding here on Wikipedia, not yet anyway, I just learn as I go. I was just surprised earlier when I saw all the significant current Irish party names abbreviated and going through the module was just the first solution I came across.
CeltBrowne (
talk)
09:36, 6 December 2021 (UTC)
{{
party shortname linked|Fianna Fáil}}
. However, that call is pointless if the result is "Fianna Fáil" (and in general, the more templates calls on a page, the slower it loads, so if there is no need for one, it really shouldn't be used). Instead of calling the template, just do
Fianna Fáil. The module is not a substitute for incorrect usage.
Gonnym (
talk)
12:46, 6 December 2021 (UTC)
["People's Progressive Party (Nepal)"] = {abbrev = "PPP", color = "#228B22", shortname = "PPP (N)",} 36.252.119.156 ( talk) 18:44, 15 December 2021 (UTC) Till when do we have to wait? @ Soman:, can you help here?
I had a worrying feeling this would happen, but given the dozens of colour-change requests we've received in the past 48 hours we need to sort out how we're going to deal with this, especially since we have some editors enacting the protection requests and others rejecting them because of "no consensus". I'm all for being as accurate as possible, but something makes me think that we'll sit around debating colours all day if we need to have a consensus. On the other hand, one of the requests wanted a change from to , which are literally indistinguishable. Primefac ( talk) 17:51, 16 December 2021 (UTC)
pary color of free voters/ freie wähler in germany is wrong, they use orange not blue 80.156.219.243 ( talk) 09:50, 17 December 2021 (UTC)
Pls add it. ChongTsz ( talk) 03:38, 19 December 2021 (UTC)
This
edit request to
Module:Political party/C has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change Civil Position party color to #FFDD00. This color is used by the party site. I would change it by myself, but this article has increased privacy. Block Baby ( talk) 18:37, 19 December 2021 (UTC)
["Labor Party (United States, 19th century)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",}
This one badly needs a shortname added, the full name breaks a lot of the templates it's used in. -- Asdasdasdff ( talk) 01:26, 20 December 2021 (UTC)
["Social Democratic Movement"] = {abbrev = "MDS", color = "#43B53C", shortname = "Social Democratic",}
"Democratic" also works as a short name. Krisgabwoosh ( talk) 08:09, 21 December 2021 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 |
Just starting this here to detail the progress of the setup and creation of this template. Steps will be expanded or struck as necessary. Primefac ( talk) 15:53, 6 September 2021 (UTC)
shortname = fullname
(just on the off chance that someone calls it) so that it doesn't give an error.
Primefac (
talk)
17:13, 6 September 2021 (UTC)
|colorcode
parameter. It would make life easier for people if the infobox could use the colour associated with the article name by default (if it exists) and then overridden by anything added manually.
Number
5
7
16:43, 6 September 2021 (UTC)
red
or green
. I'm sure we can figure it out, though.
Primefac (
talk)
10:46, 7 September 2021 (UTC)
finished duplicates
|
---|
There are a very small number of straight-up duplicate names in the data, but also similar-named entries which would of course necessitate an alternate name entry. However, almost all of them are using different values. For example: ["All India Majlis-E-Ittehadul Muslimeen"] = {abbrev = "", color = "#009F3C", shortname = "AIMIM",}, ["All India Majlis-e-Ittehadul Muslimeen"] = {abbrev = "", color = "#1A7920", shortname = "AIMIM",}, ["Young People's Party (UK)"] = {abbrev = "", color = "#DDDDDD", shortname = "Young People's",}, ["Young People's Party UK"] = {abbrev = "", color = "#FFF643", shortname = "Young People's",}, What's the best way to deal with this disparity? I'm half-tempted to just pick one of the values and let someone make an edit request if they're that worried about it (i.e. let the gnomes handle it). Primefac ( talk) 11:37, 7 September 2021 (UTC)
["Bangladesh Muslim League (BML)"] = {abbrev = "", color = "#D0F7F7", shortname = "",}, ["Bangladesh Muslim League"] = {abbrev = "", color = "#7DE8E8", shortname = "BML",}, These are actually two separate parties. The Bangladesh Muslim League had a split, with one of the splinter factions called "Bangladesh Muslim League-BML" (this is a bit of an oddity in Bangladeshi politics and there are a few parties with names like this). The Bangladesh Muslim League (BML) one should be adjusted to Bangladesh Muslim League-BML, which would then be picked up by the results table in 2018 Bangladeshi general election. I've renamed the meta template and fixed its uses to match the "Bangladesh Muslim League-BML" name. Cheers, Number 5 7 15:29, 7 September 2021 (UTC)
|
Last one (I think)
["Scottish People's Alliance"] = {abbrev = "", color = "#87cefa", shortname = "Scottish People's",}, ["Scottish Peoples Alliance"] = {abbrev = "", color = "white", shortname = "Scottish Peoples Alliance",},
This one has disparity both with the colour and shortname. I'm inclined to go with the shorter version (since that's the point of a shortname) but I haven't dug into the colour yet. Primefac ( talk) 18:00, 7 September 2021 (UTC)
Another party/meta type exists - shading (see Template:People's Action Party/meta/shading). Not sure what it's used for but noticed these weren't in the sheet. Gonnym ( talk) 11:00, 7 September 2021 (UTC)
Just to swing back to this, do we want /shading as its own field for return, or merge it in with the /color options? Primefac ( talk) 12:36, 7 September 2021 (UTC)
Are the NA entries in Module:Political party/N needed?
I've come across a few alternate names that are in a different section of the alphabet (of course, I didn't write any of them down, and now can't find any) but they usually are due to translations of the original name. I suspect we'll find more when the redirect list is populated. I see two options for this:
Primefac ( talk) 18:32, 7 September 2021 (UTC)
{{
#invoke:Political party/sandbox|fetch|Agrarian Party of Albania|color}}
-> #21B330Not sure if this is the same thing as being discussed above (can't quite get my head round it), but in cases where a party has been renamed at some point, having a meta colour template redirect under their former name ensures the colour pointed to is the same as the one for the current name of the party (as the target is the meta colour template under the current name). How is this going to work in the module – will redirects be built into it, or will we manually have to ensure the different names have the same colours listed? Cheers, Number 5 7 08:30, 10 September 2021 (UTC)
["A Better Britain - Unionist Party"] = "A Better Britain – Unionist Party",
["A test"] = {main = "Business and Professional Group", abbrev = "AT", shortname = "atest"},
main
being the new party. In this current style, any values listed in the alt list will get used and anything else will be taken from the linked party from the main value.{{
#invoke:Political party/sandbox|fetch|A test|color}}
-> Lua error: bad argument #1 to 'sub' (string expected, got table).{{
#invoke:Political party/sandbox|fetch|Business and Professional Group|color}}
-> #3333CC{{
#invoke:Political party/sandbox|fetch|A test|shortname}}
-> Lua error: bad argument #1 to 'sub' (string expected, got table).{{
#invoke:Political party/sandbox|fetch|Business and Professional Group|shortname}}
-> Businessmen's Party{{
#invoke:Political party/sandbox|fetch|A test|abbrev}}
-> Lua error: bad argument #1 to 'sub' (string expected, got table).{{
#invoke:Political party/sandbox|fetch|Business and Professional Group|abbrev}}
-> BPThere is another group of templates which might be related under Category:Political party name templates ( Category:Mexico political party name templates, Category:Singapore political party name templates, and Category:Taiwan political party name templates). -- Gonnym ( talk) 22:11, 7 September 2021 (UTC)
It was easy enough to filter through the unused template redirects (~1200) when placing the alternate names, but having gone through a few of the As there's an issue with the fact that we're combining three templates into one, so it's going to take a lot of time to manually check the ~300 templates for those that might not be used in all three /abbrev, /shortname/, and /color categories. Honestly, it's a small enough number that I think having the excess isn't going to be a huge burden. Thoughts? Primefac ( talk) 17:22, 9 September 2021 (UTC)
Out of interest, in future, how will we be able to see if a meta shortname/color is being called from anywhere when it all ends up being pointed to the module? Cheers, Number 5 7 19:28, 9 September 2021 (UTC)
A bit jumping ahead, but if the module is used for parties (and not individuals) then perhaps a better name would be Module:Political party so that a query to the module for a color would make more sense:
{{
#invoke:Political names|fetch|Liberal Democrats (UK)|color}}
{{
#invoke:Political party|fetch|Liberal Democrats (UK)|color}}
Gonnym ( talk) 15:06, 7 September 2021 (UTC)
There are a few ( 1, 2, 3) shortnames that include partial links. I believe this is so that when they are called as part of a wikilink, it will show two wikilinks instead of one (see for example Aberavon for the National Liberal and Conservative shortname). If we are intending this module to essentially work the same as the individual templates, I would think that it would be necessary to keep this feature intact. Primefac ( talk) 21:48, 9 September 2021 (UTC)
The entries that are written like ["Parnellite Home Rule League"] = {abbrev = "", color = "#99FF66", shortname = "Home Rule League]] [[Charles Stewart Parnell|(Parnellite)",}
should not be supported as they can cause issues in places we might not even know to look. If a table like the one used in
Cavan (UK Parliament constituency), which uses
Template:Election box winning candidate with party link wants to use another link for an individual, that is fine, but that template should be changed and another field added to it. This module should not handle the presentation side, only the data. In this case, "Charles Stewart Parnell (Parnellite)" is not the name of the party.
Gonnym (
talk)
21:51, 9 September 2021 (UTC)
I've shored up error handling, created the implementation templates, and have started checking usage in Template:Election box winning candidate with party link/sandbox to see if there are any major issues. So far I am seeing none.
Other than deciding on a final name for this module, and potentially how we want this template to be set up (I have created both {{ political party}} as well as subpages such as {{ political party/color}}) I think we're good to start replacing /meta/ template usage with our module call. Primefac ( talk) 20:36, 24 September 2021 (UTC)
{{#invoke:Political party|fetch|{{{1|}}}|{{{2|}}}|error{{#if:{{{error|}}}||_NULL}}={{{error|}}}}}
) doesn't need to have the parameters passed to it as you should get it from the frame.args table. The code can then just be {{
#invoke:Political party|fetch}}
.frame
and not frame:getParent().args
. I'm not really bothered either way, but since we need the error handling to be in (as a blank |error=
will still trigger the eventual args.error
call) we might as well just keep it in the template.|error=
, I've only worked with
Module:Arguments (require("Module:Arguments").getArgs
) so I'm assuming that is why I've never ran into such a problem.
Gonnym (
talk)
11:45, 25 September 2021 (UTC)As mentioned in point 4 above, there are discrepancies with how the various values are being stored: some shortnames are really abbreviations, and some of them are actually the full name of the party. I think it would reasonable to store abbreviations as abbrev
in the first case and remove "shortname-equals-party-name" values in the second case (since we would just return the full name anyway). From a "we are turning thousands of templates into one module" perspective, though, that would mean we would immediately have thousands of entries that are no longer returning the intended value when called in the article space (e.g. calling "Alliance for the Union of Romanians" would no longer return "AUR").
So, I guess the question is this - do we say "oh well" and just keep the status quo, or do we change everything as described above and then return something if it's there? To continue with the AUR example, we would change the current listing
["Alliance for the Union of Romanians"] = {abbrev = "", color = "#FCC224", shortname = "AUR",},
to
["Alliance for the Union of Romanians"] = {abbrev = "AUR", color = "#FCC224", shortname = "",},
and then return essentially an {{if empty|shortname
| abbrev
| party
}} for future calls.
Primefac (
talk)
11:48, 25 September 2021 (UTC)
|abbreviation=
parameter of
Template:Infobox political party, which pretty much shouts misuse (and the call itself can be baked into that infobox now). Two uses are eventually from
Template:Infobox election/shortname. For that specific example, we can modify that template to do -> abbr->short->passed value. The question is, how many meta-templates like this are? But I would be in favor of fixing this issue so we can a clean version.
Gonnym (
talk)
11:56, 25 September 2021 (UTC)
abbrev -> shortname -> passed value
, or (if no abbrev is asked for) shortname -> passed value
? I cannot think of one but that's why talk pages exist (to bounce ideas). If we can't figure out a reason why we wouldn't want to do it this way, I think we can reasonably start going live.
Primefac (
talk)
15:39, 27 October 2021 (UTC)
|only=yes
(name doesn't have to be "only") would get what was request. This might be rarely used or not at all maybe, but it seems correct to have it in there just in case (and it isn't really hard to code it).
Gonnym (
talk)
10:28, 28 October 2021 (UTC)
Parties with abbrev and shortname
|
---|
Alliance Party of Northern Ireland #F6CB2F APNI Alliance All-for-Ireland League #66FF99 AFI All-for-Ireland Business and Professional Group #3333CC BP Businessmen's Party Commonwealth Labour Party #b22222 ComLab Commonwealth Labour Democratic Socialist Party (Ireland) #FF0099 DSP Democratic Socialist Democratic Left (Ireland) #C700C7 DL Democratic Left Farmers' Party (Ireland) #B8860B FP Farmers' Party Green Party (Ireland) #22AC6F GP Green Irish Unionist Alliance #9999FF U Irish Unionist Irish Parliamentary Party #99FF66 IPP Irish Parliamentary Independent politicians in Ireland #DDDDDD Ind Independent Irish Democratic Party #23588C IDP Irish Democratic Independents 4 Change #FFC0CB I4C Inds. 4 Change Liberal Unionist Party #2061A2 LibU Liberal Unionist Liberal Democrats (UK) #FAA61A Lib Dem Liberal Democrats Liberal Party (UK) #ffd700 Lib Liberal Labour Party (Ireland) #CC0000 Lab Labour Labour Party (UK) #E4003B Lab Labour Mansfield Independent Forum #DDDDDD MIF Mansfield Independent National Labour Party (Ireland) #FF7F50 NLP National Labour Party Northern Ireland Labour Party #DC241f NILP NI Labour National Democratic Party (Northern Ireland) #DDFFDD NDP National Democratic National Centre Party (Ireland) #0000FF NCP National Centre Party Nationalist Party (Northern Ireland) #32cd32 Nat Nationalist Nationalist Party (Ireland) #99FF66 IrishNat Irish Nationalist People Before Profit/Solidarity #8E2420 PBP/S PBP/Solidarity Republican Labour Party #85de59 RepLab Republican Labour Republican (Ireland, 1923) #008800 Rep Republican Speaker of the House of Commons (United Kingdom) white Spkr Speaker Socialist Party (Ireland) #FF3300 SP Socialist Party Socialist Labour Party (Ireland) #AD3030 SLP Socialist Labour Social Democrats (Ireland) #752F8B SD Social Democrats Ulster Liberal Party #DAA520 ULib Ulster Liberal United Left (Ireland) #FF5555 UL United Left Workers' Party of Ireland #930C1A WP Workers' Party |
In that case, unless I hear otherwise from our third hand I'll re-combine the abbrev and shortnames, get rid of abbrev, and update the main module. Primefac ( talk) 09:27, 29 October 2021 (UTC)
|default=
which then if no color is found returns the requested default instead of the module default.This issue is still not resolved and a lot of what was in the shortname templates is still listed under abbrev, which will cause some issues as this is rolled out (for example, there is no shortname for the ANC, which will mess up South African election articles). Are we going to merge the two? If not (or at least not immediately), then the text that is in the abbrev field needs to be copied back across to the shortname field in cases where there is no shortname. Cheers, Number 5 7 12:46, 25 November 2021 (UTC)
abbrev
, it looks for abbrev -> shortname -> input. If you ask for a shortname
, it looks for shortname -> abbrev -> input. This means that we can keep the values separate in the module and we don't have to choose when a party has both an abbrev and shortname.
Primefac (
talk)
12:57, 25 November 2021 (UTC)
@ Primefac: is there a way to remove all the new articles in Category:Pages with script errors? seems related to this change? Frietjes ( talk) 21:55, 18 November 2021 (UTC)
|party=
is blank then it used to fetch
Template:/meta/color but now it returns {{#invoke:Political party|fetch||color}}
which is a script error!
Frietjes (
talk)
21:57, 18 November 2021 (UTC)
|error=white
to work for the colors, but maybe that should be |error1=
for error in the first parameter? By the way, we also need to fix lowercase i? See
this edit and
this edit to fix a script error. Thanks!
Plastikspork
―Œ(talk)
23:18, 18 November 2021 (UTC)Separately, I wasn't aware that implementation had started – would it be possible to tick off which templates have been converted from the meta templates to this module at Module talk:Political party/uses? Cheers, Number 5 7 21:59, 18 November 2021 (UTC)
Gonnym, I was just checking the final implementation of some conversions when I noticed that the 1980 United States presidential election (third infobox down in this section of the testcases) has an "independent (United States)" value but it is not being treated as "Independent (United States)". Does the getFirstLetter function starting on Line 15 need to be tweaked? Primefac ( talk) 12:47, 30 November 2021 (UTC)
["Independent (United States)"] = "Independent (US)",
. I think I see the issue now: we use an upper check for the index to choose the right subpage, but then we don't repeat that when actually looking for the name, so independent (United States)
will correctly shoot for the /I subpage, but then it will fail to match against the properly-capitalised version.
Primefac (
talk)
13:16, 30 November 2021 (UTC)
Some of the recent changes resulted in party shortnames and colors not displaying properly. See example. ― Tartan357 Talk 09:03, 21 November 2021 (UTC)
@ Primefac: It appears the recent switch of Template:Election box gain with party link no swing to using this module has produced an error where the losing party is displayed as its hex color code, rather than the party name. Example. ― Tartan357 Talk 03:08, 26 November 2021 (UTC)
@ Primefac: The change to {{ Infobox election/shortname}} is creating issues where the party name is input as a link rather than relying on a shortname template (which don't always exist). See, for example, 2022 Portuguese legislative election or Next Ukrainian parliamentary election. Number 5 7 13:04, 25 November 2021 (UTC)
|wikilinks=target
will fix that, yes?
Primefac (
talk)
13:14, 25 November 2021 (UTC)|link=
parameter, that when set to "no" will not attempt to find a shortname (e.g. |party3=[[Guyana Action Party|GAP]]–[[Working People's Alliance|WPA]]
would be returned directly as
GAP–
WPA
). However, this functionality doesn't actually exist in the main {{
infobox election}} or {{
infobox election/row}} (the latter of which calls the /shortname template). Thus, if the main infobox and /row templates are updated, the linkX parameter can be used to bypass the module search.
Primefac (
talk)
15:21, 25 November 2021 (UTC)I've started a discussion about the infobox and changes that need making. Primefac ( talk) 07:53, 29 November 2021 (UTC)
|link1=no
at
2000 Lithuanian parliamentary election, and nothing happens.
Number
5
7
10:21, 1 December 2021 (UTC)
|party_name=no
.
Primefac (
talk)
10:24, 1 December 2021 (UTC)
Having seen multiple edits pop up on my watchlist, there is a wider issue with the module attempting to add links to things that aren't meant to be linked (basically it tries to link everything entered to the party/alliance field as plain text, whether it has a /meta/shortname or not, while previously when you entered plain text to the party/alliance field, links were only created if a /meta/shortname template existed). Can the module be edited so that if a party name is entered as plain text, and no /meta/shortname exists, then it doesn't attempt to link it? I've tried using |party_name=no
to uses of {{
Infobox election}}, but it then delinks all parties, so you then have to add all the links back in manually... Cheers,
Number
5
7
10:48, 1 December 2021 (UTC)
The current batch of sub-modules was created nearly three months ago, since which there have been hundreds of new meta templates created, plus existing ones have been moved (from spotting an error in the 2022 Portuguese election infobox, I realised that he Left Bloc was not displaying properly as the meta templates were moved from Left Bloc to Left Bloc (Portugal) during the intervening period.
As it looks like implementation is happening now, could another run be done to grab the templates as they are now? Cheers, Number 5 7 13:13, 25 November 2021 (UTC)
Is this new run going to happen soon? Many of the meta templates are used for election infoboxes, which have now been converted (for the shortnames at least), so the gaps are staring to appear. Cheers, Number 5 7 13:18, 30 November 2021 (UTC)
Related to the above, I had a thought while doing this update in that any Party with a disambiguator (i.e. parentheses) should probably have their shortname be whatever the base party is (if it doesn't already have a shortname), so for example Democratic Action (El Salvador)
should have a shortname of Democratic Action
.
Primefac (
talk)
21:12, 30 November 2021 (UTC)
I've noticed an issue which has shown up on some pages. This is that attempting to fetch data for an alias, which is aliased to another alias, does not work. For example, "California Democratic Party" is aliased to "Democratic Party (California)" which is aliased to "Democratic Party (US)".
Code | Result |
---|---|
{{#invoke:Political party|fetch|California Democratic Party|shortname}} |
Democratic |
{{#invoke:Political party|fetch|Democratic Party (California)|shortname}} |
Democratic |
{{#invoke:Political party|fetch|Democratic Party (US)|shortname}} |
Democratic |
The result for the first invocation should be the same as for the latter two, but it isn't. Would be nice if this could be fixed, I don't have the knowledge of how this is programmed or the time to fix it myself. Elli ( talk | contribs) 23:54, 30 November 2021 (UTC)
This
edit request to
Module:Political party/R has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change ["Reform PH - People's Party"] = {abbrev = "RP", color = "#800000", shortname = "",}, to ["Reform PH-People's Party"] = {abbrev = "RP", color = "#800000", shortname = "",}, per redirect of the two pages. NewManila2000 ( talk) 01:22, 1 December 2021 (UTC)
Please also change ["Kabalikat ng Bayan sa Kaunlaran"] = {abbrev = "KABAKA", color = "#FEFD91", shortname = "",}, to ["Kabalikat ng Bayan sa Kaunlaran"] = {abbrev = "KABAKA", color = "#01692E", shortname = "",}, as per color change in its party color template. NewManila2000 ( talk) 03:34, 1 December 2021 (UTC)
Please also change ["Aggrupation of Parties for Progress"] = {abbrev = "APP", color = "#1325AE", shortname = "",}, to ["Aggrupation of Parties for Prosperity"] = {abbrev = "APP", color = "#1325AE", shortname = "",}, as per name change and page move in its party color template and party shortname template. NewManila2000 ( talk) 13:55, 1 December 2021 (UTC)
Please also change ["Probinsya Muna Development Initiative"] = {abbrev = "PROMDI", color = "#000040", shortname = "",}, to ["Progressive Movement for the Devolution of Initiatives"] = {abbrev = "PROMDI", color = "#000040", shortname = "",}, as per name change as stated in COMELEC list of tentative candidates for 2022 elections. NewManila2000 ( talk) 23:09, 1 December 2021 (UTC)
A few articles are in Category:Pages with script errors, for example Poole (UK Parliament constituency). The error is hidden. It is due to the use of the following:
{{party color|Cavalier}} {{party color|Roundhead}}
Previewing either of these shows "Lua error in package.lua at line 80: module 'Module:Political party/' not found." Something is missing and ends up as an empty string after the slash. Johnuniq ( talk) 02:56, 7 December 2021 (UTC)
I'm hoping someone here knows how to fix another problem. 2010 Cook Islands general election#Party totals is showing "Lua error: bad argument #1 to 'sub' (string expected, got table)." That happens at line 16 of Module:Political party in function "getFirstLetter" which is called from line 59 in function "_fetch" which is called from line 62 of Module:Election results in function "get_color". Johnuniq ( talk) 04:10, 10 December 2021 (UTC)
I added support for a module entry point by splitting the fetch function (same idea was already implemented in the sandbox). this will allow us to change Module:Election results to use this module directly. let me know if there are any problems. if there are no problems, I will update Module:Election results to stop using the /meta/color templates. Frietjes ( talk) 15:57, 8 December 2021 (UTC)
Hi, can someone update Right to Change, it is currently at Right To Change. This is causing to colour to be blank. Spleodrach ( talk) 21:48, 8 December 2021 (UTC)
This
edit request to
Module:Political party/R has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change "Rikken Minseito #8DB600" to "Rikken Minseito #6EA4CA"
Change "Rikken Seiyukai #FF3333" to "Rikken Minseito #B0D3A8"
The new colors
1. Conform with various pre-existing election diagrams
2. Form a more aesthetically pleasing color palate in a two-party system
Both parties never had any official colors.
沁水湾 (
talk)
00:04, 9 December 2021 (UTC)
...for which editors have decided to use a certain colour- so... it's completely arbitrary? Genuinely trying to understand how we're going to deal with future TPERs saying "X party's colour is wrong" and potentially avoid arguments over changing from green to blue back to green again when it's all made up anyway. Primefac ( talk) 10:33, 9 December 2021 (UTC)
With more folks editing and updating this module (and fixing errors!) I've updated the main documentation to hopefully make it a bit easier for people not intimately familiar with the code to help out. Wordsmithing is welcomed. Primefac ( talk) 13:14, 9 December 2021 (UTC)
@ Gonnym, Primefac, Number 57, and Jonesey95: I just hacked together User:Frietjes/politicalparty.js which when installed in your common.js gives you a new special page, "Special:PoliticalParty". if you press the "query" button on that page, it will check the module subpages for (1) duplicate entries which could be a duplicate "full name" or a duplicate "alternative name" or an "alternative name" that is also a "full name" (2) broken redirects which are alternative name targets that don't exist as full names. Here is the result from running it a few minutes ago.
Duplicates: | Broken redirects: |
---|---|
Liberal |
the first entry in the "duplicates" column is "Abolish the Welsh Assembly". searching Module:Political party/A for that entry, you will see the problem.
the first entry in the "broken redirects" column is a redirect to "Other parties (US)". searching Module:Political party/O I see that "Other parties (US)" is a redirect to "Other parties" so this is a double redirect. I don't know if the module allows for double redirects?
I haven't checked to make sure that all the results are valid problems, but I thought it might be useful tool. the "broken redirects" could be checked using LUA, but the duplicates are harder, because LUA doesn't care if you overwrite a prior entry with a new entry. it also doesn't check to make sure the entries are "well formed" (like full entries in the alternate section, or the other way around), but I could probably do something if we think this could be a problem. let me know if you have any comments, suggestions, etc. Frietjes ( talk) 21:42, 10 December 2021 (UTC)
Example text. Can you please check my work? I haven't added a new script for a while, and I may be using an outdated method of importing scripts. – Jonesey95 ( talk) 19:30, 13 December 2021 (UTC)
After the amazing PrimeBot did its work, I did a quick search and found a few pages with malformed /meta/color template calls. I fixed most of them; some of the ones I fixed need replacement by the bot. – Jonesey95 ( talk) 15:01, 12 December 2021 (UTC)
Hi all. I have tried to understand this change from Election Box Metadata templates to modules, but it's really not settling in my head.
I've been tending this particular garden for years here so I'm determined to understand the new process.
So here is my first of what might be a tonne of questions. If there is created a new article for a new political party, how does an editor create the colour/shortname that we need to for results boxes etc?
Thanks x doktorb words deeds 21:31, 12 December 2021 (UTC)
Unlike the Scottish Conservatives, the Welsh Conservatives don't get shortened to "Conservative". Plus, UKIP now links to UKIP instead of UK Independence Party. Thankfully, Propel no longer shows up with brackets, which it was doing until recently. Unreal7 ( talk) 21:57, 12 December 2021 (UTC)
I noticed that the colours for the National Democratic Alliance and United Progressive Alliance aren't showing up when transcluded through Template:Party name with colour. They seem to be working when transcluded through Template:Party name with color, though, which seems odd. Anyone know why this is happening?
e.g. Goa Legislative Assembly vs Chhattisgarh Legislative Assembly.
YttriumShrew ( talk) 08:55, 13 December 2021 (UTC)
This talkpage seems to be filling out quite rapidly, so I therefore propose that we add an archiving bot. I think ClueBot III seems to be more appropriate for this situation. What do people think? YttriumShrew ( talk) 19:50, 13 December 2021 (UTC)
The headers in this section have been removed for the sake of the TOC and for clarity, as have the {{ EPER}} templates. Primefac ( talk) 20:53, 14 December 2021 (UTC)
This
edit request to
Module:Political party/U has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The colour for Ukrainian Strategy of Groysman party is incorrect, it should be #F6DF55. This color is used in the range. A similar color is also used on the Ukrainian version of Wikipedia. Many Ukrainian parties are given the color blue, so it will be better to distinguish between parties, for example in the article "Opinion polling for the next Ukrainian parliamentary election". Block baby ( talk) 14:45, 13 December 2021 (UTC)
The colour for Servant of the People (political party) is incorrect, it should be #37B34A. This color is used in the logo and is more correct. Block baby ( talk) 15:50, 13 December 2021 (UTC)
The colour for European Solidarity is incorrect, it should be #2760AD. This color is used in the logo and is more correct. Block baby ( talk) 15:56, 13 December 2021 (UTC)
The colour for Opposition Platform — For Life is incorrect, it should be #0062B8. This color is used in the logo and is more correct. Block baby ( talk) 16:30, 13 December 2021 (UTC)
The colour for All-Ukrainian Union "Fatherland" party is incorrect, it should be #EE2136. This color is used in the logo and is more correct. Also the article changed its name to Batkivshchyna (political party). Block baby ( talk) 16:34, 13 December 2021 (UTC)
The colour for Strength and Honor is incorrect, it should be #0063AF. This color is used in the logo and is more correct. Block baby ( talk) 16:38, 13 December 2021 (UTC)
The colour for Nashi (political party) party is incorrect, it should be #101B4F. This color is used in the logo and is more correct. Block baby ( talk) 16:40, 13 December 2021 (UTC)
The colour for Radical Party of Oleh Liashko is incorrect, it should be #D4544E. This color is used in the logo and is more correct. Block baby ( talk) 16:42, 13 December 2021 (UTC)
The colour for Svoboda (political party) is incorrect, it should be #0E294D. This color is used in the logo and is more correct. Block baby ( talk) 16:45, 13 December 2021 (UTC)
The colour for Party of Shariy is incorrect, it should be #FF0000. This color is used in the logo and is more correct. Block baby ( talk) 16:48, 13 December 2021 (UTC)
The colour for Ukrainian Democratic Alliance for Reform is incorrect, it should be #DA2127. This color is used in the logo and is more correct. Block baby ( talk) 16:50, 13 December 2021 (UTC)
The colour for Voice (Ukrainian political party) is incorrect, it should be #FA4616. This color is used in the logo and is more correct. Block baby ( talk) 16:52, 13 December 2021 (UTC)
The name Radical party of Oleh Lyashko is not correct, Radical party of Oleh Liashko is correct Block baby ( talk) 20:06, 13 December 2021 (UTC)
["<Farmers' Party (Sweden)>"] = {abbrev = "B", color = "#016A39", shortname = "Farmers' League",},
Could the Farmers' Party (Sweden)'s shortname be changed to Farmers' League, because Centre Party is for its successor? Thank you in advance. 2A02:C7F:662B:5700:D04A:934:F717:731A ( talk) 05:55, 14 December 2021 (UTC)
This
edit request to
Module:Political party/B has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The name All-Ukrainian Union "Fatherland" is not correct, should be Batkivshchyna (political party). Block baby ( talk) 15:57, 14 December 2021 (UTC)
The name Batkivshchyna is not correct, should be Batkivshchyna (political party). Add shortname Batkivshchyna. Block baby ( talk) 20:05, 14 December 2021 (UTC)
Also change the color of Batkivshchyna (political party) to #EE2136 and delete All-Ukrainian Union "Fatherland" from Module:Political party/A (the same things). Block baby ( talk) 20:11, 14 December 2021 (UTC)
About Batkivshchyna (political party). #EE2136 - This color is used in the logo and is more correct. This is the exact color of the heart on the logo. Yesterday I changed the colors for all the main Ukrainian parties, you can see it in history. I changed the color for the all-Ukrainian Union "Fatherland" to #EE2136. The name and shortname should be the same as in the Svoboda party, because it is also an all-Ukrainian Union and there the name is Svoboda (political party) and the shortname is Svoboda. That's more correct, I want to be okay with that. Block baby ( talk) 20:27, 14 December 2021 (UTC)
Ok, I used website imagecolorpicker for each Ukrainian party. For Batkivshchyna I used File:Logo of the All-Ukrainian Union "Fatherland".svg (it uses English Wikipedia) and looked what color is heart and it is #EE2136. I also checked the information on other sites. As for the name, I mean Svoboda A.K.A. All-Ukrainian Union “Freedom” and has the name Svoboda (political party) and the short name Svoboda. So Batkivshchyna A.K.A. All-Ukrainian Union “Fatherland” should have the name Batkivshchyna (political party) and the short name Batkivshchyna. I mean they both are Unions, but different unions. So they should be named according to the same scheme. Block baby ( talk) 21:40, 14 December 2021 (UTC)
This
edit request to
Module:Political party/B has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The Color for Batkivshchyna is not correct, should be #EE2136. This color is used in the logo and is more correct. Also the name Batkivshchyna is not correct, should be Batkivshchyna (political party), because it is All-Ukrainian Union. Another All-Ukrainian Union has the name Svoboda (political party) and short name Svoboda. Block baby ( talk) 13:13, 15 December 2021 (UTC)
You did it in edit requests section:
The colour for All-Ukrainian Union "Fatherland" party is incorrect, it should be #EE2136. This color is used in the logo and is more correct. Also the article changed its name to Batkivshchyna (political party). Block baby (talk) 16:34, 13 December 2021 (UTC) Done. Primefac (talk) 13:27, 14 December 2021 (UTC)
Block baby ( talk) 07:48, 16 December 2021 (UTC)
Ok, then can I change the colors of all parties presented in the article Next Ukrainian parliamentary election, as well as Opinion polling for the next Ukrainian parliamentary election by the same parameter - take the main color from the site of each party? I can do it tonight and have it in order. Block baby ( talk) 11:53, 16 December 2021 (UTC)
This
edit request to
Module:Political party/B has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Delete shortname Batkivshchyna, as a name is the same. Block baby ( talk) 17:39, 15 December 2021 (UTC)
This
edit request to
Module:Political party/R has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The color of Radical party of Oleh Liashko is not correct, should be #C8102E. This color is used on the new party logo. Block baby ( talk) 17:54, 15 December 2021 (UTC)
I applied for a color change not because I wanted to, but because the party changed the logo. Block baby ( talk) 07:56, 16 December 2021 (UTC)
This
edit request to
Module:Political party/S has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Color of Servant of the people is not correct, should be #38b34a. This color is used by the party site. Block baby ( talk) 15:44, 16 December 2021 (UTC)
This
edit request to
Module:Political party/E has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The color of European Solidarity is not correct, should be #1b3892. This color is used by the party site. Block baby ( talk) 15:47, 16 December 2021 (UTC)
This
edit request to
Module:Political party has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change color of Opposition Platform - for life to #1B508A. Change color of Stregth and Honor to #0064B4. Change color of Nashi to #16327A. Change color of Ukrainian Stategy of Groysman to #FFDD00. Change color of Radical party of Oleh Liashko to #D64541. Change color of Ukrainian Democratic Alliance for Reform to #C93732.
These colors are used by the party sites and more correct. Block baby ( talk) 16:45, 16 December 2021 (UTC)
{{
edit template-protected}}
template. Wikipedia is NOT governed by other sites. -
FlightTime (
open channel)
16:48, 16 December 2021 (UTC)
For whatever reason, the module seemed to have a number of difficulties importing Irish party names. Thankfully I was able to fix the major party names just there. However, a number of parties are still broken and some I cannot access as their section is locked.
Can someone attempt to fix ["Sinn Féin (Anti-Treaty)"] and ["Sinn Féin (Pro-Treaty)"] in the S section? Until they're fixed, 1922 Irish general election is broken. The timing of this is awkward as there's a lot of attention in Ireland right now on the 1922 election in the national media due to the forthcoming centenary of the event.
Can I also request that in the C section, Cumann na nGaedheal's shortname be made "Cumann na nGaedheal", that Clann na Poblachta's shortname be made "Clann na Poblachta" and that Clann na Talmhan's shortname be made "Clann na Talmhan". In the I section, may I request that Irish Worker League's shortname be made "Irish Worker League".
I think that would cover the Irish parties that appear in Infoboxes which are currently experiencing issues. Thank You. CeltBrowne ( talk) 07:35, 6 December 2021 (UTC)
["Sinn Féin (Anti-Treaty)"] = "Sinn Féin",
to
["Sinn Féin (Anti-Treaty)"] = "Sinn Féin (Anti-Treaty)",
and
["Sinn Féin (Pro-Treaty)"] = "Sinn Féin",
to
["Sinn Féin (Pro-Treaty)"] = "Sinn Féin (Pro-Treaty)",
This seemed to fix the issue over on the infobox side over at 1922 Irish general election. However, this was reverted by Primefac with the message: "neither of these parties exist in the module, which is why they are alternate names". To be perfectly honest, I don't understand what that means in technical terms. I'm just seeking that both "Sinn Féin (Anti-Treaty)" and "Sinn Féin (Pro-Treaty)" display as such, rather than as simply "Sinn Féin". Thank you for your help so far. CeltBrowne ( talk) 07:55, 6 December 2021 (UTC)
|partyX_name=
, which if set to "no" will not go via the module. See
this discussion for more.
Primefac (
talk)
09:13, 6 December 2021 (UTC)
|partyX_name=
function. I'm not really honed in on the more advanced aspects of coding here on Wikipedia, not yet anyway, I just learn as I go. I was just surprised earlier when I saw all the significant current Irish party names abbreviated and going through the module was just the first solution I came across.
CeltBrowne (
talk)
09:36, 6 December 2021 (UTC)
{{
party shortname linked|Fianna Fáil}}
. However, that call is pointless if the result is "Fianna Fáil" (and in general, the more templates calls on a page, the slower it loads, so if there is no need for one, it really shouldn't be used). Instead of calling the template, just do
Fianna Fáil. The module is not a substitute for incorrect usage.
Gonnym (
talk)
12:46, 6 December 2021 (UTC)
["People's Progressive Party (Nepal)"] = {abbrev = "PPP", color = "#228B22", shortname = "PPP (N)",} 36.252.119.156 ( talk) 18:44, 15 December 2021 (UTC) Till when do we have to wait? @ Soman:, can you help here?
I had a worrying feeling this would happen, but given the dozens of colour-change requests we've received in the past 48 hours we need to sort out how we're going to deal with this, especially since we have some editors enacting the protection requests and others rejecting them because of "no consensus". I'm all for being as accurate as possible, but something makes me think that we'll sit around debating colours all day if we need to have a consensus. On the other hand, one of the requests wanted a change from to , which are literally indistinguishable. Primefac ( talk) 17:51, 16 December 2021 (UTC)
pary color of free voters/ freie wähler in germany is wrong, they use orange not blue 80.156.219.243 ( talk) 09:50, 17 December 2021 (UTC)
Pls add it. ChongTsz ( talk) 03:38, 19 December 2021 (UTC)
This
edit request to
Module:Political party/C has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Change Civil Position party color to #FFDD00. This color is used by the party site. I would change it by myself, but this article has increased privacy. Block Baby ( talk) 18:37, 19 December 2021 (UTC)
["Labor Party (United States, 19th century)"] = {abbrev = "", color = "#FF6347", shortname = "Labor",}
This one badly needs a shortname added, the full name breaks a lot of the templates it's used in. -- Asdasdasdff ( talk) 01:26, 20 December 2021 (UTC)
["Social Democratic Movement"] = {abbrev = "MDS", color = "#43B53C", shortname = "Social Democratic",}
"Democratic" also works as a short name. Krisgabwoosh ( talk) 08:09, 21 December 2021 (UTC)