Jump to content

Wikipedia:Village pump (technical)

From Wikipedia, the free encyclopedia
(Redirected from Wikipedia:VPT)

 Policy Technical Proposals Idea lab WMF Miscellaneous 
The technical section of the village pump is used to discuss technical issues about Wikipedia. Bug reports and feature requests should be made in Phabricator (see how to report a bug). Bugs with security implications should be reported differently (see how to report security bugs).

If you want to report a JavaScript error, please follow this guideline. Questions about MediaWiki in general should be posted at the MediaWiki support desk. Discussions are automatically archived after remaining inactive for 5 days.

Proposal for a gadget to allow a template to view multiple frames

[edit]
This image moves fast, so it is difficult for readers to understand the information. It would be more accessible to allow clicking back and forth.

Greetings. I have a proposal for a template for use in articles that would be based on a gadget. If I'm not mistaken, this would have to be a JavaScript gadget rather than a Lua module as it requires user input. Apologies if I'm in the wrong place.

The issue I want to solve is this: when there is a series of e.g. chronological information to be conveyed visually, the best current solution is to use an animated image. For example, see the animation of a chess game on Kasparov versus the World or the chronological map on Slave states and free states. Animated images can only present information at the rate of the frames in the image; it is inconvenient or inaccessible for readers who would prefer a different rate.

This could be solved using a template that has back and forth buttons (and/or a slider) to scroll through multiple still images. There is already one template that does a more specialized version of this: Template:Owidslider is designed to convey information from Our World in Data, and is designed for hoverable SVG maps that are listed in the template data. My proposal is for a similar template that would instead allow any image files, which could be inputted as parameters.

I have never coded a MediaWiki gadget before, so I would like some help in creating this. I would also like suggestions about how to implement it. — Vigilant Cosmic Penguin 🐧(talk | contribs) 06:55, 19 December 2025 (UTC)[reply]

