This article is within the scope of WikiProject Elections and Referendums, an ongoing effort to improve the quality of, expand upon and create new articles relating to elections, electoral reform and other aspects of democratic decision-making. For more information, visit our project page.Elections and ReferendumsWikipedia:WikiProject Elections and ReferendumsTemplate:WikiProject Elections and ReferendumsElections and Referendums articles
This article is within the scope of WikiProject Politics of the United Kingdom, a collaborative effort to improve the coverage of Politics of the United Kingdom on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Politics of the United KingdomWikipedia:WikiProject Politics of the United KingdomTemplate:WikiProject Politics of the United KingdomPolitics of the United Kingdom articles
This article is within the scope of WikiProject Lists, an attempt to structure and organize all list pages on Wikipedia. If you wish to help, please visit the project page, where you can join the project and/or contribute to the discussion.ListsWikipedia:WikiProject ListsTemplate:WikiProject ListsList articles
This article is written in British English, which has its own spelling conventions (colour, travelled, centre, defence, artefact, analyse) and some terms that are used in it may be different or absent from other varieties of English. According to the relevant style guide, this should not be changed without broad consensus.
Latest comment: 1 day ago2 comments1 person in discussion
The table has a heading "party of notional incumbent" but gives no explanation of this term, nor any source for the data. There is also nothing to indicate whether a constituency has the same boundaries as previously. For example, Westmorland and Lonsdale's boundaries changed so that the BBC describes it as a Lib Dem gain from Conservative, although Tim Farron held a seat of that name previously. PamD05:54, 6 July 2024 (UTC)Reply
And the previous MP for Leeds North West was Alex Sobel, Labour, although Stewart Andrew, Conservative, described here as the incumbent, was MP for Pudsey. Yes, the boundary changes make things confusing, but this table oversimplifies the situation. PamD07:02, 6 July 2024 (UTC)Reply
This gets strange: the code looks identical, with "data-sort-value" provided, but it just doesn't sort on that key. Presumably there is some subtle difference to the table code ... can someone please find the problem and fix it? When I sort on member name I consistently see Abena Oppong-Asare at the top and Zubir Ahmed at the bottom, while the 2019 list, sorted, runs from Diane Abbott to Daniel Zeichner as expected. @Roc0ast3r and Moondragon21: as creator and recent editor of the list. PamD08:09, 6 July 2024 (UTC)Reply
Looking at the code, it looks like data-sort-value is provided in some MPs, but just doesn't exist in most of them. Heidi Alexander, Rushanara Ali, and Tahir Ali—for example—are between Alex Sobel and Alice MacDonald; both Sobel and MacDonald don't have the data-sort-value attribute added, while Alexander and both Alis do. Basically: the table is working as intended, it's just that the majority of MPs don't have a sorting value attached to their respective row. Also doing a CTRL+F search for "data-sort-value" brings 128 results, and there are 650 total MPs. Clearly, the data-sort-value attribute is lacking. RONIN TALK08:29, 6 July 2024 (UTC)Reply
@Roc0ast3r Ah, thanks. I only looked at the top one or two, saw that they had the data-sort-value, and assumed consistency (why?!). So there's some tidying-up needed.
But another time, people, please remember if contributing to a sortable table you need to consider sort values - there are a couple of ways to do it but it's much easier to do it when adding data than retrofitting. The first few entries were added with data-sort-value, and I suppose later editors were just keen to get the "me, me, I added them first" buzz, rather than continuing to create a well-crafted list. (Yes, one reason I stayed up till 5:30am was because I had a nice little draft prepared for the person I hoped would get elected locally, and I wanted to create that article myself, so I recognise the feeling). This is an encyclopedia not a news outlet, the results were available elsewhere, so it would have been better to slow down a little and continue to create a good table, following the model of those first few entries. PamD15:45, 7 July 2024 (UTC)Reply