@Vigilantcosmicpenguin: {{Switcher}} uses MediaWiki:Gadget-switcher.js to make a list of labeled buttons for switching between selected content, usually images. It's not very practical to go sequentially through a long list of images. PrimeHunter (talk) 13:00, 19 December 2025 (UTC)[reply]
This can be done with MediaWiki:Gadget-calculator.js; doesn't require a new gadget. For the chessboard use case in particular, @Bawolff has done some experiments which I think almost reached a production-ready state. (I also did some experiments, but I forget what state I left it in.) – SD0001 (talk) 13:53, 19 December 2025 (UTC)[reply]
Ah, thanks. Glad to see that someone is already working on this. I might fork that gadget to create a version that works with images, like in the case of the chronological map. Thanks Bawolff! — Vigilant Cosmic Penguin 🐧(talk | contribs) 19:15, 19 December 2025 (UTC)[reply]
Hi, glad its useful. Module:Sandbox/Bawolff/Chessboard is mostly in my userspace as nobody seemed that interested in using it in articles, but happy to move to template space if there is interest in using. Bawolff (talk) 22:22, 19 December 2025 (UTC)[reply]
For anyone else unfamiliar with the history: a gadget has existed for a long time (it's deployed on Hebrew Wikipedia and I believe Russian Wikipedia) and consensus was reached in 2019 to deploy it, but the interface admins disagreed with changing the site-wide Javascript file to add a hook for on-demand loading. The gadget's author went on to pursue the approach that had been recommended: creating an extension. But getting an extension deployed is very difficult. Now that the base MediaWiki software supports on-demand loading, the existing gadget could be deployed. However, it's understandable if the gadget's author is a bit burnt out from having tried for so long to get a gadget and then an extension deployed. isaacl (talk) 23:45, 19 December 2025 (UTC)[reply]
It really is a sad case about the chessbrowswer extension. They did literally everything right, the extension is beautiful, had induvidual wmf staff buy-in, and yet it was still rejected. Part of my goals with the calculator gadget was to make something generic enough that it could be used for a variety of things without asking permission each time. Bawolff (talk) 00:16, 20 December 2025 (UTC)[reply]
If I'm understanding correctly, it's not that the calculator gadget literally can also provide slideshow functionality. However the somewhat inaptly named mw:Template gadgets feature can be used to load a gadget only for pages with a specific category (typically added by a template), which is how the calculator gadget is loaded. This should make it easier to get new gadgets approved. isaacl (talk) 23:33, 19 December 2025 (UTC)[reply]
Having looked at the sandbox module after Bawolff's response to my comment regarding history, I stand corrected: although I don't understand the mechanism, it is using the calculator gadget as a front end to create buttons that trigger changes to the display. isaacl (talk) 01:49, 20 December 2025 (UTC)[reply]
(edit conflict) @Vigilantcosmicpenguin, Module:Sandbox/Bawolff/Chessboard seems to do what you want. — Qwerfjkltalk 13:54, 19 December 2025 (UTC)[reply]
And we at Wiki Project Med Foundation are happy to fund User:Bawolff to make further improvements to the calculator tool if needed. We improved the generic image slider for CT scans at Appendicitis#Diagnosis. Doc James (talk · contribs · email) 19:31, 21 December 2025 (UTC)[reply]

@Vigilantcosmicpenguin:: So this is what is available currently with {{Calculator}}: For Chess. {{chess viewer|pgn=1. e4 c5 2. Nf3 d6 3. Bb5+ Bd7 4. Bxd7+ Qxd7 5. c4 Nc6 6. Nc3 Nf6 7. O-O g6 8. d4 cxd4 9. Nxd4 Bg7 10. Nde2 Qe6 11. Nd5 Qxe4 12. Nc7+ Kd7 13. Nxa8 Qxc4 14. Nb6+ axb6 15. Nc3 Ra8 16. a4 Ne4 17. Nxe4 Qxe4 18. Qb3 f5 19. Bg5 Qb4 20. Qf7 Be5 21. h3 Rxa4 22. Rxa4 Qxa4 23. Qxh7 Bxb2 24. Qxg6 Qe4 25. Qf7 Bd4 26. Qb3 f4 27. Qf7 Be5 28. h4 b5 29. h5 Qc4 30. Qf5+ Qe6 31. Qxe6+ Kxe6 32. g3 fxg3 33. fxg3 b4 34. Bf4 Bd4+ 35. Kh1 b3 36. g4 Kd5 37. g5 e6 38. h6 Ne7 39. Rd1 e5 40. Be3 Kc4 41. Bxd4 exd4 42. Kg2 b2 43. Kf3 Kc3 44. h7 Ng6 45. Ke4 Kc2 46. Rh1 d3 47. Kf5 b1=Q 48. Rxb1 Kxb1 49. Kxg6 d2 50. h8=Q d1=Q 51. Qh7 b5 52. Kf6+ Kb2 53. Qh2+ Ka1 54. Qf4 b4 55. Qxb4 Qf3+ 56. Kg7 d5 57. Qd4+ Kb1 58. g6 Qe4 59. Qg1+ Kb2 60. Qf2+ Kc1 61. Kf6 d4 62. g7 1-0}} makes:

abcdefgh
8
white rook
white pawn
black bishop
black pawn
white pawn
black pawn
black rook
white queen
black pawn
white pawn
white bishop
white pawn
white bishop
black bishop
white pawn
white pawn
white knight
black knight
black king
white rook
black pawn
white pawn
black knight
white knight
white king
black pawn
black pawn
black pawn
black queen
black rook
white pawn
black pawn
8
77
66
55
44
33
22
11
abcdefgh

For the animated GIF about slave states. Option 1 with arrows:

{{Spatial image viewer
|images=
    United_States_1789-03-1789-08.png
    United_States_1800-07-04-1800-07-10.png
    United_States_1821-07-1821-08.png
    United_States_1837-01-1837-03.png
    United_States_1845-03-1845-12.png
    United_States_1846-12-1848-02.png
    United_States_1858-1859.png
    United_States_1861-01-1861-02-04.png
|fallbackImage=File:US Slave Free 1789-1861.gif
|caption=How free/slave status of U.S. states and territories evolved over time between 1789–1861.
}}
How free/slave status of U.S. states and territories evolved over time between 1789–1861.

Another option with a slider (This is currently in my userspace, but I can move it to template space if people are interested in using it):

How free/slave status of U.S. states and territories evolved over time between 1789–1861.

Do those cover what you are looking for? Let me know what you think. Bawolff (talk) 08:50, 22 December 2025 (UTC)[reply]

I note that all of those chess piece images are multi-licensed as GPL / GFDL / BSD / CC BY-SA, all of which require the link to the file description page for author attribution and notice of the license. If you're not going to link them, you should use CC0 or public domain images instead (or decide those are c:Template:PD-ineligible of some sort and update Commons accordingly). See MOS:BLANKALT and MOS:EMPTYALT for details. Anomie 14:19, 22 December 2025 (UTC)[reply]
That's a good point, however this also seems to be an existing problem with most chess articles as they largely use {{Chess diagram}} (which i copied) which doesn't link. Bawolff (talk) 14:50, 22 December 2025 (UTC)[reply]
These templates both work quite well. I think I'll try creating a template that combines both, so there's an option to include both the arrows and the slider, and adds a pause/play button. — Vigilant Cosmic Penguin 🐧(talk | contribs) 21:30, 22 December 2025 (UTC)[reply]
My version of the template is at User:Vigilantcosmicpenguin/sandbox/Template:Frames. This shows the functionality with both the arrows and the slider, which I believe is more convenient/accessible as people might prefer buttons. (Will fix the CSS positioning weirdness later.)
The free/slave status of U.S. states and territories, 1789–1861.


— Vigilant Cosmic Penguin 🐧(talk | contribs) 04:37, 26 December 2025 (UTC)[reply]

If exists in Javascript

[edit]

Working on a userscript.. Is there an #ifexist equivalent for javascript?? I.E. is there an easy way to check if a page exists or do I have to write an API query... Zackmann (Talk to me/What I been doing) 20:04, 23 December 2025 (UTC)[reply]

@Zackmann08: Computer says no. Gemini seems quite good at answering questions like this one.
  • API Query: Checking any page on the wiki; one network request.
  • CSS Class Checking a link already visible to the user — if ($('a[title="Your Page Title"]').hasClass('new')) {}
  • mw.config Checking the current page you are sitting on — if (mw.config.get('wgArticleId') === 0) {}
Ponor (talk) 20:44, 23 December 2025 (UTC)[reply]
@Ponor: thank you. I did try Gemini but was hoping I was missing something. Alas, for my needs, it will have to be an API query. Thanks! Zackmann (Talk to me/What I been doing) 21:05, 23 December 2025 (UTC)[reply]
Yes you would have to write an API query. Javascript executes on the user's browser, which has no way of knowing if a specific page exists. Bawolff (talk) 21:15, 23 December 2025 (UTC)[reply]
mw.Title.exist? Izno (talk) 21:16, 23 December 2025 (UTC)[reply]
@Izno: couldn't get it to work. All good. Wrote this and it is working for my needs. Zackmann (Talk to me/What I been doing) 21:27, 23 December 2025 (UTC)[reply]
That documentation is so misleading. It doesn't do anything on its own, you have to implement it yourself... And no core or extension module seems to. Nardog (talk) 22:52, 23 December 2025 (UTC)[reply]
A bit too late, but there is also Wikipedia:WikiProject User scripts/Scripts/Page exists, created in 2024. Confusingly, the parent page is Wikipedia:User scripts/Snippets (not /Scripts). It can be found at Wikipedia:User scripts#Snippets. Most of these snippets are unmaintained, unfortunately. —⁠andrybak (talk) 06:09, 28 December 2025 (UTC)[reply]

Display of PDF previews

[edit]

PDFs are not displaying a preview properly when embedded into articles, just a broken description. The files are not deleted, but they're not showing up correctly on desktop (did not check if works in mobile). See Organisation of the League of Nations#Constitutional organs and Zoo key. Is this is problem that can be fixed by forcing the PDF preview as a JPG or something? — Rtrb (talk) (contribs) 21:28, 23 December 2025 (UTC)[reply]

@Rtrb: They display for me in the articles. What exactly do you mean by "preview" which may refer to several features? If I click them then I go to the file page which has a larger version instead of seeing a larger version in the Media Viewer like with images. Is that what you mean? PrimeHunter (talk) 21:50, 23 December 2025 (UTC)[reply]
In the "thumb" version of the file/image, I'm seeing the name of the file name ("Cover page from US Patent 188.343, titled "Novelty Key". Includes seven drawings of an elephant-shaped key, shown from various views (front, back, side, etc.)") and a broken image icon. I've taken a screenshot:
Screenshot of what I'm seeing. From Zoo key article.
Rtrb (talk) (contribs) 22:10, 23 December 2025 (UTC)[reply]
@Rtrb: So you simply don't see images in the article. You actually see the alt text defined in the article and not the file name but that's unimportant here. The HTML has a srcset with versions in three sizes:
The browser picks one of them and may make a different pick for us but I see images at all three links so that doesn't explain the difference between us. Do you see images at the links? What is your browser? Are other images displaying correctly in articles? PrimeHunter (talk) 00:10, 24 December 2025 (UTC)[reply]
Other images and links are displaying correctly in all other articles, and even other images in the same articles. I was using Microsoft Edge on Windows 11, but that was on my work computer. I won't be around there to do more testing since it's the holidays. — Rtrb (talk) (contribs) 00:49, 24 December 2025 (UTC)[reply]
Brainwave: just remembered that the work computers have a virus-scan thing in the browser that sometimes messes with how pdf's display. This is probably the cause. — Rtrb (talk) (contribs) 04:52, 26 December 2025 (UTC)[reply]

A map for San Lorenzo, Paraguay

[edit]

Would someone be able to create a map of San Lorenzo for https://en.wikipedia.org/w/index.php?title=Module:Location_map/data/Paraguay_San_Lorenzo&action=edit similar as to https://en.wikipedia.org/wiki/Module:Location_map/data/Paraguay_Asunci%C3%B3n ? This is for an infobox of a museum in San Lorenzo. Or any other (interactive) map of San Lorenzo would do, if not a .PNG Perhaps an interactive map could even be better, to be shown in the infobox, zoomed on San Lorenzo. Vincent Mia Edie Verheyen (talk) 16:39, 24 December 2025 (UTC)[reply]

What I mean with interactive map: see an example at https://en.wikipedia.org/wiki/Botanical_Garden_and_Zoo_of_Asunci%C3%B3n#/map/0 which is embedded within https://en.wikipedia.org/wiki/Botanical_Garden_and_Zoo_of_Asunci%C3%B3n Vincent Mia Edie Verheyen (talk) 21:23, 24 December 2025 (UTC)[reply]
Vincent Mia Edie Verheyen, a better place for your request is Wikipedia:Graphics Lab/Map workshop. Mathglot (talk) 02:12, 27 December 2025 (UTC)[reply]
Mathglot, Thank you, asked in https://en.wikipedia.org/wiki/Wikipedia:Graphics_Lab/Map_workshop#Request_-_Map_of_San_Lorenzo_and_surroundings_-_Interactive_map I can use https://export.hotosm.org/ I believe for a nice export (since https://www.openstreetmap.org/ > export complains about too many nodes, but I would prefer an interactive map such as in https://en.wikipedia.org/wiki/Botanical_Garden_and_Zoo_of_Asunci%C3%B3n#/map/0 which is embedded within https://en.wikipedia.org/wiki/Botanical_Garden_and_Zoo_of_Asunci%C3%B3n Vincent Mia Edie Verheyen (talk) 14:05, 27 December 2025 (UTC)[reply]
I now uploaded https://commons.wikimedia.org/wiki/File:PNG-Map_of_San_Lorenzo_and_surroundings_(Asunci%C3%B3n,_Capiat%C3%A1,_Lambar%C3%A9,_Villa_Elisa,_%C3%91emby,_Luque,_San_Antonio)_-_OpenStreetMap_27_December_2025.png but having some troubles in using it, i.e. making https://en.wikipedia.org/wiki/Module:Location_map/data/Paraguay_San_Lorenzo give map output analogous to how https://en.wikipedia.org/wiki/Module:Location_map/data/Paraguay_Asunci%C3%B3n does it. @Əkrəm: @Izno: @Zackmann08: Vincent Mia Edie Verheyen (talk) 00:01, 28 December 2025 (UTC)[reply]
OK, it is now showing. But the name of the coordinates on that pushpin map in the infobox does not show in https://en.wikipedia.org/wiki/National_Museum_of_Natural_History_of_Paraguay as it does analgously in pushpin map of the infobox of https://en.wikipedia.org/wiki/San_Bernardino,_Paraguay It only shows on mouse hover. Does someone know how to show it permanently such as in https://en.wikipedia.org/wiki/San_Bernardino,_Paraguay ? Vincent Mia Edie Verheyen (talk) 00:21, 28 December 2025 (UTC)[reply]
OK, I figured out now how to make an interactive map, i.e. via https://en.wikipedia.org/wiki/Wikipedia:Graphics_Lab/Map_workshop#c-Vincent_Mia_Edie_Verheyen-20251228003000-Request:_Relief_Location_Map_for_Iloilo_Province,_can_be_used_for_location_pins
The only pending topic for me is a small question that is, when using a pushpin map, how to make the name of the topic show, as it does in https://en.wikipedia.org/wiki/San_Bernardino,_Paraguay for example. This was not clear to me. It only showed on hover when I tried to in another page, namely in https://en.wikipedia.org/w/index.php?title=National_Museum_of_Natural_History_of_Paraguay&oldid=1329786683 Vincent Mia Edie Verheyen (talk) 00:32, 28 December 2025 (UTC)[reply]

PNG preview of SVG has wingdings text

[edit]

The PNG preview of File:Page_Tables_(5_levels).svg that the site generates and shows inline on articles (specifically, https://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Page_Tables_%285_levels%29.svg/960px-Page_Tables_%285_levels%29.svg.png) is messed up. All the text at the top looks like wingdings. But the real SVG (specifically, https://upload.wikimedia.org/wikipedia/commons/2/2b/Page_Tables_%285_levels%29.svg) looks fine. Why is this? Can it be fixed? ~2025-42839-97 (talk) 00:33, 25 December 2025 (UTC)[reply]

The SVG file uses a font named "Impact" for those parts, which is not one of the fonts available to the PNG renderer. For whatever reason it seems to have it classified as a "symbol" font and so is falling back to something that resembles Wingdings. You can fix it by specifying a supported font in the SVG. Anomie 00:48, 25 December 2025 (UTC)[reply]
@~2025-42839-97: I would also add that it wasn't more than two or three years ago that the version of librsvg installed on the Commons servers would choke on any attempt to use CSS features that were not explicitly defined in Cascading Style Sheets, level 1 (CSS1). In c:File:Page Tables (5 levels).svg, the inline style sheet contains a number of features that were not present in CSS1; for example, the @font-face rule was first defined in CSS Fonts Module Level 3. I don't know if the version of librsvg that is presently installed on the Commons servers supports that, but the manual states

Librsvg supports many of the graphic features in the SVG 1.1 and SVG2 specifications. The main features of SVG that librsvg does not support are the following: ... SVG fonts: Instead, librsvg relies on the system’s fonts, particularly those that are available through Cairo/Pango.

As for Can it be fixed? I would say that it's either a case of persuading the librsvg developers to enhance their software, or of finding different rendering software and persuading the Commons developers to install it. --Redrose64 🦌 (talk) 10:22, 26 December 2025 (UTC)[reply]
Fixed by changing the font. WMF has a policy of not adding copyrighted things, fonts are no exception. Would reccomend not to bother asking installing Impact font. Snævar (talk) 22:03, 29 December 2025 (UTC)[reply]

Has a warning for the Bury 1958 refs: "Harv error: CITEREFBury1958 has multiple targets (2×)." But. The linkage is happening within the list decade article yet the warning is still there! I was able to fix some other ref/transclusion bits of fun but I give up on this. The List articles for decades use transclusions from the decade's individual years and they always throw me for a loop, I've tried and tried to correct the issue but like I said...I give up. Fix it please. Someone. Thank you. Happy holidays. - Shearonink (talk) 04:19, 25 December 2025 (UTC)[reply]

@Shearonink: The Bury 1958 ref is defined using {{cite book}} at both 536#Deaths and 530s#References (in the Bibliography part). They differ in several ways. I suggest that the Bibliography one be removed. --Redrose64 🦌 (talk) 10:40, 26 December 2025 (UTC)[reply]
Redrose64 - I tried that before and it didn't work, but I've removed the Bibliography cite & also fussed at the 536 info....all that still didn't work. Help. - Shearonink (talk) 16:58, 26 December 2025 (UTC)[reply]
This edit by ActivelyDisinterested (talk · contribs) appears to have suppressed the remaining error messages. But such hacks shouldn't be necessary: it's part of a long-term issue with the {{cite xxx}} templates, where they try to be too clever by half, throwing out error messages on all sides when no problem actually exists. --Redrose64 🦌 (talk) 19:51, 26 December 2025 (UTC)[reply]
The issue here was transclusion, with two different styles of referencing being transcluded onto one page. Wikipedia allows for such a vast amount of different referencing styles that transclusion can cause all sorts of odd issues. -- LCU ActivelyDisinterested «@» °∆t° 20:11, 26 December 2025 (UTC)[reply]
Thanks to one and all for weighing in and for the whitelist fix. I've been wiki-gnoming my way through Category:Harv and Sfn no-target errors, trying to get articles out of the Category. I do pretty well with almost everything else but these Lists of years in a decade with transcluded information from the year articles *always* throw me for a loop. Thanks again - Shearonink (talk) 20:45, 26 December 2025 (UTC)[reply]

Natural history in country vs Natural history of country

[edit]

Hi I notice that the source code of commons:Category:Natural_history_in_Australia and commons:Category:Natural_history_in_Paraguay point towards Natural history OF Australia and Natural history OF Paraguay, both of which do not exist. They are placed on the pages ... IN Australia and ... in Paraguay. Should we rename those pages? The reason is the template {{topic in country|natural history}} Vincent Mia Edie Verheyen (talk) 11:35, 25 December 2025 (UTC)[reply]

Those are pages on Wikimedia Commons, so not something Wikipedia can do much about. If you post the same over in Commons you may have more luck. CoconutOctopus talk 11:38, 25 December 2025 (UTC)[reply]
But Natural history of Australia does exist, though Natural history of Paraguay indeed doesn't. jlwoodwa (talk) 21:15, 25 December 2025 (UTC)[reply]
The post is about Commons categories. commons:Category:Natural history in Australia is in the non-existing commons:Category:Natural history of Australia. It's placed there by commons:Template:Topic in country. Many other categories with "in" names in commons:Category:Natural history by country have the same issue. It's an issue for Commons, not the English Wikipedia. PrimeHunter (talk) 00:40, 26 December 2025 (UTC)[reply]
@Vincent Mia Edie Verheyen: As a start, try c:Template talk:Topic in country. Failing that, c:Commons:Help desk. --Redrose64 🦌 (talk) 11:36, 26 December 2025 (UTC)[reply]
Thanks, I have added a comment in commons:Template_talk:Topic_in_country#Documentation_doesn't_say_what_it_does Vincent Mia Edie Verheyen (talk) 12:50, 26 December 2025 (UTC)[reply]

Disable newcomer tasks on a particular page?

[edit]

Is there a way to disable the newcomer tasks on a specific page? I've had two editors add the same incorrect wikilink due to the link suggestion feature and I'm not interested in having to revert a third editor due to a tool that isn't beneficial to the page in question. Traumnovelle (talk) 03:13, 26 December 2025 (UTC)[reply]

@Traumnovelle: Try adding {{No newcomer task}} Ponor (talk) 03:20, 26 December 2025 (UTC)[reply]
Thank you, I will try that. Traumnovelle (talk) 03:24, 26 December 2025 (UTC)[reply]
I see this a lot - for instance, in the context of railway stations, Shrub [[Hill station]] which should have been [[Worcester Shrub Hill railway station|Shrub Hill station]], or Kilgetty and [[Begelly]] which should have been [[Kilgetty railway station|Kilgetty and Begelly]]. It's unfeasible to add the template to every page that has received a bad link. --Redrose64 🦌 (talk) 10:47, 26 December 2025 (UTC)[reply]
I have raised the issue of creating links from part of a full name at the tasks page before, hopefully it improves in the future, but examples at Wikipedia talk:Growth Team features may help them. CMD (talk) 12:03, 26 December 2025 (UTC)[reply]
I have seen this exact situation as well, and had to use {{No newcomer task}} to stop it, though the article needed improvement. This frequently occurs in articles having a maintenance template with a section parameter option (or a section wrapper). When the newcomer task Suggested Edits module proposes a fix to a newcomer based on presence of a section maintenance template, it links only the top of the article, and *not* the tagged section. This causes newcomers to flood the lead with unneeded and unwanted "fixes" that all have to be undone. (At times this happened with enough frequency for me to notice increased edit conflicts at articles where I was a regular.)
Net result of Suggested Edits in these cases: wasted newcomer time; article ends up worse; waste of senior editor time (reverting, and possible addition of deny tag); newcomer frustration; original section-tagged maintenance issue still unresolved. Writing software that literally points a new editor to the wrong place and says, "Do this edit here!" only to have a senior editor undo it, hardly seems a worthwhile use of anybody's time.
As a corollary: the lead is the very last place I want to see a newcomer making any kind of edit, and I have previously thought we should consider making it more difficult for them to do so. If you share this view, the action of Suggested Edits in response to articles with section-based maintenance templates is not only a net negative for the reasons stated above, but also because it actively sends new editors to the very last place you want to see them editing, thus compounding the original problem. In any case, enhancing the Suggested Edits module to target the correct section in response to a section-based maintenance template would go a long way to mitigating this problem. Mathglot (talk) 02:08, 27 December 2025 (UTC)[reply]

WikiProject-specific article ratings overriding Xtools

[edit]

The Xtools gadget that displays info below the article heading includes an icon of the article's current class (stub, start, C, etc). Normally this displays the class assigned to the article in the banner shell template, but some of the more cliquish WikiProjects have their own separate classification systems in templates, and this can override the actual classification in Xtools. The gadget needs to be fixed so that it displays the banner shell rating by default. Thebiguglyalien (talk) 🛸 18:19, 26 December 2025 (UTC)[reply]

Could you give an example please?
(Note (though I can't answer more in detail until I see an example): The only thing about assessments that's readable from the database are the {{#assessment:}}s. At XTools we don't really maintain any classification. We just take it from the banners. If there are two conflicting #assessments on the page, in general we have no way of deciding which is "correct"TM). — Alien  3
3 3
09:47, 27 December 2025 (UTC)[reply]
Amílcar Cabral is listed as C class, but the WikiProject Military History template lists it as Start class, so the Xtools icon displays as Start class. Thebiguglyalien (talk) 🛸 15:19, 27 December 2025 (UTC)[reply]
Yep, it's as I thought. Per query, the likeliest reason the Milhist assessment shows up first is simply that it's the oldest Wikiproject to assess that page. That means it has the lowest project ID, and it looks like currently the database returns the results by default ordered by project IDs and so it's the first to come up.
Having multiple parallel assessment systems was bound to bring trouble.
At this stage all we could do would be hardcoding priorities, but I really would rather avoid that (each project has its own conventions, etc, and we already have enough things on our hands). — Alien  3
3 3
19:43, 27 December 2025 (UTC)[reply]
The most effective solution, in my opinion, would be to tell these editors that they can't group up and decide to exempt themselves from site-wide practices. Thebiguglyalien (talk) 🛸 23:04, 27 December 2025 (UTC)[reply]
Which would require absorbing certain assessments (such as A) into the project scheme. And either way is not something that can be sorted at VPT.
Hardcoding the handful of projects with custom schemes is something in the realm both of possible and there are few enough projects with custom schemes that it should be reasonably maintainable. To contrast, most of those with a custom scheme are the most active, so if they're assessing a page as a certain quality, then perhaps their assessment is likely to be more reasonable than the PIQA. Izno (talk) 23:13, 27 December 2025 (UTC)[reply]
Clarification: When I said "each project has its own conventions", I didn't mean project as in enwiki Wikiproject but project as in WMF wiki. XTools is cross-wiki.
At any rate, it isn't XTools' job to decide which assessment are correct, and harcoding would lead to following changes in practices, and so on, so I think there's nothing to be done on our side. — Alien  3
3 3
12:30, 28 December 2025 (UTC)[reply]
@Thebiguglyalien: You realise that this is Milhist, right? Several of them have guns, and most know how to use them. For decades, we've given them a lot of leeway: it took until July 2023 to get them to accept {{WPBannerMeta}} as a framework for their project banner: this was the final such conversion (most WikiProject banners - over 1,000 in all - were converted to WPBannerMeta during 2008–2009 leaving nine; five of these were converted in 2010–12, two in 2020 and the last two (U.S. Roads and Military history) in 2023). --Redrose64 🦌 (talk) 13:38, 28 December 2025 (UTC)[reply]

Watch action

[edit]

How do I make a link that, when clicked on, watches the page the link is on? Thanks, it's lio! | talk | work 05:24, 27 December 2025 (UTC)[reply]

@HKLionel: Template:Watch can do this for you. -- John of Reading (talk) 09:46, 27 December 2025 (UTC)[reply]
It doesn't have a default page (maybe it should) but {{Watch|{{FULLPAGENAME}}}} gives the current page. PrimeHunter (talk) 13:17, 27 December 2025 (UTC)[reply]
Thanks y'all, it's lio! | talk | work 13:06, 29 December 2025 (UTC)[reply]

Error while opening pages

[edit]

Getting the following error while trying to visit a page.

I was visiting Special:TopicSubscriptions on Microsoft Edge Stable v143 on a Windows 10 device. Vestrian24Bio 07:32, 27 December 2025 (UTC)[reply]

You likely subscribed to a (transcluded) topic but the source page is now deleted. There's a bug report for that issue: phab:T379842. – Ammarpad (talk) 12:32, 28 December 2025 (UTC)[reply]

Last year, a load of changes were made to this giant WikiProject template that caused some issues with the assessment categorisation. Just putting this here to see if I could get some more eyes on this stalled discussion:

Any help would be much appreciated, cheers! Aluxosm (talk) 10:28, 27 December 2025 (UTC)[reply]

 Done Fixed by HouseBlaster. Aluxosm (talk) 17:05, 28 December 2025 (UTC)[reply]

Page layout problem

[edit]

At Wroxall railway station, the image "Site of former Wroxall railway station" is supposed to be appear alongside the paragraph starting "The station has been demolished ...". In the page source it is placed so, but when the page is actually displayed, the image appears further down the page, in a different section. Does anyone know how to fix this? ITookSomePhotos (talk) 18:23, 27 December 2025 (UTC)[reply]

@ITookSomePhotos it's to do with the placement of the other image (File:The Isle of Wight RJD 135.jpg). Because that image is set to be on the right, it's being displaced downwards due to the infobox. As File:Site of former Wroxall railway station, Isle of Wight, England.jpg follows the RJD image in the text, it in turn is being displaced. If you change the RJD image to be on the left (change |right to |left) then you'll see they flow a lot better, although some tuning might be needed. Nthep (talk) 18:40, 27 December 2025 (UTC)[reply]
 Potentially fixed Is this what you had in mind, ITookSomePhotos? Aluxosm (talk) 18:41, 27 December 2025 (UTC)[reply]
Yes, thank you, that's fine now. ITookSomePhotos (talk) 19:04, 27 December 2025 (UTC)[reply]
Sweet! For reference, this was properly fixed by using Template:Stack. Aluxosm (talk) 23:52, 27 December 2025 (UTC)[reply]

What's wrong with my userscript!????

[edit]

User:Ahmad Rajeed/VandalWatch.js Ive tried everything, even tried sending my idea to Claude AI but it doesn't work, I have no idea what's happening and I need someone to send me the fixed code!! Ahmad Rajeed (talk) 18:53, 27 December 2025 (UTC)[reply]

@Ahmad Rajeed: I haven't examined User:Ahmad Rajeed/VandalWatch.js but I note you don't load it correctly in User:Ahmad Rajeed/common.js. There are two methods. Use one of these::
mw.loader.load( '//en.wikipedia.org/wiki/User:Ahmad_Rajeed/VandalWatch.js?action=raw&ctype=text/javascript' );

importScript('User:Ahmad Rajeed/VandalWatch.js');
PrimeHunter (talk) 19:50, 27 December 2025 (UTC)[reply]
It appears this was the problem. Sorry for wasting anyone's time Ahmad Rajeed (talk) 21:48, 27 December 2025 (UTC)[reply]
What exactly are you trying to do? Your script would require that every user that has ever been warned for anything be hardcoded in the script, which is not feasible nor sustainable. --Ahecht (TALK
PAGE
)
20:46, 27 December 2025 (UTC)[reply]
Warned by me or if I know they are warned. Ahmad Rajeed (talk) 21:46, 27 December 2025 (UTC)[reply]
I don't think what you're trying to do is possible, but as a partial solution you could enable the Strike out usernames that have been blocked gadget in your preferences. Anne drew (talk · contribs) 21:42, 27 December 2025 (UTC)[reply]

How to debug Kartographer maps?

[edit]

Is there some methodical way to debug what has gone wrong with a map? For example, I'm looking at Park Avenue, which has a broken map in its infobox. Debugging this kind of thing is maddening because 1) There's so many variations on how mapframes are generated it's hard to tell which things that are different from working examples are broken vs simply another way to do it and 2) There's zero visibility into what's actually happening behind the scenes. If it doesn't work, you either get no indication of why, or some totally cryptic error message. There's no error log you can look at. No stack traces. It just doesn't work with no explanation why. So you're reduced to trying random things, which is extra frustrating in the case of OSM data because changes there take a day to sync.

In this case, I suspect the problem is that https://www.openstreetmap.org/relation/9767733 has type=associatedStreet instead of type=route. But that's just a guess and the only way I can think to even test that would be to muck with the production OSM data, and that's a really bad way to be testing theories. RoySmith (talk) 01:13, 28 December 2025 (UTC)[reply]

Wikipedia keeps logging me out on smartphone browser

[edit]

Hi all. Lately, for the past week, give or take, despite checking “keep me logged in up to a year”, Wikipedia always logs me out on my smartphone. I always use the desktop site on a mobile browser; after I finish a Wikipedia session, it’s always logged out on the mobile site when I return, even within the hour. I’m browsing on Safari with my iPhone 16 on the latest iOS. I’m not the only one with this issue; I messaged Cullen328 off-wiki since we’ve gotten to know him as a prolific user of Wikipedia on smartphone; he confirmed it has; increasingly so in the past few months. For at least the past week, it’s every single time now, which is annoying if you prefer Vector legacy like I do. Occasionally; I’ll have to provide an authentication code through email too; when my login requires this; I get another email saying I’ve logged in on a new device (when I really have not.) What’s going on here? Who else is experiencing this aside from Jim and I? We can’t certainly be the only ones. DrewieStewie (talk) 02:53, 28 December 2025 (UTC)[reply]

What are your cookie settings? Have you tried to Wikipedia:Bypass your cache? WhatamIdoing (talk) 04:14, 28 December 2025 (UTC)[reply]
I am confirming that I too am experiencing frequent and unwanted logouts on my smartphone. Unlike my iPhone-using friend DrewieStewie, I am an Andoid user, currently operating a Samsung S25 Ultra. Another recent problem is an increase in the width of columns in desktop mode, which forces me to switch to the mobile view to read long stuff, which I do not like much. Such is life. Cullen328 (talk) 04:19, 28 December 2025 (UTC)[reply]
@DrewieStewie Have you checked if you are accidentally in private/incognito mode of the browser ? —TheDJ (talkcontribs) 22:45, 28 December 2025 (UTC)[reply]
That was the case apparently. It appears that after installing the latest iOS 26 update, Safari kept putting me on a private mode tab unsuspectingly. That’s been rectified, and with the cookies back in order, I’m remaining logged in once again, and my browser history has returned too. Thank you! DrewieStewie (talk) 06:53, 29 December 2025 (UTC)[reply]

What prefills 'Other/additional reason'?

[edit]

I noticed User:Jonaskroon/Jonas Kroon years ago and must have added it to my watchlist, so I saw it get tagged recently as possibly eligible for WP:CSD#U6. I went to delete it. What magic put the following in 'Other/additional reason': "[[WP:CSD#U6|U6]]: Abandoned user subpage of non-contributor – to retrieve it, see [[WP:REFUND/U6]]"? Johnuniq (talk) 03:16, 28 December 2025 (UTC)[reply]

{{db-u6}} passes "Abandoned user subpage of non-contributor – to retrieve it, see WP:REFUND/U6" as the summary parameter to {{db-meta}}, which prepends "[[WP:CSD#U6|U6]]" (from the criterion parameter) and emits an invisible span with id="delete-reason" containing that text. MediaWiki:Group-sysop.js looks for an element with that id and changes the url of the delete link in the interface to include a matching wpReason= in its query string, which MediaWiki uses to populate the form. —Cryptic 04:01, 28 December 2025 (UTC)[reply]
That is magic, thanks. I'll leave the page for a while in case anyone else wants to see it. Johnuniq (talk) 04:36, 28 December 2025 (UTC)[reply]
Per the notice on the page, it's not meant to be deleted until 3 January 2026 (i.e. in five days) anyway. This autofilling code has been there by default in some form or other since December 2008 (also see this earlier discussion). Graham87 (talk) 07:55, 29 December 2025 (UTC)[reply]
Interesting, thanks. I'm sure I would have read the instructions if I hadn't been side-tracked by wondering about the prefill, I hope. Johnuniq (talk) 08:14, 29 December 2025 (UTC)[reply]

Automatic page size warnings

[edit]

I don't think this is possible, but:

One of the village pumps was nearly a million bytes long today. I manually split off a few sections again, but it's still much too long.

Is there anything that can tell how big the page is? I want something like a magic word that would cause a backlog template to appear at the top of the page if the page gets above, say, 400K bytes. WhatamIdoing (talk) 04:17, 28 December 2025 (UTC)[reply]

{{PAGESIZE:Wikipedia:Village pump (technical)}} -> 78,461. So something like {{#ifexpr:{{PAGESIZE:{{FULLPAGENAME}}}} >= 1000000|Whoa, this page is way too big!}} could be plugged into the editnotices system. (But not as-is, since - at minimum - it'd need something to strip out the commas that PAGESIZE unhelpfully includes, which in turn breaks #ifexpr.) —Cryptic 04:31, 28 December 2025 (UTC)[reply]
Add |R to remove commas: {{#ifexpr:{{PAGESIZE:{{FULLPAGENAME}}|R}} >= 1000000|Whoa, this page is way too big!}}. PrimeHunter (talk) 04:58, 28 December 2025 (UTC)[reply]
Can the text take a template or a div, so it will display something really big? WhatamIdoing (talk) 07:25, 28 December 2025 (UTC)[reply]
Of course, e.g. {{large}}, {{huge}}, or <div style="font-size:200%">...</div>. Or use something like {{Notice}} to draw attention (or be ignored by banner blindness). PrimeHunter (talk) 13:37, 28 December 2025 (UTC)[reply]
That's MediaWiki:Longpage-hint. sapphaline (talk) 09:05, 28 December 2025 (UTC)[reply]
I see that MediaWiki talk:Longpage-hint has this procedure in a request from March 2024. The request was correctly declined as needing much more discussion. Johnuniq (talk) 09:27, 28 December 2025 (UTC)[reply]
Might be worth noting that a recent RFC at Wikipedia talk:Talk page guidelines (recent as in closed yesterday) deliberately chose to remove a recommended size limit for talkpages, so implementing a warning as a general rule using the longpage-hint method might be a bit controversial.
That said, an opt-in template on some active high-traffic pages like VP/AN etc to trigger a warning (or a maintenance category?) seems more reasonable. Andrew Gray (talk) 11:56, 28 December 2025 (UTC)[reply]
I'd like to point out that {{PAGESIZE}} is WP:EXPENSIVE. --Redrose64 🦌 (talk) 13:46, 28 December 2025 (UTC)[reply]
I'd like to use this at the top of WP:VPP, WP:VPPR, and WP:VPIL, once per page at the top, e.g.:
{{#ifexpr:{{PAGESIZE:{{FULLPAGENAME}}|R}} >= 400000|{{notice|This page is too big. Excessive page size can cause [[Wikipedia:Accessibility|accessibility]] problems for some editors. Please temporarily speed up the page archiving rate or split large discussions to separate subpages.}}}}
I don't think that will cause problems for EXPENSIVE (and could prevent them, by making the page smaller if anyone sees and acts on the message). WhatamIdoing (talk) 23:38, 28 December 2025 (UTC)[reply]
I see you added this. I don't object, but (at least on Monobook) I think the styling could use a bit of work. As it is, it's easy to miss. Anomie 00:07, 29 December 2025 (UTC)[reply]
I'm open to suggestions for styling, though I expect that most editors will miss it no matter what we do (e.g., because they arrive at the page via a #Link instead of going to the top of the page). WhatamIdoing (talk) 01:48, 29 December 2025 (UTC)[reply]

Here's a simple user script I made which warns you in the source editor if a page's size exceeds 400 kb. sapphaline (talk) 12:54, 28 December 2025 (UTC)[reply]

Is there a way to know how many times a parameter is used in a lua module?

[edit]

I want to move years in this graph to top while keeping the visual appearance identical to how it is now. The only way to do this in a table is absolute positioning, so I need to know how many times pN parameters are used to correctly position years using the left: CSS property. How can I do this in a lua module? sapphaline (talk) 10:32, 28 December 2025 (UTC)[reply]

You can copy their values into a table (which I imagine you would want to do to sort them in appropriate order for the X-axis) and keep count. isaacl (talk) 17:32, 28 December 2025 (UTC)[reply]

Losing CSS

[edit]

Recently I have frequently had a problem using Wikipedia in the evening, that pages (any - articles, talk pages, history pages, user contributions) appear to download correctly, but fail to display correctly. The material is all there, and the buttons can be picked successfully (if they don't happen to be obscured by other items), but nothing is in the right place, menus aren't hidden, fonts aren't right etc. Interactive things like the Reply function work correctly. Sometimes a page appears correctly, but while the problem is happening, nearly every page I look at has the problem, even if I reload it. In short, it looks as if it is failing to interpret the CSS.

Since it only happens in the evening, and is sporadic at that, I guess it is something to do with my broadband speed or bandwidth; but I'm puzzled how it can have that effect.

I'm using Firefox, currently 146.0.1: that updated itself last night - I hoped this might fix the problem, but it didn't. I'm on Windows 11Pro 22H2.

My web-developing skills are rusty: last night I tried bringing up the Firefox Browser Console, to see if there were any obvious errors in accessing or interpreting the CSS; but couldn't pick out anything that looked likely to be relevant - and a couple of times just opening the console appeared to cause the page to redisplay correctly.

I realise that this is probably nothing that WP is doing, but I haven't noticed it anywhere else. Has anybody else seen anything like this? or got any ideas? ColinFine (talk) 11:12, 29 December 2025 (UTC)[reply]

I recently had my global.css not loading, which started while there was a server issue but persisted after that. I don't remember if I tried the hard refresh, but clearing the entire browser cache finally solved it. Nardog (talk) 11:47, 29 December 2025 (UTC)[reply]

IP address blockage in Chrome

[edit]

When I’m working on my computer in Chrome and want to add a message to my mentor’s Talk page, the Help Desk, and even here at the Village Pump, I’m getting a message saying that this IP address has been blocked from editing Wikipedia.

The blockage doesn’t happen with Safari on my computer. Nor does it happen in Chrome and Safari on my mobile phone.

On my computer, I’ve removed the two Chrome extensions that I had, but nothing changed —- unless it’s necessary to restart the computer first to see any difference.

Advice? Augnablik (talk) 11:54, 29 December 2025 (UTC)[reply]

Since posting the above message, I’ve found that now Safari is doing the same thing as Google on my computer, and there are beginning to be issues on my phone as well, though not consistently.

I’ve also found that the Internet range being blocked is the one my Internet provider uses, so now I think I understand that the problem is with that company or its larger parent.

I’ve also read a little on the message addressed to editors who don’t think they’ve done anything to warrant being blocked, and wonder about which course of action would be best. I’d definitely like to get this cleared up soon, as I have some editing work to do that’s time-sensitive.

Since it now seems this is a serious issue with my Internet provider and/or its parent, I can see I have more than a technical problem. Should I raise my questions at the Help Desk instead? Augnablik (talk) 14:36, 29 December 2025 (UTC)[reply]

To look in to a block, we would need to know the block details, especially the IP address. You can share that privately with WP:UTRS. — xaosflux Talk 13:50, 29 December 2025 (UTC)[reply]
@Xaosflux, I was about to fill out the UTRS but then I noticed this on the message about being blocked: “WP:ACC is available to people who are not the target of the block, NO NEED to use UTRS.”
But either way, it seems there could be quite some time to get things back to normal. Wow, I never realized anything like this could happen.
Would you still recommend that I use UTRS in view of what’s on the message about being blocked, or go with ACC as you suggested, or try something else? Augnablik (talk) 16:47, 29 December 2025 (UTC)[reply]
I think certain residential IP blocks are misblocked as proxies, that's probably why you are getting blocked. ~2025-31733-18 (talk) 17:29, 29 December 2025 (UTC)[reply]
ACC is to request an account be made. They can't help you with blocks. You are obviously not blocked right now, as you are contributing here. If you do hit an IP block, and the message doesn't explain what it is about - you will need someone to look in to it. If you want to share your information publicly you can use the unblock template on your talk page, if you want to remain private use a UTRS ticket. — xaosflux Talk 18:25, 29 December 2025 (UTC)[reply]
@Xaosflux, I don't understand what you meant about using the Unblock template on my Talk page. But at the moment, my IP address is not being blocked, as was also the case when I replied to you on the 29th at 16:47 UTC when I was on my phone at the time. But perhaps that's a moot point because I'd prefer to keep my IP address private, so if I do make a UTRS request, I'd use that link.
I'm just not sure what to do at this point because the blocking could begin again, as was already happening off and on when I've been on my computer recently. In any event, I don't have the message at hand from which to provide the offending IP address — though I could probably get it because I know it belonged to my Internet provider's (as well as its parent company).
Since from past experience I know blocking could happen to my account again, I wonder if I should write the editor who's always been the one posting these block alerts, whose name I recall clearly is Yamla. Although I can't quite recall what the reason is, it's always the same and I think it had only two words in the explanatory sentence, indicating something like repeated wrongdoing. Yamla would have some sort of way to locate the alerts he or she posts. Would you advise doing this with this new set of circumstances? Augnablik (talk) 13:20, 30 December 2025 (UTC)[reply]
There doesn't appear to be any technical problem occurring here. Some IP's are blocked, generally because they are acting as proxies. If an IP is blocked there are several ways it could be dealt with, but until you or someone else can identify a specific block that you would like someone to review, there isn't anything else to be done. — xaosflux Talk 13:34, 30 December 2025 (UTC)[reply]
Okay, thanks ... I'll have to wait till the alert returns, although I hope it won't. Thanks for all your help, @Xaosflux! Augnablik (talk) 17:51, 30 December 2025 (UTC)[reply]

Odd template behaviour on category page

[edit]

Like the windows has raised at question on Category talk:Bulgarian football clubs 2021–22 season. I had a look but can't work out what's going wrong. The template {{clubseasoncat}} is used to generate some automatic text and a bar linking different category pages for different years. However it's not functioning correctly and is causing source text to appear on the category pages. -- LCU ActivelyDisinterested «@» °∆t° 15:45, 29 December 2025 (UTC)[reply]

@ActivelyDisinterested: This edit was missing a closing }}. I have added it. PrimeHunter (talk) 16:19, 29 December 2025 (UTC)[reply]
Thanks PrimeHunter. -- LCU ActivelyDisinterested «@» °∆t° 16:23, 29 December 2025 (UTC)[reply]

Image class array for {image array}

[edit]
An example of an image needing skin-invert-image to show up properly on dark mode; without the invert filter it will have black on white as opposed to white on black
The same image without the inversion filter applied

Currently the template (and its associated module) has no provision for adding the "class" attribute to individual images. This is a problem because some images may need to be adjusted per mw:Recommendations for night mode compatibility on Wikimedia wikis § Apply filters to dark images with transparent background (eg. a chemical skeletal structure).

For reference I was trying to fix the weird image color inversion on the first infobox image on Banknotes of the pound sterling to clear out Category:Pages with dark mode problems. —Opecuted (talk) 06:33, 30 December 2025 (UTC)[reply]

I think I have fixed this template. See the testcases page. No promises regarding the banknote; I have played with that one in the past and found it challenging. It's a png and behaves in ways that I can't explain. – Jonesey95 (talk) 17:12, 30 December 2025 (UTC)[reply]
Thank youOpecuted (talk) 01:50, 31 December 2025 (UTC)[reply]

Media viewer randomly failing with 429 errors

[edit]

Recently, I've started seeing errors cropping up when attempting to load images in the media viewer on articles. This happens across both a laptop (macOS) and a phone (iOS). The viewer error reads "Sorry, the file cannot be displayed". The browser console shows that the load fails due to getting a 429 response from the server for the thumbnail. The error does not appear for all images in an article, and I just had an image that failed to load then load successfully just a minute later.

Here's the error shown in the browser as well as the console:

This really slows down my Wikipedia usage, so would love to see it addressed soon. It started happening no more than two weeks ago. —lensovettalk07:10, 30 December 2025 (UTC)[reply]

A 429 error indicates rate limiting, which probably means you're getting caught by something the WMF is trying to do to combat AI crawlers. This should probably be reported in Phabricator and tagged with "Traffic" for the attention of the SREs. If you can, copy the full text of the 429 error response from your browser console's response tab. Anomie 13:18, 30 December 2025 (UTC)[reply]
This could possibly be related to T266155. Children Will Listen (🐄 talk, 🫘 contribs) 13:21, 30 December 2025 (UTC)[reply]
Possibly, if you are experiencing this on an article that has a LOT of images. Otherwise it is something different. 429 is the symptom of rate limiting. WHY you are being rate limited can have many different causes, it very much depends on the situation. Provide as much context as possible. Links, are you logged in, which ISP are you using etc. —TheDJ (talkcontribs) 14:38, 30 December 2025 (UTC)[reply]

"{cite book} template has error"

[edit]

Internment of Japanese Americans#Niihau incident

{{cite book |last1=Prange |first1=Gordon William |author1-link=Gordon Prange |last2=Goldstein |first2=Donald M. |last3=Dillon |first3=Katherine V. |title=December 7, 1941: The Day the Japanese Attacked Pearl Harbor |date=1962 |publisher=McGraw-Hill |isbn=0-07-050682-5 |pages=375-377 | url = https://archive.org/details/december71941da00pran/page/375 |language=en}}

isbn 0-07-050682-5 is number in book

Piñanana (talk) 19:06, 30 December 2025 (UTC)[reply]

@Piñanana ISBN numbers did not exist before 1966, but you put the date as 1962. The ISBN number you provided appears to be for the 1988 edition. --Ahecht (TALK
PAGE
)
19:25, 30 December 2025 (UTC)[reply]
ref date was 1962; tried to fix; only removing ISBN number fixed error. why are error messages hidden?
Piñanana (talk) 20:16, 30 December 2025 (UTC)[reply]
Fixing the publication date fixed the error. The archives at Help talk:Citation Style 1 can tell you about the history of this ISBN/date incompatibility message and why it is hidden at this time. – Jonesey95 (talk) 22:41, 30 December 2025 (UTC)[reply]

Adding a stabbing to a list of shootings

[edit]

Could someone help me make an addition to the table at List of murdered hip-hop musicians? There was a request on the talk page to add Pat Stay, who was stabbed to death September 4, 2022. However, an editor recently merged all the causes of death, and they are all by "shooting". I'm not sure how to add a stabbing into the list. I can add the reference when it's done. Thanks! Magnolia677 (talk) 20:13, 30 December 2025 (UTC)[reply]

@Magnolia677: I have split the large shooting cell so a new row can be inserted normally now.[1] See Help:Table#Colspan and rowspan or Help:VisualEditor#Editing tables. VisualEditor makes it easy to merge and split cells which can be hard to keep track of in the source editor. PrimeHunter (talk) 20:48, 30 December 2025 (UTC)[reply]
@PrimeHunter: Thank you so much. I'm going to have to learn to us visual editor. Cheers. Magnolia677 (talk) 21:09, 30 December 2025 (UTC)[reply]

Making it so clicking on a Template:Location map opens a Template:Infobox mapframe

[edit]

Right now, Template:Location map is used in many infoboxen to show the location of a city or building on a map of the surrounding area. It's a great feature, except that when you click on the map, it takes you to the file page for the underlying image without the pushpin. I think this is quite unintuitive, and a big problem for accessibility since by default the map is quite small (at least on desktop). It's possible to zoom in by simply enlarging the web content in-browser, but not everyone knows how to do this.

The most intuitive solution would be for clicking on it to enlarge the image with the pushpin still included, but I'm not sure how feasible this is (I don't really know how modules work but it seems like you would have to implement a new GUI element). What seems probably easier, and arguably more useful, would be for clicking on it to open an interactive map, like you get when you cilck on a Template:Infobox mapframe. That would reuse an existing interface and allow the user to zoom and pan as much as they like on a full-sized map (at least in browser).

Does anyone here know anything about how to do that? And do people think that would be a good idea? Justin Kunimune (talk) 20:53, 30 December 2025 (UTC)[reply]

@Justinkunimune: Pushpin maps like that are not a single image, they are two. You don't give specific examples, but in the case of Didcot it's File:Oxfordshire UK location map.svg upon which is superimposed File:Red pog.svg. By using this method, we only need two images for every location in Oxfordshire - if we did it as a single image, we'd need several hundred, each taking up about 2 MB of storage. --Redrose64 🦌 (talk) 22:29, 30 December 2025 (UTC)[reply]

Temporary accounts and softblocks

[edit]

Was just looking at this deleted attack page (admins only, obviously); but click on the IP and it turns out it's rangeblocked anon-only with account creation not disabled, and has been since September. However the user has created a TA, so presumably this means that this type of block is now obsolete, and any existing ones should be upgraded to hardblocks, as they're otherwise useless? Black Kite (talk) 22:59, 30 December 2025 (UTC)[reply]

@Black Kite: The IP only edited their talk page which is allowed by the block (as talk page access is allowed). The temporary account, on this blocked IP, is only able to edit its own talk page. See WP:TA#Impact for administrators WP:BLOCK#Temporary account blocks for visuals. Callanecc (talkcontribslogs) 23:23, 30 December 2025 (UTC)[reply]

OWID iframes

[edit]

Hey All, folks from the Wikimedia Foundation and Our World in Data are interested in discussing with the EN WP community the possibility of integrating more complicated data visualizations via iframe. You can see an example for mPox here[2] and the list of data explorers available here. Are there folks interested in joining this conversation?

We have launched simpler visualizations from OWID but what we have build cannot handle the more complicated visualizations.[3] OWID wishes to have the opportunity to address the concerns that were raised here.[4]. Please reach out to me if your interested in joining. Looking at an 8 am Pacific time. Doc James (talk · contribs · email) 02:31, 31 December 2025 (UTC)[reply]