Jump to content

Wikipedia:Village pump (technical)/Archive 219

From Wikipedia, the free encyclopedia

The current "templates for discussion"-warnings make some reference sections close to unreadable

The template:Unbulleted list citebundle is currently for discussion. As a result, there is a warning for every single reference where it or a related template is used, making some reference sections close to unreadable. For example, Philosophy#Citations looks something like the following to me:

1.

‹ The template below (Unbulleted list citebundle) is being considered for merging with Multiref2. See templates for discussion to help reach a consensus. ›

Pratt 2023, p. 169

Morujão, Dimas & Relvas 2021, p. 105

Mitias 2022, p. 3

2.

‹ The template below (Unbulleted list citebundle) is being considered for merging with Multiref2. See templates for discussion to help reach a consensus. ›

Hoad 1993, p. 350

Simpson 2002, Philosophy

Jacobs 2022, p. 23

3.

‹ The template below (Unbulleted list citebundle) is being considered for merging with Multiref2. See templates for discussion to help reach a consensus. ›

...

Is that the intended behavior? As far as I can tell, this affects many high-traffic articles. If there is an automatic warning message, it would make sense to have it only for one instance per page, not for every single instance. Phlsph7 (talk) 10:33, 18 March 2025 (UTC)

I've added |type=tiny to both templates, so it looks a whole lot better than before. --rchard2scout (talk) 13:03, 18 March 2025 (UTC)
@Rchard2scout: Thanks, that's much better. However, I think it's still far from ideal. Some articles have 100 or more references. Do we really need to inform all readers 100 times per page about this discussion?
I'm not even sure that we should inform readers on article pages at all. Especially in the case of this discussion, which is a rather technical matter not of interest to most general readers. Phlsph7 (talk) 13:10, 18 March 2025 (UTC)
I went ahead and disabled the warning function by setting |type=disabled, which seems to have solved the problem. Phlsph7 (talk) 15:04, 18 March 2025 (UTC)
It was the warning which alerted me to the discussion, which I then joined in. Without the warning, I would never have known.   ▶ I am Grorp ◀ 16:08, 18 March 2025 (UTC)
If hundreds of warning messages appear on high-traffic articles, thousands or even hundreds of thousands of readers see them within a very short time and have no idea what they are supposed to mean. This type of issue concerns a specific group of editors, so there is no need to warn all readers repeatedly. Phlsph7 (talk) 17:25, 18 March 2025 (UTC)
The reason these tags display is because editors want them to display. We can remove that from Template:Tfd, but the price is that people may not know a template is about to be deleted. It is not about "a specific group of editors", it is about any editor who thinks they may have a reason to support or oppose that template's deletion. Izno (talk) 17:37, 18 March 2025 (UTC)
I'm not opposed to warning editors. I'm just opposed to presenting hundreds of warnings to a high volume of readers who are not affected and don't understand them. What about posting a message on the talk page of each affected article instead? Phlsph7 (talk) 17:52, 18 March 2025 (UTC)
Do you read every article's talk page before you edit it? I don't. I'd be very surprised if more than a mere handful of editors (if any) actually do.
Trappist the monk (talk) 18:00, 18 March 2025 (UTC)
... and which would lead to thousands to millions worth of messages.... that mostly go unread. Izno (talk) 18:09, 18 March 2025 (UTC)
I'm a little surprised that I'm the only one concerned about presenting hundreds of warnings per article page to a high volume of readers who don't understand them. Is there no better alternative? Phlsph7 (talk) 18:17, 18 March 2025 (UTC)
Hundreds of messages may not be optimum, but neither is potentially deleting a popular template because no one was notified in advance. At least the message won't be displayed any longer than the discussion that is taking place (usually not more than a week). And how many readers do you think actually scroll through reference sections.   ▶ I am Grorp ◀ 19:51, 18 March 2025 (UTC)
Some high-volume articles with this template have around 100000 views per month. That makes about 25000 views for one week, and this is just for one of those articles. For each of those visits, over 100 warning messages are displayed. According to https://linkcount.toolforge.org/ , the templates Multiref, Multiref2, and Unbulleted list citebundle are directly transcluded to 816, 1292, and 507 articles, respectively. Not all of them are as high-volume, but you still get a feeling for how many readers you would reach with those warning messages–they are easily in the hundreds of thousands. And we do this only to reach a handful of editors who will participate in the template discussion. I think we do a lot more damage than good here. Having about 2500 talk page messages instead would be the lesser evil. If that's not acceptable, the alternative suggestion of displaying the warning message only once per article for the first occurrence would at least do less damage. Phlsph7 (talk) 20:37, 18 March 2025 (UTC)
Which is not possible.
Having about 2500 talk page messages instead would be the lesser evil. The community is likely to disagree, and clearly today that is not how it works. Similar was done when IA bot first rolled out when it added archives. It did not take long for the community to come to the conclusion that talk page messages were clear and obvious and totally unnecessary noise. Izno (talk) 00:34, 19 March 2025 (UTC)
@Izno It is possible using CSS tricks, but undesirable because it can't distinguish between multiple messages for one template or one message each for multiple templates. As a compromise, the CSS does prevent more that one tag from appearing within the same parent element (usually a paragraph or list entry). --Ahecht (TALK
PAGE
)
18:48, 19 March 2025 (UTC)
During a recent case of a disruptive RFD notice, an editor at Template talk:Redirect for discussion suggested that RFD notice be made visible only to those wish to see it, similar to CS1 errors. For some classes of TFD nominations, those which don't directly impact the average reader, it may be a potential solution. CX Zoom[he/him] (let's talk • {CX}) 19:24, 19 March 2025 (UTC)
This has been suggested before, several times, and rejected each time. We want to increase participation in XfDs, not reduce it. Too many of them get relisted for lack of !votes. Also, if it were opt-in, it would effectively debar logged-out users from participating in XfDs - something we have almost never done. --Redrose64 🌹 (talk) 06:34, 20 March 2025 (UTC)
For RfDs on widely-used template redirects, and TfMs on widely-used templates that would not result in any meaningful change to the template being merged-to, making the notices only show up for autoconfirmed users would make sense, though. The confusion caused to tens of thousands of readers is going to outweigh any benefit from increased participation. Elli (talk | contribs) 17:25, 20 March 2025 (UTC)
During the disruptive RFD notice that I am referencing, 3 of the votes were from people annoyed at the RFD notice. 2 opposed because they though their oppose votes will get rid of the RFD notice, and 1 thought that their support vote will get rid of the RFD notice. They didn't vote on the (de-)merits of the nomination at all. It only makes the discussion more messy. This is on top of thousands of readers who have no idea what RfD or TfM is, but have to see plenty of <<See Rfd>> notices all around. CX Zoom[he/him] (let's talk • {CX}) 18:05, 20 March 2025 (UTC)

Performance issues loading talk page sections

I'm going to preface this by saying that this is an issue I've only noticed on particularly underpowered hardware but I think it's still relevant to bring here. Loading a specific section of a talk page is often significantly slower than simply loading the talk page itself - for a random example, loading Talk:Foo might take five seconds, whereas loading Talk:Foo#Bar would take closer to twenty. I usually come about these link highlights via the inbox / notification bar - my skin is Vector Legacy 2010. On larger pages I participate in talk discussions in, this performance latency, often at least three times longer to load than just the talk page itself, becomes a major issue that often results in the "page is not responding" message in Google Chrome. I've noticed this on a few talk pages, including WP:ITNC and WP:ANI, but it appears to be common across other large talk pages, especially those in excess of 100k bytes source. My connection isn't the best, and, as stated before, my hardware isn't too good either, but the principle is that the mechanism for finding and highlighting specific sections on talk pages should be improved. I'm unsure as to the specific importance of browser version etc, but if asked I can find it. I have been unable to replicate this bug on a fake test talk page.

Using WP:ANI as an example, in a benchmark taken just now, it took about three seconds to load the noticeboard itself - but when loading a specific section (from the page history), it took a full forty seconds. During this time, the highlighted section appeared, but was not itself highlighted - i.e. the browser only loaded the specific section. The "Page unresponsive" Chrome error also appeared when the page was interacted with. Departure– (talk) 16:33, 20 March 2025 (UTC)

Chrome has a history of this; it usually takes 15-or-so minutes for my computer to stop freezing on Wikipedia tabs every morning. Not sure why, but this is a known issue. — EF5 18:05, 20 March 2025 (UTC)
I don't think that's the same issue, this is specifically concerning talk page sections taking ten times as long to load as the talk pages themselves. Departure– (talk) 18:07, 20 March 2025 (UTC)
Ah. On my chromebook my Watchlist and every other Wikipedia-related tab will freeze on reload every morning, it lasts for 10-30 minutes and is incredibly annoying. — EF5 18:08, 20 March 2025 (UTC)
Have you observed the size of the scrollbar when accessing the talk page directly? The browser only scrolls to the section once the page has loaded all the way to the section anchor, which for me is noticeable by the scrollbar getting smaller and smaller and is a similar amount of seconds as the time it takes to jump to the last section. – 2804:F1...7F:79A0 (::/32) (talk) 18:14, 20 March 2025 (UTC)
No, the scrollbar is the same size the entire time the page is loading - it always appears to cover the whole page. Scrolling while loading a section when the page is hanging reveals only the section in question and a few around it - scrolling up or down shows everything else is just white. Departure– (talk) 19:38, 20 March 2025 (UTC)

Something weird about this file seems to cause my browser to go dark whenever I view a page containing the file. Does anyone else have this problem, and does anyone know what's causing it? Try looking at the image on MagSafe#MagSafe_3.

Thanks. 2A0E:1D47:9085:D200:C58E:8E53:4854:F5A7 (talk) 18:41, 20 March 2025 (UTC)

I'm not having any issues, are you sure it is just this image? Gaismagorm (talk) 19:37, 20 March 2025 (UTC)
Yes, it's just this image. No idea what's causing it for me though. 2A0E:1D47:9085:D200:C58E:8E53:4854:F5A7 (talk) 19:45, 20 March 2025 (UTC)
Weird, I see it too on my MacBook screen and not on my external monitor. It looks a lot like an HDR image, although I thought that thumbnails on Wikimedia sites didn't have that capability and were always reduced to standard dynamic range. @Rorschach: did you do anything unusual when editing/uploading this image? The bright reflections don't really add to the understanding of the connector so they could always just be cropped out. the wub "?!" 22:30, 20 March 2025 (UTC)

infobox-label text-align:left on mobile

Previously asked at Template talk:Infobox#Labels are centered on m.wikipedia. --Redrose64 🌹 (talk) 18:36, 21 March 2025 (UTC)

In many infoboxes on en.m.wikipedia.org the left column is centered instead of being left-aligned, which leads to weird placement of normally indented/bulleted labels. Why is that? Compare m.wiki vs. desktop. What is overriding the common.css setting of .infobox-label {text-align: left}, can that be fixed? (previously asked here) Ponor (talk) 11:56, 21 March 2025 (UTC)

Common.css is not loaded on the mobile site, so the .infobox-label {text-align: left} is not there in the first place. There's a separate mobile.css for MobileFrontend, although these days people tend to prefer moving styles for specific templates to TemplateStyles. Anomie 12:09, 21 March 2025 (UTC)
Sounds like a job for an interface admin to add
.mw-parser-output .infobox-label {text-align: left;} to MediaWiki:Minerva.css, at least until everything {{infobox}}-related is in its own TS. Thnx. Ponor (talk) 12:24, 21 March 2025 (UTC)
This would be fixed by MediaWiki talk:Common.css/to do#Infobox getting done (it's slow going) or by MediaWiki talk:Common.css/to do#Turn mobile.css/js totally off getting done, which is just waiting on phab:T375538. I can probably upload a patch to resolve that one but I will need to bug the developer I was working with on it and he said something a couple days ago that made me twitch on the point so I'm not hopping fast right now. (And haven't hopped fast in general just because I got distracted with other things and I wanted to give him time to figure out what exactly he was intending to do. He hasn't hopped fast either....) Izno (talk) 22:26, 21 March 2025 (UTC)
Ok, I gently bugged the task on Phab, I will ping him later if necessary. Izno (talk) 22:47, 21 March 2025 (UTC)

Can no longer edit articles

Hi,

I’m having trouble editing existing Wikipedia pages. When I try to edit, I only see the "Edit source" option and not the regular "Edit" button. This issue affects all pages I’ve tried, and I can’t make any changes to existing articles.

I have 29 edits on my account, and I haven’t edited for about 7 months, but I was previously able to edit normally

Any help would be greatly appreciated. Thanks! Vickylizholmes (talk) 11:05, 17 March 2025 (UTC)

@Vickylizholmes Go to Special:Preferences#mw-prefsection-editing and set "Editing mode" to "Show me both editor tabs". --Ahecht (TALK
PAGE
)
15:29, 17 March 2025 (UTC)
That worked. Thanks so much! Vickylizholmes (talk) 07:40, 22 March 2025 (UTC)

Archiving a source that verifies human before opening

There is schism between the governing bodies in the sport of kabaddi, and this article: https://www.dhakatribune.com/sport/other-sports/371289/a-kabaddi-world-cup-sans-bangladesh does a good job at explaining it. Thus, it's been used at multiple kabaddi-related articles and is vital to understanding the schism. Unfortunately, it does a human-check before you're able to access it, which means that no archiving website is able to make an archive out of it. I previously tried to find a solution at Help desk but it didn't help. So, is there any trick to go around the website's restrictions? CX Zoom[he/him] (let's talk • {CX}) 16:47, 16 March 2025 (UTC)

You could just download it yourself, passing the human verification and then upload it to the text portion of archive.org. Snævar (talk) 19:20, 16 March 2025 (UTC)
I have no idea how that works. @Snævar: Could you help? CX Zoom[he/him] (let's talk • {CX}) 09:44, 17 March 2025 (UTC)
1. Get an account. 2. Print as PDF 3. s:Help:Internet_Archive#Adding_files, but ignore the OCR bit. Think of the OCR bit as a troubleshooting step if you can not select text in the pdf, which also makes it non-searchable. Snævar (talk) 13:53, 22 March 2025 (UTC)
That method works, though it depends on nobody taking the file down by the request of the site owner. There are other solutions at https://webrecorder.net/developer-tools/ for technical users. Basically you create a WARC of the page, host it on any web server with some JavaScript files, and there you go it will display and you are in control of it like your own private Wayback Machine. Example setup: https://replayweb.page/docs/embedding/#self-hosting -- GreenC 15:47, 22 March 2025 (UTC)

WikiProject Australia pages too wide on phone

Wikipedia:WikiProject Deletion sorting/Australia is too wide on a phone screen, requiring horizontal scrolling on both Mobile and Desktop skins.

It may be something to with the transclusion of Wikipedia:WikiProject Australia/Navigation and Wikipedia:WikiProject Australia/Tab header.

Wikipedia:WikiProject Australia/Help uses those transclusions and does behave well on Desktop, but not Mobile.

Could be an offending div somewhere and maybe a solution is conversion to using {{page tabs}}.

When the problem is found it would be interesting to do a search to find other markup breaking the phone experience across Wikipedia. Commander Keane (talk) 00:59, 23 March 2025 (UTC)

Each of the tabs in the tab header is set to a fixed width of 15em, so the tabs force the table to be wide. Someone could modify Wikipedia:WikiProject Australia/Tab header to display two rows of tabs. – Jonesey95 (talk) 15:26, 23 March 2025 (UTC)
The issue was caused by the category names in the WP:WikiProject Deletion sorting/Australia#Australia-related Categories for Discussion. Underscores had been used instead of spaces in the wikilinks, which stops the formatter from word wrapping the links correctly. -- LCU ActivelyDisinterested «@» °∆t° 20:25, 23 March 2025 (UTC)
In fact as both categories were deleted last year, so I've removed them. I'm not sure why they were still listed, isn't there a bot to clean these up? -- LCU ActivelyDisinterested «@» °∆t° 20:31, 23 March 2025 (UTC)

Pagemove semiprotection

Administrators can semiprotect pages from moves, i.e. you can't move the page unless you're confirmed or autoconfirmed. What's the point? HELP:MOVE notes that you have to be autoconfirmed to move a page in the first place, so functionally, all pages have this level of protection already. Nyttend (talk) 04:03, 23 March 2025 (UTC)

@Nyttend: The move right is a MediaWiki configuration setting where the default is all registered users. We have set it to autoconfirmed/confirmed. MediaWiki could be coded to detect this and remove the option on the protect form but I don't think there is a good reason this complication. And a wiki could change the setting later. PrimeHunter (talk) 09:31, 23 March 2025 (UTC)
Even if someone were to code that, I don't think it'd take effect here because the page movers group can grant move without editsemiprotected, so it's possible that the protection would have an effect in the case of someone who's not autoconfirmed or confirmed but is a page mover. It's the same reason why semiprotection is an option in the MediaWiki namespace despite code existing since 2013 to filter out protection levels that namespace-level protection filters out, because the interface-admin group could (at a technical level) be given to an account not already confirmed or autoconfirmed. Anomie 13:51, 23 March 2025 (UTC)

Sorry, I didn't mean to ask what you thought I was asking. I understand why this level is available, since the site might be configured otherwise, and MediaWiki developers shouldn't prevent it from being available. I meant — since en:wp is configured to prevent pagemoves unless you're autoconfirmed, why would anyone apply this level of protection? I see it comparatively frequently, and I can't imagine any reason to use it. Nyttend (talk) 19:27, 23 March 2025 (UTC)

If you're talking about protections like this one that apply both 'edit' and 'move' protection, most likely it's because it's easier to leave the "Unlock further protect options" checkbox unchecked when semiprotecting (and not expecting pagemove vandalism) rather than checking it and adjusting the 'move' part of the form. Anomie 21:41, 23 March 2025 (UTC)

Photo preview cropping and positioning on Wikipedia app

In the Wikipedia app (iOS 18.3.1), the “preview” photo at the top of the page is often cropped, resulting the main content of image being hidden. Is there a guideline for how to set the origin point or cropping behaviour?

screenshot of the behaviour here:

[1]

Davidley (talk) 14:51, 23 March 2025 (UTC)

Most images work fine as they have a normal aspect ration. The used image on Forest Hill station (Toronto) is square but there is a lot of empty space. Will propose a crop to it. Sjoerd de Bruin (talk) 09:58, 24 March 2025 (UTC)

Gadget proposal: Citation Watchlist

I would like to propose adding the Citation Watchlist script as a new gadget. The purpose of Citation Watchlist is to add visual indicators in recent changes feeds, watchlists, page histories, and user contributions pages when links to certain domain names are added. These domain names are often considered unreliable sources or otherwise require closer examination; this script makes it easier to identify when and where such links are added. New lists can be added to Wikipedia:Citation Watchlist/Lists and existing lists can be updated there. If you can edit a wiki page, you can create and update a domain list.

Citation Watchlist is under active development by the nonprofit Hacks/Hackers, with support from Wikimedia Switzerland. New versions are initially tested on test.wikipedia.org, then staged on English Wikipedia for additional tests before being released, to ensure that the script does not randomly break. To run through the requirements for gadgets:

  1. Gadgets must work if just included with no further configuration. They can be configurable via personal common.js, but must work unconfigured.
    Citation Watchlist works out of the box with no further configuration required.
  2. Gadgets must be compatible with all major browsers, i.e., they must not terminate with errors.
    Citation Watchlist has been tested and confirmed to work on Google Chrome, Mozilla Firefox, Microsoft Edge, and Safari.
  3. Gadgets should be functional in most major browsers (cross-browser compatibility). Exceptions must be clearly stated.
    As stated above, Citation Watchlist works in all major browsers. Note that on mobile devices, you can't hover over indicators to get additional information, as mobile devices lack a hover action.
  4. Duplication of gadgets should only be made if it is reasonable.
    Citation Watchlist provides functionality not available in other gadgets. While there are other gadgets that deal with references and source reliability, they do not operate in the same parts of the interface as Citation Watchlist, which focuses on revision log pages: page histories, watchlists, recent changes, and user contributions.
  5. Collections of scripts should be split if they have disparate functions.
    Citation Watchlist is not a collection of disparate scripts.
  6. Gadgets requiring permissions must be marked and must fail gracefully if the permissions aren't present.
    Citation Watchlist requires no special permissions.
  7. Gadgets only working in some skins must be marked as such if that data is available.
    Citation Watchlist has been tested and confirmed to work in Vector 2022, Vector 2010, Monobook, Minerva, and Timeless.

I am happy to answer any questions you have. If you would like to make changes to the code, I recommend doing so on Test Wikipedia so changes can be properly tested before altering the experience for existing users. Harej (talk) 18:50, 17 March 2025 (UTC)

Gadgets usually require a large usage; this one is used by only about 50 people. Izno (talk) 20:28, 17 March 2025 (UTC)
Meh seems fine to me. More wondering why the url is hardcoded, when we have wgScriptPath and wgArticlePath config variables available. —TheDJ (talkcontribs) 09:18, 18 March 2025 (UTC)
Which URL are you referring to? Harej (talk) 16:06, 20 March 2025 (UTC)
If I understand the implementation correctly, it fetches the actual diff of every page in the displayed list every time such a list is displayed. So if I go to a page-history (default is most recent 50 changes), it fetches 50 diffs. If I then change to 500, it fetches 500. And 250 fetches when I look at my watchlist whose pref I set to 250. If I'm understanding that correctly, it seems like a pretty big resource use (I don't want to slam WMF's server and I also don't want to bog down my own browser every time). When I went to the "Deprecated sources recent changes filter" example at Wikipedia:Citation Watchlist, which is only 50 entries, it took an extra 5 seconds to finish loading and I could watch as the original display gradually had the flags added. In addition to simple resource usage, if I'm seeing an entry in a long list that doesn't have a flag, it might be that the flagging process simply hadn't finished. How about an alternative implementation that is triggerable by a toolbox link rather than automatically applied every time? DMacks (talk) 10:51, 24 March 2025 (UTC)

Preferred skin changes in other wikis

Resolved
 – Special:GlobalPreferences should be used for cross-project settings. — xaosflux Talk 14:31, 24 March 2025 (UTC)

It appears, for me at least, that now each Wikipedia in another language ignores the skin preference of a logged-in user in English Wikipedia, requiring its own setting (in my case I have to set preferred old Vector 2010 skin in Russian and Azeri Wikipedia I'm logged in). Is it sort of a bug or was it a taken decision? Brandmeistertalk 20:11, 23 March 2025 (UTC)

None of your preferences set on English Wikipedia affect any other wiki. However, you can set your skin (and other settings) in global preferences: Special:GlobalPreferences#mw-prefsection-rendering and that will affect all wikis. (You can find this page again the future under the "Set your global preferences" button on the normal preferences page.) Matma Rex talk 20:25, 23 March 2025 (UTC)
Thanks, perhaps I had a false memory of a skin setting affecting other wikis... Brandmeistertalk 20:33, 23 March 2025 (UTC)

Tech News: 2025-13

MediaWiki message delivery 22:39, 24 March 2025 (UTC)

Do archived adminship templates need to be substituted?

These are {{rfap}}, {{rfaf}}, and {{rfab}}. I'm sure that since {{subst:finaltally}} automatically fills the tally when substituted, it makes sense for that to be substituted when closing an RfA. But do the archive top and bottom templates need to be? 0xDeadbeef→∞ (talk to me) 11:17, 24 March 2025 (UTC)

Well they all have {{subst only}} on them ... I'd argue yes, because the RFA almost always doesn't change after it's closed and neither should what's on its page change due to modifications of the templates. We substitute {{Afd top}}, {{Mfd top}}, etc. Graham87 (talk) 06:06, 25 March 2025 (UTC)

Hi,
A reader of the Oberon book asked me to add at the top and bottom of each page, navigation buttons similar to the "← previous" "↑ top" "next →" links of some Web based documents. A reasonable request and I've put two mock-ups in my sandbox. In Wikipedia the button templates work except for the style attribute. According to the table at the bottom of the button document style is available. Seems my syntax is wrong. Furthermore, the template is unavailable in Wikibooks?

In the div box mock-up, the text is linked; not the whole box. The person asking for navigation insisted the box be clickable. He noted "... really frustrating to click a box, only to find out that you have to click the link." I agree but couldn't make the markup work. Help to fix either of these arrangements appreciated. Thanks, ... PeterEasthope (talk) 18:31, 19 March 2025 (UTC)

You might find {{Skip to top and bottom}} useful. – Jonesey95 (talk) 04:43, 20 March 2025 (UTC)
Hello Jonesey95, appears we're at crossed purposes. The skip templates are for navigation within a page; correct? I'm interested in navigating between pages. Thx, ... 22:12, 23 March 2025 (UTC) PeterEasthope (talk) 22:12, 23 March 2025 (UTC)
Surely this is a matter for b:WB:TECH? The regulars there may know if a template already exists for this. --Redrose64 🌹 (talk) 22:44, 23 March 2025 (UTC)
@PeterEasthope According to the table at the bottom of the button document style is available. Seems my syntax is wrong - you need to remove the quotation marks from the values, and "BG" is not a valid CSS selector - it needs to be "background-color". I've fixed the ones in your sandbox.
Furthermore, the template is unavailable in Wikibooks? - you would need to ask an admin on wikibooks to import it, along with all it's prerequisite templates.
In the div box mock-up, the text is linked; not the whole box. You need to replace the divs with spans, add the class "mw-ui-button" to the span elements, and move the spans inside the link markup.
I've made these changes to your sandbox for you so you can see what they do. 86.23.109.101 (talk) 23:37, 23 March 2025 (UTC)
@86.23.109.101 Many thanks. I was baffled. PeterEasthope (talk) 13:53, 25 March 2025 (UTC)

Category misplacement

Category:American jockeys - how did Frank O’Neill get in the D’s section?

https://en.wikipedia.org/wiki/Category:American_jockeys D Hilton Dabson Dan Davis (writer) Robbie Davis Wantha Davis Pat Day Eddie Delahoussaye Alberto Delgado (jockey) Anthony DeSpirito Frank O'Neill (jockey) Earl Dew Douglas Dodson Samuel Doggett Ramon Domínguez Edward Donnally William Donohue (jockey) Ruperto Donoso René R. Douglas Eddie Dugan Dylan Davis Xavier Newcombe (talk) 13:33, 25 March 2025 (UTC)

{{DEFAULTSORT}} was set to "Dettori, Frankie"[6]. An error that was in the article when it was created in 2018. -- LCU ActivelyDisinterested «@» °∆t° 14:01, 25 March 2025 (UTC)

Special:Homepage

Can Special:Homepage be changed on this wiki, or do we need a Phabricator ticket?

Mine currently tells me:

Your recent activity (last 60 days) - 1,000 Edits - 300 Views on articles you've edited

The latter figure is clearly bogus, and I suspect the boilerplate should say something like "on articles you've edited in that period". Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:52, 25 March 2025 (UTC)

Special:Impact/Pigsonthewing currently says "163,246 Views on articles edited". Do you really see 300 at Special:Homepage? uselang=qqx shows we can change the text at MediaWiki:Growthexperiments-homepage-impact-edited-articles-trend-chart-count-label. The following text says "Most viewed (since your edit)". It sounds to me like the total is supposed to be views since your edit for all articles you edited in the last 60 days, but the number is only the sum of the top five under "Most viewed" at Special:Impact/Pigsonthewing. It's the same for other users I tried. And your number said something around 198,000 when I first saw it. Did an edit really fall off the 60-day limit in that time? The rule may be more complicated or arbitrary than it sounds. PrimeHunter (talk) 14:22, 25 March 2025 (UTC)
I saw 300 before posting here (the text was cut-&-pasted), 163,246 now. I've also made many more than 1000 edits in 60 days, BTW. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 14:47, 25 March 2025 (UTC)
It appears it only examines the last 1000 edits for efficiency reasons. That would help explain why the view count changes so fast. I now see 96,277 but 300 still sems far too low. I found mw:Help:Growth/Tools/Impact module#On the impact module, why are some of the numbers displayed inaccurate? You are just too busy for the feature.PrimeHunter (talk) 15:47, 25 March 2025 (UTC)

How to wrap text for presentation

At Talk:March 2025 lunar eclipse#Content dispute, I'm trying to wrap a large bit of text in a box for presentation to readers. I've used a "quote" template, but it looks wonky. Is there a better way? Thank you! Magnolia677 (talk) 11:00, 25 March 2025 (UTC)

Not entirely sure what the technical question is, but in general.. don't wrap text, as it severely limits the flexibility of presentation on multiple devices. —TheDJ (talkcontribs) 16:28, 25 March 2025 (UTC)

Semi-protected talk pages crash

Whenever I press Add topic on a semi-protected talk page(the talk page itself is protected, not the origin page) the browser crashes with error code Aw Snap SIGSEGV. This implies that the page was trying to edit a part of restricted memory. This does not happen on non-protected pages. I am using a Chromebook model name CR1104CGA updated to the latest version, and with browser version 126.0.6478.265 It seems that the computer that you are doing this on matters a lot as other computers, and even other Chromebooks do not give the same outcome. Caleb's World11 (talk) 19:39, 14 March 2025 (UTC)

Start with the instructions at Google Support and report back. Izno (talk) 21:56, 14 March 2025 (UTC)
@Caleb's World11 I'm having the exact same issue, except it's happening pretty much everywhere, including creating pages and protected non-talk pages. Gaismagorm (talk) 12:54, 17 March 2025 (UTC)
it looks like it doesn't always crash when creating pages, but it does always crash when editing protected articles Gaismagorm (talk) 13:22, 17 March 2025 (UTC)
Going in order
  1. I am properly connected to the internet and have no issues on other web pages.
  2. Unable to do so, however the issue persists across multiple computers.
  3. when the only app open is wikipedia, the crash still happens. note that I am unable to remove extensions and that this is most likely not a crash due to running out of memory.
  4. Issue persists across restarts
  5. Chrome is on the latest version
  6. Unable to remove all extensions because I am using a managed computer.
Caleb's World11 (talk) 14:26, 24 March 2025 (UTC)
Bug report has been submitted on phabricator Caleb's World11 (talk) 16:44, 25 March 2025 (UTC)
Thanks! Gaismagorm (talk) 17:11, 25 March 2025 (UTC)

Issue with editing any protected pages on Chromebook.

Hello, I have been having issues with editing any protected articles on my Barla chromebook. Whenever I attempt to edit it, it gives the "oh snap" error screen, with the "SIGSEGV" error code. I have tried shutting off my Chromebook, changing Wi-Fi, signing in and then out, clearing my cache/cookies, making sure my Chromebook version is up to date, and switching from visual to source editor. None of it worked. Some options are unavailable as this chromebook is run by an administration, so some features are not available.

P.S. Yes, I know that @Caleb's World11 posted on this forum with the same issue. It appears that discussion kind of went stale, so I'm relisting this. Gaismagorm (talk) 12:50, 18 March 2025 (UTC)

Have you tried freeing up space? And a hardware reset? Polygnotus (talk) 17:41, 18 March 2025 (UTC)
I tried freeing up space, didn't work. I'm gonna procrastinate on the second one since it will be a major hassle to deal with getting everything back to order once I reset the Chromebook, since, like I said, it is administration ran. Gaismagorm (talk) 18:02, 18 March 2025 (UTC)
@Polygnotus @Caleb's World11 I found a solution. If you switch from desktop to mobile view, editing works. Gaismagorm (talk) 18:09, 18 March 2025 (UTC)
@Polygnotus @Caleb's World11 it seems like the issue has been resolved. My best guess was that the server maitinence fixed it. Gaismagorm (talk) 15:14, 19 March 2025 (UTC)
nevermind, it's not fixed. I don't know why I thought it was. Gaismagorm (talk) 15:15, 19 March 2025 (UTC)

Error message

Just for documentation, in case it is a bigger problem:

MediaWiki internal error.

Original exception: [c946df9e-af42-4d60-87c9-0136bcf9d82d] 2025-03-19 20:28:25: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Vchimpanzee • talk • contributions • 20:33, 19 March 2025 (UTC)

What were you doing when this occurred? — xaosflux Talk 22:03, 19 March 2025 (UTC)
Xaosflux According to my contributions, leaving a talk page message for someone who asked a Teahouse question. Even though it was an old question, it looked like something the person might still want the answer to.— Vchimpanzee • talk • contributions • 14:35, 21 March 2025 (UTC)
@Xaosflux I've been getting the same error, mostly when visiting Special:MyContributions.
The most recent one (approx 5 mins ago).
MediaWiki internal error.
Original exception: [c2b93251-f505-4c5f-9026-64c87b61f28c] 2025-03-20 11:03:13: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
I think they've just moved dumps generation back to the main database Phab:T368098#10641387, I seem to recall that dumps generation was causing similar disruption in the past? 86.23.109.101 (talk) 11:11, 20 March 2025 (UTC)
I just experienced this exact error by clicking View history on this page... only this one time though.
The error happened almost instantly, not even a second, so I don't understand the "timeout" part. – 2804:F1...7F:79A0 (::/32) (talk) 18:18, 20 March 2025 (UTC)

MediaWiki internal error.

I have no idea how significant this is. Went to the history of a page I'd just edited (Ming Xia), and got this error message:

MediaWiki internal error.

Original exception: [0fce64a5-248a-4907-aaa2-f2546651ae9c] 2025-03-20 22:32:02: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Moments later I was able to view the page history as normal. Posting here for the eyes of those who understand this sort of thing. DuncanHill (talk) 22:43, 20 March 2025 (UTC)

  • I'm also seeing this error, only intermittently, when clicking on another editor's contributions.-- Ponyobons mots 20:00, 21 March 2025 (UTC)
    I had this message about 30 minutes ago. At first I wondered if it was because the editors edit had remained on my screen (I went to make a cuppa) but I've done that before, and for longer and never had that notice. It has only happened once, so far. Knitsey (talk) 20:04, 21 March 2025 (UTC)
    Just happened again. Loggingthe message here. Clocked on an edit to view it and it came up with this...
    MediaWiki internal error.
    Original exception: [694e5180-5ffd-47ba-8b0e-ff44245737e2] 2025-03-21 21:13:21: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"
    Exception caught inside exception handler.
    Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information. Knitsey (talk) 21:17, 21 March 2025 (UTC)

Me too.

MediaWiki internal error.

Original exception: [e769a451-ba7d-44c9-a141-3d95e8d86266] 2025-03-22 03:10:59: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

wbm1058 (talk) 03:17, 22 March 2025 (UTC)

I got the error when going to an editor's contributions page. I did a hard refresh of the page and got the error three or four times. I went to another browser, where I am logged out, and the page worked. When I went back to my main browser, a hard refresh of the page worked fine, showing the contributions. – Jonesey95 (talk) 12:58, 22 March 2025 (UTC)
Just had it again, this time trying to view history of List of ghost towns in Oklahoma:

MediaWiki internal error.

Original exception: [fd2a3012-a533-4401-9fc2-e2cc86e2f104] 2025-03-23 00:50:33: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Again I clicked to reload and it cleared. DuncanHill (talk) 00:53, 23 March 2025 (UTC)
I've filed a Phabricator ticket (T389734) given the suspicious increase in the rate of these errors - I'm seeing them reported elsewhere too. Sam Walton (talk) 11:38, 23 March 2025 (UTC)
In case it helps, I just hit:
Original exception: [cdbe9231-712e-4418-86b1-50cd13482f3c] 2025-03-24 03:20:31: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
The rest of the message was the same as the others above. It persisted for perhaps half a minuteish. CMD (talk) 03:27, 24 March 2025 (UTC)

I got this error ([89a1c80c-8a68-426a-a142-c6d17893edd3] 2025-03-24 17:41:41) at [7]. I don't get how there is a "RequestTimeout" because it appeared immediately after I clicked "View history". 216.58.25.209 (talk) 17:44, 24 March 2025 (UTC)

Like others above, encountered the following when visiting my contributions page:

MediaWiki internal error.
Original exception: [3343407a-0463-4fe2-97c7-8026a81ccac7] 2025-03-24 23:13:07: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Rotideypoc41352 (talk · contribs) 23:18, 24 March 2025 (UTC)

What is this error code?

[000d64e7-255a-44aa-87ed-87adb75c67ea] 2025-03-25 08:53:12: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException"

This error popped up when I opened my contribs, it was not easy to reproduce though, I tried several times and combinations of reloading my user page and it finally showed up again for me to copy it. —Mint Keyphase (Did I mess up? What have I done?) 08:56, 25 March 2025 (UTC)

@Mint Keyphase See the #Error message section above. 86.23.109.101 (talk) 09:25, 25 March 2025 (UTC)
I just had this error again when I tried loading 500 revisions of an IP range, again more or less just a second after clicking, it is just a blank page with just the error message: [imgur.com]
Here is the id and time as text, in case it's useful: [b2a9764b-706e-4b76-9bd2-4cf67a6b740b] 2025-03-25 18:50:08. – 2804:F1...9:7D6E (::/32) (talk) 18:59, 25 March 2025 (UTC)

The bottom of the main content of pages is now overflowing into the footer so they are rendered over categories. As I create this new talk section right now, the "Welcome to the village pump" instructions banner is rendered mostly behind the section above mine (the "i" icon is on top though). I am using Monobook theme with Chrome 135.0.7049.17. Disabling the code in my common.css did not help. I had enabled some gadgets but I can't figure out what would cause this (it's not HotCat). yutsi (talk) 22:47, 20 March 2025 (UTC)

Does it happen to you in safe mode? Does it happen on all pages, or just when editing? (If the latter, which editor are you using?) DLynch (WMF) (talk) 01:00, 21 March 2025 (UTC)
It does not occur in safe mode. It happens on all pages without editing otherwise. yutsi (talk) 01:16, 21 March 2025 (UTC)
If it's not happening in safe mode, and you've already tried disabling your own common.css, the next step is probably to start turning off gadgets and seeing when it stops happening. DLynch (WMF) (talk) 01:33, 21 March 2025 (UTC)
@Yutsi and Enterprisey: It's caused by importing User:Enterprisey/hover-edit-section.js in User:Yutsi/common.js. PrimeHunter (talk) 09:55, 21 March 2025 (UTC)
Thanks. It was fixed by removing that script. yutsi (talk) 19:02, 25 March 2025 (UTC)

Trouble staying logged in?

Anyone else having issues today with randomly finding themselves logged out? Just had that happen a couple of times when opening pages in new tabs, and had it happen earlier once on Commons while uploading. - The Bushranger One ping only 00:37, 19 March 2025 (UTC)

And just had it happen again on Wikidata, between adding variables to a page. Quite weird. - The Bushranger One ping only 01:02, 19 March 2025 (UTC)
And again on Commons. Just refreshing makes it "log back in". Maybe it's something with my connection... - The Bushranger One ping only 01:17, 19 March 2025 (UTC)
I've been having the same issue for several hours. I'm guessing it's either a Firefox thing or something related to the SUL work. Jay8g [VTE] 03:42, 19 March 2025 (UTC)
@The Bushranger If you use cookie / ad blockers, you might have to allowlist the domain auth.wikimedia.org now. —TheDJ (talkcontribs) 10:53, 19 March 2025 (UTC)
This is probably the same issue that has been reported at T389159 (and maybe the same as #I need help with my Ip address? though that's a bit vague). It's probably caused by the SUL3 changes in some way or another (sorry!). Some information that would help:
  • your browser (and whether you use non-standard privacy/security settings, like incognito mode, an ad filter, third-party cookie blocking in Chrome)
  • if you have an idea exactly when this started happening
  • whether you are browsing multiple wikis at the same time and the behavior seems related to that (e.g. when you visit a page on wiki 1, you get logged out on wiki 2)
  • whether getting logged out seems to correspond with inactivity (specifically, not doing anything on a specific wiki for 5 or 10 minutes)
  • whether fully logging out and logging back in helps
Thanks! Tgr (WMF) (talk) 21:50, 19 March 2025 (UTC)
Have Firefox (136.0.2), NoScript and uBlock Origin. There have been occasional, very very rare, instances of this for awhile but it happened "regularly" yesterday. Was happening mid-editing on single pages on Wikis - for instance opening a page from my Watchlist on en. in a new tab logged it out once. Another time I was logged out on Wikidata in between entering parameters on the same page back to back. Another time on Commons I was uploading an image, hit upload, sat uploading for a bit and then said "cannot upload because you're logged out". Seemed to get better later on though? Note that the first one described there I was logged out completely until I clicked "log in" - where I did not have to enter any data, it just logged me right back in - but all the other times simply refreshing the page saw me recognized as loggedin. - The Bushranger One ping only 22:19, 19 March 2025 (UTC)
Can you maybe reconstruct from your edit history when exactly it started happening? Tgr (WMF) (talk) 10:21, 20 March 2025 (UTC)
This particular time it was "immediately on the first 'hist' I clicked on on my watchlist after logging in ". But it hasn't happened yesterday or today. - The Bushranger One ping only 02:18, 21 March 2025 (UTC)
This happened to me yesterday afternoon/evening. I also have Firefox. Scared the dickens out of me, but seems OK now. It was very strange. I thought I had been hijacked or something. It happened right in the middle of my reading/scrolling Articles for deletion/Log/2025 March 20 — Maile (talk) 20:06, 20 March 2025 (UTC)
Exactly the same, although with GoogleChrome, yesterday and today, seemingly random. Sometimes saying I was logged out, but accepting edits, sometimes not. Martinevans123 (talk) 20:31, 20 March 2025 (UTC)
I have had this problem in the past as well. Catfurball (talk) 21:11, 20 March 2025 (UTC)
I think it might be somehow related to connection stability, as I had a foul connection the other day when it was happening. - The Bushranger One ping only 02:18, 21 March 2025 (UTC)

Are you still having problems? I can't find any bugs in the login code (which is not saying much, it's a very complex system), and the person who first reported T389159 isn't experiencing it anymore.

If you are still being affected, do you feel we could set up a debug session with a developer where you look at things on your browser's developer toolbar (such as what cookies are set, or what requests are made) and describe them via chat or in a video meeting or similar realtime communication? It's very hard to diagnose login problems without seeing what actually happens in the browser. --Tgr (WMF) (talk) 21:43, 25 March 2025 (UTC)

Does anyone know why the map in the infobox has gone invisible? Thanks Keith-264 (talk) 20:45, 23 March 2025 (UTC)

It's also broken at the other articles that use it. But it does display correctly at File:NYTMapNeuveChapelle1915.png. DuncanHill (talk) 23:12, 23 March 2025 (UTC)
Could this be a skin/browser issue? The image is displaying correctly for me (android, chrome, 2010 skin, desktop site) in all cases. -- LCU ActivelyDisinterested «@» °∆t° 23:17, 23 March 2025 (UTC)
For me:
- /wikipedia/commons/thumb/a/...NYTMapNeuveChapelle1915.png is a page that says "Error" "Too Many Requests";
- /wikipedia/commons/a/...NYTMapNeuveChapelle1915.png works though.
Seems unlikely to be a skin issue.
I'm reminded of #Broken icon (T383023), though that was a 'unauthorized' error. – 2804:F1...96:5BD7 (::/32) (talk) 00:47, 24 March 2025 (UTC)
After waiting a bit the error I got was "Our servers are currently under maintenance or experiencing a technical issue", though after refreshing it went back to being "Too Many Requests" again. – 2804:F1...96:5BD7 (::/32) (talk) 00:57, 24 March 2025 (UTC)

Thanks for the help but it's still playing dead on my laptop (Firefox browser). Regards Keith-264 (talk) 01:14, 24 March 2025 (UTC)

It occurs on my Windows desktop. In both Firefox and Google Chrome. My MacOS laptop sitting right next to it loads the page correctly. I am getting "Error Too Many Requests - Request served via cp5026 cp5026, Varnish XID 574968787 Upstream caches: cp5026 int Error: 429, Too Many Requests at Mon, 24 Mar 2025 04:49:34 GMT" from thumb. (Although the Mac loads the page correctly, it gets the same error from the thumb link.) Hawkeye7 (discuss) 04:48, 24 March 2025 (UTC)
The HTML on desktop is: <img src="/media/wikipedia/commons/thumb/a/a5/NYTMapNeuveChapelle1915.png/270px-NYTMapNeuveChapelle1915.png" decoding="async" width="270" height="334" class="mw-file-element" srcset="/media/wikipedia/commons/thumb/a/a5/NYTMapNeuveChapelle1915.png/405px-NYTMapNeuveChapelle1915.png 1.5x, /media/wikipedia/commons/a/a5/NYTMapNeuveChapelle1915.png 2x" data-file-width="480" data-file-height="593">. That means MediaWiki offers three sizes to the browser which picks one depending on circumstances. This is normal. The first two are 270px and 405px resizings which don't work for me. The last is the original upload which works for me. MediaWiki is unable to make any resizing I have tested. I guess it just varies which size people are getting. PrimeHunter (talk) 07:04, 24 March 2025 (UTC)
This appears to be the same effect as reported at c:COM:VPT#File:DEU Weißeritzkreis COA.png as seen in Weißeritzkreis#Coat of arms. DMacks (talk) 15:40, 24 March 2025 (UTC)
I've looked at them from production side. It's triggering 500 so it's very very likely an issue with thumbor. Please create a ticket against thumbor in phabricator. It can be also an issue with original file not being available in the local datacenter that thumbor is trying to access (mediawiki's implementation of swift API is known to have issues like this). Let me check that. Ladsgroupoverleg 17:29, 24 March 2025 (UTC)
Created phab:T389860 Hawkeye7 (discuss) 18:57, 24 March 2025 (UTC)
Thanks! But I think the VPT diff-link you mentioned in it is to a different server-error section. DMacks (talk) 19:56, 24 March 2025 (UTC)

This image has now been repaired. Phabricator closed as a duplicate of a declined ticket. Looks like failures will have to be reported as they are encountered. Hawkeye7 (discuss) 04:51, 25 March 2025 (UTC)

Thanks Hawkeye and everyone. Keith-264 (talk) 12:29, 26 March 2025 (UTC)

Is there a way of getting overall page views per day of every article a user has contributed to?

Hi all

I've seen the pageview counter on the new HomePage feature but this only seems to be showing statistics for the past 60 days. Is there a way of seeing pageviews of all articles a user has contributed to since their account was created? For someone who has been around for a while, this could be 1000s of articles.

Thanks

John Cummings (talk) 14:10, 27 March 2025 (UTC)

Hi @John Cummings, I'm the Product Manager for the Growth team, which developed the Homepage and Impact Module that displays these statistics. As far as I know, there isn't currently an easy way to view the pageviews of all articles a user has contributed to since their account was created. The Impact Module was originally designed with new editors in mind, which is why it’s limited to 60 days and only reflects a user's most recent 1,000 edits.
That said, we’ve been actively exploring ways to make the Impact Module more valuable for experienced editors, as outlined in T341599 and T388558. This includes the possibility of increasing the upper limit of the underlying query and adding additional statistics. While we can likely adjust the time period and the number of edits tracked, we'll still need a reasonable upper limit to ensure these improvements are balanced with system performance considerations.
I’d love to hear your thoughts—do you have any specific feedback on the Impact Module? Are there particular types of data that would be especially useful to you? Also, if you haven't already, you can access your Impact data directly here: Special:Impact.
I apologize if this isn't exactly what you were hoping for, but I hope it's at least nice to know that a WMF team is thinking of improvements that might help (at least partially) address this question. :) Best, -- KStoller-WMF (talk) 23:05, 27 March 2025 (UTC)
Hi KStoller-WMF thanks very much for your message, I'll reply by email. John Cummings (talk) 09:45, 28 March 2025 (UTC)

invalid returnUrlToken?

My bot just started getting an error "invalid returnUrlToken" when it tries to edit. Anybody know what this is related to? Presumably there's been a recent change to Mediawiki, because this only started happening a few days ago. —scs (talk) 03:38, 20 March 2025 (UTC)

Hmm. Per a question just above, there's a good change it has something to do with SUL3. —scs (talk) 03:43, 20 March 2025 (UTC)

Bots should generally use either OAuth or bot passwords, not the web interface for login.
That said, can you check what URLs your bot is hitting (including redirects)? Tgr (WMF) (talk) 10:37, 20 March 2025 (UTC)
@Tgr (WMF): What, not scrape the web interface? Oh, don't I know it. (Over the years I've made several desultory attempts to use the API, like a regular botherd. Pretty sure now's the time to do that for real.)
Anyway, yes, checking the actual URLs is my next step, when I have time to dig into it. (My bot uses a crufty old framework that I can barely remember the details of.)
Thanks very much for the pointers to OAuth and bot passwords. One of those is probably just what I need. —scs (talk) 11:53, 20 March 2025 (UTC)
Keep in mind, oauth/bot passwords are certainly a good idea, but the main change would be to use the api vs screenscraping the webui. — xaosflux Talk 12:46, 20 March 2025 (UTC)
FWIW returnUrlToken is used for top-level autologin, a chain of redirects when you visit Special:Userlogin. It's not SUL3 related per se but there have been some small changes to its behavior recently. As a quick workaround, you can avoid autologin by setting the CentralAuthAnonTopLevel=1 cookie or the centralAuthAutologinTried=1 URL parameter when visiting Special:Userlogin. The login UI and workflow is changing in other ways, though, and will probably break your bot soon anyway if it uses web scraping. Tgr (WMF) (talk) 12:54, 20 March 2025 (UTC)
@Tgr (WMF): Thanks. For what it's worth, I tried adding &centralAuthAutologinTried=1 to the URL when fetching Special:Userlogin, and it successfully worked around the "invalid returnUrlToken" issue, but it left the bot not logged in at all. (Perhaps that's what you meant by "avoid autologin".) —scs (talk) 03:04, 28 March 2025 (UTC)
@Scs: you can try adding &usesul3=0 to the URL on top of that. --Tgr (WMF) (talk) 19:14, 28 March 2025 (UTC)
@Tgr (WMF): Mirabile dictu, that seems to have worked. Thank you again.
The bot is working again, for now, although I realize full well that it is living on borrowed time. If I'm lucky, I'll manage to get it rewritten to use the API before the next domino falls. —scs (talk) 00:35, 29 March 2025 (UTC)

Can someone add one of those archive search boxes to Wikipedia:Requests for page protection/Archive? Thanks! Polygnotus (talk) 04:48, 29 March 2025 (UTC)

Done.[8] PrimeHunter (talk) 09:56, 29 March 2025 (UTC)

Toolforge problem?

https://randomincategory.toolforge.org/All_articles_with_a_promotional_tone?site=en.wikipedia.org

Gave this error

404 Not found

nginx

Mint Keyphase (Did I mess up? What have I done?) 13:17, 27 March 2025 (UTC)

Works fine for me. – DreamRimmer (talk) 13:24, 27 March 2025 (UTC)

Yes - Problem exists

  • I just got this message.
"Not found
The URL you have requested, https://afdstats.toolforge.org/afdstats.py?name=Maile66&max=&startdate=&altname=, doesn't seem to actually exist.
If you have reached this page by following a link
This URL is managed by the afdstats tool, maintained by 0xDeadbeef, Ahecht, APerson, Legoktm, Scottywong, Σ.
Perhaps its files are on vacation, or the link you've followed doesn't actually lead somewhere useful?
You might want to look at the list of tools to find what you were looking for. If you're pretty sure this shouldn't be an error, you may wish to notify the tool's maintainers (they are listed above) about the error and how you ended up here."

— Maile (talk) 13:52, 27 March 2025 (UTC)

Looks like everything is OK now. — Maile (talk) 14:41, 27 March 2025 (UTC)
I just went to that link, and it does exist (however, it took some time to load). SeaDragon1 (talk) 14:51, 27 March 2025 (UTC)
@DreamRimmer, @Maile66: For the first one, the logs show that the redis service on Toolforge went down, which brought the randomincategory webservice down as well. Randomincategory can take some time to load on larger categories (the one in the example has 22,000+ pages), but category contents are cached for 10 minutes so subsequent requests should be faster.
The logs for afdstats show that it was shut down and restarted twice recently, probably due to the same Toolforge server issues. It can be slow as it has to retrieve each AfD page and process it so it can take a while for someone with almost 1,000 AfDs. Somewhere on my to-do list is a future project to do some caching with that tool as well to speed it up. --Ahecht (TALK
PAGE
)
19:21, 27 March 2025 (UTC)
SeaDragon1 (talk) 14:52, 28 March 2025 (UTC)
Works fine for me now as well. However, it does load for longer than usual. —Mint Keyphase (Did I mess up? What have I done?) 02:58, 28 March 2025 (UTC)

Toolforge problem -the latest, 29 March 2025

Here we go again. "Webservice is unreachable. The tool responsible for the URL you have requested, https://afdstats.toolforge.org/afdstats.py?name=Maile66&max=&startdate=&altname=, is not currently responding." — Maile (talk) 12:16, 29 March 2025 (UTC)

@Maile66: I can access it. – DreamRimmer (talk) 12:19, 29 March 2025 (UTC)
Works for me now. — Maile (talk) 12:27, 29 March 2025 (UTC)

Why formatversion=2?

Can somebody ELIF why the action API has a choice of formatversion=1 or formatversion=2? As far as I can tell from trying both (version 1, version 2), v2 gives you the same information but in a data structure which is more complicated and more difficult to navigate. What am I missing here? RoySmith (talk) 00:49, 28 March 2025 (UTC)

See mw:API:Data formats#JSON parameters. – DreamRimmer (talk) 01:08, 28 March 2025 (UTC)
Following a couple of links from that page, I found mw:API:JSON version 2#Changes to JSON output format, which I think more directly answers the question, although maybe we could document the reasons for the changes in more detail. I've always felt that version 2 is the easier one to use, can you say more about what makes you feel the opposite way? Matma Rex talk 09:22, 28 March 2025 (UTC)
While that link has a good summary of what the differences are, the "why" is that we wanted to clean up a bunch of odd quirks in the API output but didn't want to just break most things using the API. Thus the new formatversion parameter, so old clients aren't broken but new clients can opt-in to the new format. I'm also curious as to what you see as more complex in the version 2. Anomie 12:59, 28 March 2025 (UTC)
The most confusing change is adding an extra array level (see this result). After (to use python notation) result['query']['pages'], I'm left with an array of one value, so I need to do [0]. What's the point of that? If I got back multiple pages, there's no indexed way to find the one I want, so I'd have to do a linear search of all the array elements to find the one with the right pageid value. RoySmith (talk) 13:11, 28 March 2025 (UTC)
PS, I'm totally on board about using an explicit version specifier when making the format change. RoySmith (talk) 13:14, 28 March 2025 (UTC)
There's no extra level. With formatversion=1 you'd have to do result['query']['pages']['79457898'] rather than result['query']['pages'][0]. The point of it is to have the same result structure whether you happened to receive one page or multiple pages in the response (note it's not really possible for the server generating the response to know whether the client doing titles=Foo really intended to query exactly one page or if it happened to have just one page in its array of pages to request). Regarding If I got back multiple pages, there's no indexed way to find the one I want, that's true but most queries are by title rather than pageid so clients would still have to iterate to find the one they want, and for the single-page case it allows for doing direct access by [0] instead of having to iterate or run it through some sort of values() function first. Anomie 13:37, 28 March 2025 (UTC)
If I query for multiple pages, are the results guaranteed to come back in the same order as the were in the request? RoySmith (talk) 14:05, 28 March 2025 (UTC)
Regarding "most queries are by title rather than pageid so clients would still have to iterate to find the one they want", I assume what comes back in the "title" slot is the canonicalized title, so I'd need to canonicalize my original search key to do that comparison? RoySmith (talk) 14:51, 28 March 2025 (UTC)
Yes, but the API does give you an explanation of the normalization it did. There's a normalized field under query that you could use to translate your inputs for said iteration, without having to manually do any canonicalization via mw.Title or whatever.
(You'd have to do this in either formatversion, of course, since you wouldn't know the pageid to check in the result.) DLynch (WMF) (talk) 16:40, 28 March 2025 (UTC)
No. Probably the results will be reordered. The order likely depends on the database query that is done. Anomie 20:08, 28 March 2025 (UTC)
OK, this is starting to make a little more sense, thank you everybody. RoySmith (talk) 18:25, 29 March 2025 (UTC)

CharInsert missing on Vector Legacy (2010) edit page

Hi, this seems to be a problem only affecting Firefox as when I tried it on a different computer using Chrome or Microsoft Edge it showed up, but for some reason on my home computer whenever I try editing pages, the CharInsert bar no longer shows up. I looked it up on here but the most recent thing I could find was from 2012 so I'm not sure if that would still apply. Has anyone else using Firefox experienced this problem or is my best option right now while doing edits that need that bar, to use another browser? VampireKilla (talk) 21:53, 29 March 2025 (UTC)

 Works for me Firefox 136.0.4 (64-bit). --Redrose64 🌹 (talk) 22:12, 29 March 2025 (UTC)

Wikimedia log in

Hi. This happened once before and as I recall the answer was check back later. I am trying to reach the Wikipedia Library for a couple days. The Wkimedia log in page gives me the error: Incorrect username or password entered. Please try again. -SusanLesch (talk) 18:23, 24 March 2025 (UTC)

@SusanLesch If you use a password manager, and you have several accounts in Wikimedia-adjacent projects (e.g. something like Phabricator), double-check that it's filling in the password for the correct account. Recent changes to logins (see recent Tech News entry) have made it easier to mix them up. Matma Rex talk 18:55, 24 March 2025 (UTC)
Thank you for the link to the news. I do use a password manager, and double checked the entry. But no luck. -SusanLesch (talk) 19:40, 24 March 2025 (UTC)
I'm locked out for the second time today. -SusanLesch (talk) 21:24, 24 March 2025 (UTC)

I would like to please access the Wikipedia Library. Can anybody here help? -SusanLesch (talk) 18:04, 25 March 2025 (UTC)

@SusanLesch Hi, we've reviewed the system logs related to logins to your account to try to get to the bottom of this. They indicate that your password was changed earlier this year. I may be able to share more details with you, but I don't think I should share them on this public page, so please feel free to contact me by email if that would help you (I have the address on my WMF user page, or you can use Special:EmailUser). As far as we can tell, this is not caused by any problem with the Wikipedia Library or with the new login system. --Matma Rex / Bartosz Dziewoński (WMF) (talk) 19:21, 25 March 2025 (UTC)
Resolved. Truly bizarre. I was able to sign in but cannot account for the failures of a well-respected password manager. Thank you for your help, Matma Rex. -SusanLesch (talk) 22:31, 29 March 2025 (UTC)

Username in template paths

I have several templates in userspace that I'd like to start using for real. However, they're not ready for general use, so need to stay where they are. This means that in order to use one of them, I have to type {{subst:user:Musiconeologist/ }} before I even get to the name of the template. Using a relative path won't help outside of my own user space, since it's relative to the page calling the template.

So, is there some variable, parser function, shortcut or similar that replaces the User:Musiconeologist part of that? So far I've not been able to find anything. Basically something that acts as a path prefix. Musiconeologist • talk • contribs 14:18, 29 March 2025 (UTC)

You should not use templates in your userspace outside of your own userspace. Move them to template namespace if they are being used elsewhere. You can always edit them as and when required. CX Zoom[he/him] (let's talk • {CX}) 14:25, 29 March 2025 (UTC)
Is this correct? My understanding is that you shouldn't transclude them outside of your userspace (for pretty obvious reasons), but that substituting is fine. I'll check the guidelines again, but I'm pretty sure it's something like "if you use them outside your own userspace, always substitute them". Musiconeologist • talk • contribs 14:34, 29 March 2025 (UTC)
It's fine if you're substing them and the substed output is clean. User:CX Zoom apparently overlooked that part of your question. As for the original question, I don't think there's any magic to replace having to type out subst:User:Musiconeologist; the best you might do is add a user script to add your templates to the CharInsert gadget, assuming you don't have that gadget disabled and don't use VE. Anomie 14:39, 29 March 2025 (UTC)
Thanks! The first part of that is a relief, and the second part is as I feared. I hoped there might be a {{#me:}} parser function or something. My solution will probably be a shortcut in SwiftKey, then, but I'll investigate that gadget too. Musiconeologist • talk • contribs 14:55, 29 March 2025 (UTC)
@Anomie Actually the gadget looks as though it might be exactly the right solution. Thanks :-) Musiconeologist • talk • contribs 15:12, 29 March 2025 (UTC)
If you are using the 2017 wikitext editor, this userscript would make it so that anytime you typed !SUB it'd fill all that in for you. DLynch (WMF) (talk) 15:55, 29 March 2025 (UTC)
I'm sorry. Yes, substituting outside your userspace is fine. Transcluding is not. CX Zoom[he/him] (let's talk • {CX}) 14:40, 29 March 2025 (UTC)
I believe {{subst:User:{{subst:REVISIONUSER}}/the_template}} answers the question, though I don't guarantee you'll find it useful. -- zzuuzz (talk) 15:00, 29 March 2025 (UTC)
Seems worth a try. Maybe if I wrap it in something shorter . . . Oh but then that's in my userspace itself, with a long name. I'll play around with that, though. Thanks! Musiconeologist • talk • contribs 15:21, 29 March 2025 (UTC)
You could also use Help:CharInsert#Customization to make a button which inserts {{subst:User:Musiconeologist/}} and places the cursor after the slash. You can add this to your common JavaScript:
// Add custom CharInsert entries per [[Help:CharInsert#Customization]]
window.charinsertCustom = {
 "Wiki markup": 'Custom: {\{subst:User:Musiconeologist/+}\}',
};
PrimeHunter (talk) 23:33, 29 March 2025 (UTC)
@PrimeHunter Ah now this looks excellent. I'm often editing in desktop view on a phone, so getting the cursor where I want it can be a bit of a pain which this solves. Plus it's nice and compact in the JavaScript, making it helpful in ten years' time when I've forgotten what's in there and why. Musiconeologist • talk • contribs 01:32, 30 March 2025 (UTC)

Residential IPs in San Francisco getting banned for "botting"

moved from Wikipedia talk:Village pump (technical)

Hi there, it has come to my attention that a block of residential IPs in San Francisco are getting banned for botting when no such thing has happened - it would seem that a bunch of Pokemon Go players wrecked things by spoofing these IPs for years and now the new residents are quite confused. Any assistance would be appreciated. Thanks! Signingup1234 (talk) 02:23, 30 March 2025 (UTC)

What's the IP range? Remsense ‥  03:01, 30 March 2025 (UTC)

edit api with oauth javascript (not nodejs) (not mediawiki js) example

Hello, https://www.mediawiki.org/wiki/API:Edit#JavaScript actually is nodejs. Could you please share with me an example, that allows to auth using OAuth and create a page with content I have in my variable in JavaScript, for client-side in-browser JavaScript without involving nodejs? It will be outside of wiki page, so I won't have access to mw.utils and the like. Could you please share a few examples? (I've asked here also hoping for faster replies here.) Gryllida (talk, e-mail) 04:27, 21 March 2025 (UTC)

@Gryllida You're in luck, because this was just recently made possible thanks to @Lucas Werkmeister's work. See the links in this comment and below, there are code examples: T322944#10590515. Matma Rex talk 16:33, 21 March 2025 (UTC)
I could only find nodejs examples there? Gryllida (talk, e-mail) 09:48, 22 March 2025 (UTC)
This example runs in the browser, you just need Node to either serve or build it (because it was easier to set up this way). Lucas Werkmeister (talk) 10:46, 22 March 2025 (UTC)
Hi Lucas
It looks too complicated for me, as I am not familiar with the corresponding libraries used nor with npm. I have code like this: (there actually is more, as user generated page content from a few other variables in my app, but this is the part I am having trouble with)
var pageName='Gryllida Test 2';
var url = 'http://test.wikipedia.org';
var content='Hello world';
What is the code to insert afterwards to get this content added to the page with this pageName on that wiki?
Regards, Gryllida (talk, e-mail) 00:44, 23 March 2025 (UTC)
@Leaderboard Gryllida (talk, e-mail) 20:05, 25 March 2025 (UTC)
I'm not familiar with this, sorry. From what I understand, you need to install node.js (https://nodejs.org/en/download) and install the dependencies locally on your system? Looks like the app would run locally as a result. Leaderboard (talk) 04:49, 26 March 2025 (UTC)
@Gryllida: This should work, once you have the OAUTH 2.0 access token:
Extended content
var pageName='Gryllida Test 2';
var url = 'http://test.wikipedia.org';
var content='Hello world';
var summary='API test';
const oauthToken = "OAUTHAccessToken";
var apiEndpoint = url + '/w/api.php';

var params = {
	action: 'query',
	meta: 'tokens',
	format: 'json',
	formatversion: '2',
	crossorigin: ''
};
var queryURL = new URL(apiEndpoint);
queryURL.search = new URLSearchParams(params);

fetch(queryURL, {method: 'GET', headers: {'Authorization': 'Bearer ' + oauthToken}})
	.then(function(response){return response.text()})
	.then(function(text){try {const data=JSON.parse(text);return data} catch (e) {return text}})
	.then(function(data){
		var csrfToken = data?.query?.tokens?.csrftoken;
		if (csrfToken) {
			console.log(csrfToken);
			params = {
				title: pageName,
				text: content,
				summary: summary,
				format: 'json',
				formatversion: '2',
				token: csrfToken
			};
			var body = new URLSearchParams(params);
			queryURL = new URL(apiEndpoint);
			queryURL.search = new URLSearchParams( {action: 'edit', crossorigin: ''} );
			fetch(queryURL, {method: 'POST', headers: {'Authorization': 'Bearer ' + oauthToken}, body: body})
				.then(function(response){return response.text()})
				.then(function(text){try {const data=JSON.parse(text);return data} catch (e) {return text}})
				.then(function(data){
					var result = data?.edit?.result;
					if (result) {
						console.log(result);
					} else {
						console.error("Error posting edit!");
						console.error(data);
					}
				});
		} else {
			console.error("Error retrieving CSRF token!");
			console.error(data);
		}
	});

--Ahecht (TALK
PAGE
)
20:35, 26 March 2025 (UTC)

Thank you, I will try it out. Gryllida (talk, e-mail) 22:58, 26 March 2025 (UTC)
Is the `oauthToken = "OAUTHAccessToken"` unique to my account? What if I would like multiple different users to use this app? Like flickr2commons app. (cc Ahecht) Regards, -- Gryllida (talk, e-mail) 03:33, 30 March 2025 (UTC)
nvm, i found oauth infos described on wikidata wiki Gryllida (talk, e-mail) 09:33, 30 March 2025 (UTC)
Actually:
  • It worked, the token is for my user account only. I was following this guide.
  • I've added another request for another token that allows multiple accounts, if I understand correctly it will auth users separately and prompt them to agree. I'd like it to be for multiple accounts, like flickr2commons. This is currently still unsolved question for me. I will see how it works after my oauth thingy request is approved.
  • I'm concerned the 'token' is published in JavaScript app and there is no way to hide it from users as all JavaScript is visible on client side. Is this correct? This is unsafe, right?
Regards, -- Gryllida (talk, e-mail) 10:18, 30 March 2025 (UTC)
For the second point, I got it approved, however, it only provides "application key" and "application secret". There is no "OAuth token" provided. Gryllida (talk, e-mail) 10:22, 30 March 2025 (UTC)
If you want to let different users make requests, you will have to go through the full OAuth authorization flow, as demonstrated in the example mentioned above. (There's also a note there now about the visibility of the OAuth credentials.) Lucas Werkmeister (talk) 12:39, 30 March 2025 (UTC)
Sorry, which example? Gryllida (talk, e-mail) 21:07, 30 March 2025 (UTC)
I mainly meant the client-side example (this is the new functionality that @Matma Rex was referring to), though if you want to keep the OAuth client confidential, then you’d need the server-side example instead – or, if you prefer, just write the server-side part in a different language altogether. (Wikitech has a few examples for OAuth-based tools, such as My first Flask OAuth tool, but seemingly not for Perl or PHP – My first PHP tool doesn’t cover the OAuth part.) Lucas Werkmeister (talk) 23:53, 30 March 2025 (UTC)
I'm seeing last paragraph at this repo you linked includes reference to the m3api server side example. The main issue is that I have experience with Perl and with PHP, but not with npm nor with m3api, and for the task I need the provided example is too big. Ideally, I'd've liked someone to guide me from a 1-line hello world example and help me to gradually grow it to do specifically my task. Is that something that you would like to do over an audio call, or do you know someone else who can? Or perhaps you (or someone you know) can write such a tutorial incrementally? Many thanks. (Please note I am on live chat, IRC, with nick 'gry'.) Regards, -- Gryllida (talk, e-mail) 21:47, 30 March 2025 (UTC)

Locked out?

This is weird. I'm logged in here on another browser, but it won't let me edit at all -- "Invalid CSRF token". It also won't let me log out. And it won't let me log in on this browser. Clues, anyone? -- a confused User:Jpgordon. 173.17.120.108 (talk) 03:22, 31 March 2025 (UTC)

phab:T390512. 2604:3D09:A67B:8D50:79CB:52F6:43ED:B0EA (talk) 03:24, 31 March 2025 (UTC)
thanks -- hamterous1 24.192.250.185 (talk) 03:28, 31 March 2025 (UTC)
I am experiencing the same issue :( -- hamterous1 24.192.250.185 (talk) 03:24, 31 March 2025 (UTC)
I think we have the same issue, User:Miminity via 143.44.132.208 (talk) 03:33, 31 March 2025 (UTC)
Login appears to be back up and running. Jay8g [VTE] 03:38, 31 March 2025 (UTC)

I cannot save my edit and log out

Hello everyone. I'm User:Miminity and currently using incognito mode to ask for help, I cannot save my edit on my account despite I'm not blocked or anything. When I try to save it it shows Sorry! We could not process your edit due to a loss of session data. Please try saving your changes again. If it still does not work, try logging out and logging back in. and when I tried to log out it shows Sorry! We could not process your edit due to a loss of session data. Please try saving your changes again. If it still does not work, try logging out and logging back in. and when I tried to log in, it says There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form. You may receive this message if you are blocking cookies., I was trying to log in using another browser. I tried doing the same with my phone and still same result. 143.44.132.208 (talk) 03:31, 31 March 2025 (UTC)

The developers are investigating. https://www.wikimediastatus.net/incidents/1w3rq4d2zljj -- 70.67.252.144 (talk) 03:32, 31 March 2025 (UTC)
fixed Justjourney (talk | contribs) 03:38, 31 March 2025 (UTC)
Thanks Warm Regards, Miminity (Talk?) (me contribs) 03:42, 31 March 2025 (UTC)

Can't log in

I was editing and had to leave my laptop for a few minutes. When I came back I was logged out. When I tried to log back in I got the following message; "There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form. You may receive this message if you are blocking cookies." But I specifically allowed cookies from auth.wikipedia.org. What should I do? 2601:207:701:3E30:F9FC:455F:4CD6:86F5 (talk) 03:46, 31 March 2025 (UTC)

There was a Wikimedia-wide issue, it appears to be sorted now, see Wikipedia:Administrators'_noticeboard#Various_ongoing_errors_with_my_account. DuncanHill (talk) 03:49, 31 March 2025 (UTC)

Rearranged my home page

Something strange since the above happened. My home page and talk page seem all rearranged. Affected all browsers - Chrome, Firefox and Microsoft Edge. — Maile (talk) 12:02, 31 March 2025 (UTC)

Can you be more descriptive about how it is different? Have you changed skins, if using Vector-2022 collapsed elements or toggled the wide-view setting? — xaosflux Talk 13:15, 31 March 2025 (UTC)
I took care of this. It wasn't skins or anything like that. Just some kind of fluke, so I got everything back as it was. — Maile (talk) 17:23, 31 March 2025 (UTC)

Tech News: 2025-14

MediaWiki message delivery 00:02, 1 April 2025 (UTC)

redirects

I just had to create a redirect from La Republica (Costa Rica) to La República (Costa Rica), which surprised me, I actually wondered if I'd screwed something up that the link was red. And then minutes later had to do it again, creating a redirect from Magon Prize to Magón National Prize for Culture when there's already a redirect at Magón Prize. I thought our search function could handle this stuff, is there a reason why in these cases it didn't? Thanks for any help! Valereee (talk) 19:43, 29 March 2025 (UTC)

When you say search, what do you mean? My understanding is that all of our searches whether of the Special:Search or the "auto displayed results" do take into account character folding (which is the special phrase for "it looks like a U so it should be a U" in search). Maybe you mean something somewhere else? Particularly, links are not red or blue based on search, they're red or blue based on whether they exist in the database, and that doesn't (and shouldn't, for a few reasons) do character folding by itself (e.g. WP:BLP concerns that we already have with people red linking names that turn blue later but it's a completely different person). Izno (talk) 20:04, 29 March 2025 (UTC)
In this case I typed into the article (in English alphabet, so u instead of ú in La República (Costa Rica) and Magon Prize instead of Magón Prize) what I assumed would be an existing redirect and placed brackets around it, and the link was red. It was very weird. I've done a bit of work in other alphabets because I work a lot on foods that are rendered in several alphabets, and I haven't had this happen before. Always, if there's an existing article, using the English alphabet finds it. But this happened twice in a few minutes. Valereee (talk) 20:14, 29 March 2025 (UTC)
So yes, your case is the second case: article text ("red link") is a check against the database and not the search system. You just found names that didn't have a redirect is all. Izno (talk) 21:22, 29 March 2025 (UTC)
@Izno, but why wouldn't La Republica (Costa Rica) automatically redirect to La República (Costa Rica) without me having to create that redirect? I apologize if I'm being obtuse, not intentional. Valereee (talk) 21:29, 29 March 2025 (UTC)
As above, they're red or blue based on whether they exist in the database, and that doesn't (and shouldn't, for a few reasons) do character folding by itself (e.g. WP:BLP concerns that we already have with people red linking names that turn blue later but it's a completely different person).
It's just not something the system does. And there are non-0 reasons for it not to do so. Izno (talk) 21:32, 29 March 2025 (UTC)
There are no automatic redirects for page titles. There are automatic redirects for namespaces - this is why we can use WP:Village pump (technical) interchangeably with Wikipedia:Village pump (technical), this is something built into the MediaWiki software and configured on a per-site basis. --Redrose64 🌹 (talk) 22:14, 29 March 2025 (UTC)
MediaWiki allows separate pages for a title with and without diacritics, e.g. José and Jose. Then I think it makes sense that the latter link would be red if the page doesn't exist. Imagine it was an automatic redirect to José. Then somebody creates a new page at Jose and the existing links suddenly get a new target. That would be confusing. And what if there is more than one potential target by changing diacritics? PrimeHunter (talk) 22:36, 29 March 2025 (UTC)
Again sorry for being dense, just trying to understand things like why Germknodel, which redirects to Germknödel, was created by a bot in 2008. La República (Costa Rica) was only created in February. Is it just that the bot hasn't gotten around to it? Hm...but Magón Prize was created manually in 2008. Maybe the bot ignores redirects? Or deals with an umlaut but not with these accented vowels? And whichever it is, the learning for me is when I end up with a red link that I'm sure should be blue while in article text, check the search box and manually create the redirect? Valereee (talk) 12:23, 30 March 2025 (UTC)
Eubot, which created the Germknodel redirect, stopped editing in 2008. La República (Costa Rica) was created in 2025, so obviously it never touched it. It's botmaster Eugene stopped editing in 2013. The bot had permission to make redirects for scientific names and abbreviated titles. Bots do not run forever. Snævar (talk) 12:52, 30 March 2025 (UTC)
Wikipedia:Article titles#Special characters says "provide redirects from versions of the title that use only standard keyboard characters". RjwilmsiBot made many in 2016. I don't know whether any bot has done it since. PrimeHunter (talk) 13:07, 30 March 2025 (UTC)
Thank you all very much! Would it maybe be useful to make a stop at WP:Bot requests? It seems like a useful timesaver. Valereee (talk) 14:02, 30 March 2025 (UTC)
(edit conflict) User:AnomieBOT creates redirects for titles with en-dashes. If we have a current consensus I can point to that a bot should create these redirects, and a clear definition of how to determine the corresponding "only standard keyboard characters" title (maybe map all these characters and strip any Combining Diacritical Marks, then see if the result is ASCII?), I could have AnomieBOT do these in much the same way. Anomie 16:17, 30 March 2025 (UTC)
Sounds like there are concerns that would need to be dealt with before we could get consensus, but it's something I'd definitely at least want to see a discussion on. Valereee (talk) 19:38, 30 March 2025 (UTC)
If you know you aren't using the correct spelling of the name, you really shouldn't link with the redirect. La Republica is not La República. Gonnym (talk) 18:04, 30 March 2025 (UTC)
Not sure I understand, Gonnym. La Republica (Costa Rica) seems like it should redirect to La República (Costa Rica)? Valereee (talk) 18:24, 30 March 2025 (UTC)
I was referring to you saying what I assumed would be an existing redirect and placed brackets around it, if you know you are using an incorrect name, there is no reason to use that redirect. I'll also be opposed to any bot mass creating these redirects unless they also convert each usage when they are used in articles. Gonnym (talk) 18:28, 30 March 2025 (UTC)
Well, I mean, to save time when writing would be a reason. You might not think it's a good reason, but I have an extremely short attention span and generally need to write as fast as I can before my brain goes "Squirrel!" Valereee (talk) 19:25, 30 March 2025 (UTC)

To back all the way up to the beginning: Foo is a wikilink to a page in the Main or "article" namespace. If you link to A page like this one that doesn't exist, you get a redlink, which if you follow the link allows you to create the new page. No page in "main" exists "automatically". If a page exists it means someone or something went and created it at some point in the past. If Jose and José both exist, that's because someone/thing came along and created them both. For the policies regulating titles of articles, see WP:Article titles. --Slowking Man (talk) 18:52, 1 April 2025 (UTC)

Redlinked dated maintenance category problem of the week

I've had to edit 2024–25 Olympiacos F.C. season three times this month alone, because a table in it keeps regenerating redlinked "Articles with unsourced statements from DD March 2025" categories that don't and can't exist — the maintenance queue for unsourced statements problems only categorizes articles by month, not by month-and-day, so any category transcluded by the table has to be month only.

The issue is a table in the page that was most recently coded as

{{#invoke:sports rbr table|table|legendpos=b|header=Matchday |label1= Ground | res1=H/A/H/A/H/A |label2= Result | res2=W///// |label3= Position | res3=1/1/1/1// <!-- --> |text_H=Home|text_A=Away |color_W=green2|text_W=Win |color_D=yellow2|text_D=Draw |color_L=red2|text_L=Loss |color_10-=green1|color_20-=red1 |source= |updated= |date=30 March 2025 }}

, where to make the bad category go away I had to take the 30 out of the date; the two prior times it was 2 March and 12 March. And because it's an extremely long page which had four other instances of "30 March 2025" in the text besides the one that was actually causing the problem, it took me an unreasonably extended amount of spelunking time to even figure out which one I had to modify.

Since this appears to be a module I don't know how to edit, could somebody with module editing skills edit this module to ensure that it ignores any DD in the date field and only generates the month-year category from now on? Thanks. Bearcat (talk) 17:49, 31 March 2025 (UTC)

@Bearcat I added some date formatting code to the sandbox. Give Module:Sports_rbr_table/sandbox a try. If that fixes the issue, I can merge it into the main module. --Ahecht (TALK
PAGE
)
19:36, 31 March 2025 (UTC)
I made a test-and-preview edit invoking that sandbox instead of the original module, but it turned the problematic section into the text of the template coding instead of an actual table. Bearcat (talk) 15:18, 2 April 2025 (UTC)
Better questions may be "why is that module being used directly instead of via a template?" and "who keeps screwing up the date parameter, and can they be told how to not do that?". Anomie 22:39, 31 March 2025 (UTC)
They aren't screwing up, I believe the date is also used for an access date which needs to be a full date and not the partial.
As for direct module use, WP:TLIMIT on a number of pages which has either spread directly or indirectly without consideration for necessity, if even a template was created as a 'frontend'. Izno (talk) 23:01, 31 March 2025 (UTC)

Running Quarry query

Is there a Java example somewhere for running a Quarry query and doing something with the output? If not in Java then perhaps in JS? Ideally without hosting code on Toolforge. I have Java code that can log in and do the oAuth stuff; but I am not sure how to proceed from there. Polygnotus (talk) 22:31, 1 April 2025 (UTC)

@Polygnotus, You can query the database using PAWS with a Python script and manipulate the results in any format. Please let me know if you need any help with the Python script. – DreamRimmer (talk) 15:21, 2 April 2025 (UTC)
@DreamRimmer: Thank you! I am not sure I have enough space in my alleged "brain" to learn new stuff right now, but I may soon. Polygnotus (talk) 22:54, 2 April 2025 (UTC)

Can we still try the previous UI experiment?

Hey, long time ago — I think it was one or two years back — a new interface design was proposed and tested here. If I remember correctly, it used white blocks with gray colors on the left and right sides. Is there any way to test it again? Any gadget to activate or CSS code I could use? Regards Riad Salih (talk) 23:21, 1 April 2025 (UTC)

I think you might be thinking of "Zebra". Search the archives of this page for "Zebra" to find discussions like this one (Archive 206) or this one (also Archive 206) and this one (Archive 207). If you dig into links from there, you might find what you are looking for. – Jonesey95 (talk) 01:38, 2 April 2025 (UTC)

Zebra

I'm interested in testing the Zebra skin again on my account. It might be possible to do this through the common.css page according to SGrabarczuk from the WMF. Are there any experienced or experimental Wikimedians who could help me set it up? Regards Riad Salih (talk) 00:17, 3 April 2025 (UTC)


Is there a script to move template-defined refs back to the article?

Resolved

So that it would be friendly for VE? I refer to "This reference is defined in a template or other generated block, and for now can only be edited in source mode." like what can be seen in Florian Znaniecki. For additional context, I have my students translate content from en wiki to others, and since they are not masochists, they generally prefer VE, which means they struggle with articles that rely on VE-incompatible cites. Znaniecki is an older GA of mine anyway, and I'd be happy to make it VE friendly, but doing so manually for that many footnotes, well, I am also not a masochist :P (These days I just use one ref for a book and then {{rp}}, much less code and hassle). Piotr Konieczny aka Prokonsul Piotrus| reply here 06:26, 1 April 2025 (UTC)

Piotrus, I checked the list of user scripts and User:DaxServer/BooksToSfn could have helped you if you had all the refs defined in text and used the {{reflist}} template. It uses {{sfn}} not {{rp}}. So I'd advise to check Wikipedia:User_scripts/List#References_2, maybe there could be something useful for you.
I think {{sfn}} is superior. You have a ton of references to Zygmunt Dulczewski (1984) and to other authors only differing by pages. For these cases, I like using {{sfn}} template; just define the citation the first time, even in-text (but you can leave the citation in the references, it's all right), and then use sfn to create a shortened ref, which will show the full ref once you hover over or (on mobile) click on it. It will show as Dulczewski 1984, pp. 41-42 This will greatly reduce the wikitext size and it is neater to read in source code, I think even neater than just copy-pasting refs to create <ref name="Dulczewski1984-5253"/> and then appending {{rp}}. IMHO the ref name is hideous, but that's just me.
So as far as I can see from a rather superficial search, you will have to do this manually. Szmenderowiecki (talk) 11:15, 1 April 2025 (UTC)
Piotrus, I recall a previous discussion we had in which I wrote a script to do something like this. I can't locate it at the moment but if you can remind me of the discussion I can probably find it and see if it works on your article. Mike Christie (talk - contribs - library) 11:37, 1 April 2025 (UTC)
@Piotrus It should be enough to change the {{reflist|refs=…}} template to use the <references>…</references> syntax instead. You don't need to move reference definitions into the article text. VE will not add new references in this format, but it can understand it. I edited this article as an example: [9]. Matma Rex talk 13:07, 1 April 2025 (UTC)
This is indeed a workaround. Haven't known about it. Szmenderowiecki (talk) 13:24, 1 April 2025 (UTC)
In general, you should always use <references>...</references> or <references />, as {{reflist}} is not visual editor friendly and can lead to issues if the page approaches the WP:PEIS limit. --Ahecht (TALK
PAGE
)
13:53, 1 April 2025 (UTC)
The PEIS limit issue appears to be only confined to pages in userspace and Wikipedia space Szmenderowiecki (talk) 14:15, 1 April 2025 (UTC)
No, PEIS exists everywhere, gnomes simply ensure that all pages on display for the user meet the limits. Izno (talk) 17:11, 1 April 2025 (UTC)
@Matma Rex That's a great (simple) workaround. Thanks and thanks to all who commented :) Piotr Konieczny aka Prokonsul Piotrus| reply here 01:29, 2 April 2025 (UTC)
Since I am not a masochist I still use the source editor. I am sure that VE will eventually be ready for prime time, but it's not there yet. It's nice for really simple things, but it still has limitations I'm not willing to deal with, although I admit to trying it from time to time.
I find using {{sfn}} and {{rp}} awkward, since they put location data in the running text instead of the references section. What I really want is subreferencing with appropriate inheritance of the metadata. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 14:36, 1 April 2025 (UTC)
If the target wiki has WP:Citoid working in VE, you can just copy-and-paste in a URL, DOI, etc. from a ref and VE generates a citation template and inserts it into the article being edited for you. Magic! Also User:Kaniivel/Reference Organizer is an excellent little script that scoops up all the refs from an article and puts them into their own "window" separated out of the article body, and also does various tweaks to them for you. --Slowking Man (talk) 19:35, 1 April 2025 (UTC)
How does it handle, e.g., |pages=, |quote=, |section=, |section-url=? -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 21:09, 1 April 2025 (UTC)
@Chatul: Do you mean Citoid, or Ref Organizer? I suppose one could always try either out in a sandbox to see for themselves. --Slowking Man (talk) 20:13, 2 April 2025 (UTC)
I meant Citoid, but Ref Organizer is more relevant to the original question. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 02:38, 3 April 2025 (UTC)

Toolforge?

Is toolforge down? There is a tool that I use to search for empty categories and I'm just getting an error message (see here). Thanks for any help or information you can provide. Liz Read! Talk! 23:10, 3 April 2025 (UTC)

Toolforge itself is up. That one specific tool is apparently down. Pinging Legoktm as the listed maintainer. * Pppery * it has begun... 23:18, 3 April 2025 (UTC)
Thanks for checking, Pppery. Liz Read! Talk! 23:42, 3 April 2025 (UTC)
Looks like things are back to normal. Liz Read! Talk! 02:14, 4 April 2025 (UTC)

math display="block" is broken

It seems that something in MediaWiki 1.44.0-wmf.23 deployed today broke the appearance of <math display="block">: now they are shown inline (but with an indent!) instead of taking its own line. See MOS:MATH#Using LaTeX markup ("as well as on their own line") for an obvious example (and Hermite polynomials for the real-world mess). Seems that .mwe-math-mathml-display {display: block !important;} is ignored within span.mwe-math-element {display: inline-block;}. Please investigate, and perhaps revert the update until the cause/solution is found (because this bug makes math articles hardly readable). — Mikhail Ryazanov (talk) 00:52, 4 April 2025 (UTC)

I would guess this is phab:T201233. Izno (talk) 01:41, 4 April 2025 (UTC)
Seems so, thanks! Can this change be reverted at least locally for now, since those people apparently don't care much? — Mikhail Ryazanov (talk) 02:19, 4 April 2025 (UTC)
I also really don't understand why they don't have any kind of regression tests set up. –jacobolus (t) 03:03, 4 April 2025 (UTC)

Internal error

Database errors similar to the previous one have gone from being on just the page history to affecting the actual pages themselves:

Extended content
  • Submodular set function
    [c38a5008-80dc-4a41-a403-2e9456098c76] 2025-04-04 11:55:48: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
  • Main page
    [c514c3da-691b-413c-a442-123a5b548ed8] 2025-04-04 11:55:57: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
    [bbabb56c-2d27-4400-aa5d-3eed93137086] 2025-04-04 11:55:54: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
  • It then disappeared after refreshing the main page and Wikipedia:Village pump (technical) loaded fine
  • But it came back at Wikipedia:Village pump (technical)/Archive 219
    [37491d0e-ab38-4a5e-9133-4d13cac0f254] 2025-04-04 11:57:02: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
  • Fine for a while, then on Wikipedia:Village pump (technical)
    [f56b4315-d568-4759-be40-06fe7713e284] 2025-04-04 12:14:59: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
    [f979d056-1ef1-4add-85a1-c8a453493fbd] 2025-04-04 12:15:19: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"

69.171.140.10 (talk) 12:01, 4 April 2025 (UTC)

Infobox templates seem to push images down the page.

In Beryllium the long infobox on the right size seems to prevent any images on the left side. The result is that all the images in the page are pushed to start at the end of the infobox, far away from the content they are related to. I've seen this in other articles as well. Any hints? Thanks! Johnjbarton (talk) 03:20, 27 March 2025 (UTC)

You can left-align images against an infobox (although probably best not to have such a long infobox). What does push images down is a right-aligned image above them. However, I'm not seeing any pushing in Beryllium, the first left-aligned image is after the infobox. CMD (talk) 05:37, 27 March 2025 (UTC)
Having left aligned images opposite an infobox is normally discouraged, per MOS:SANDWICH. 86.23.109.101 (talk) 11:13, 27 March 2025 (UTC)
That recommendation is needed because infoboxes do not push left-aligned images down the page. CMD (talk) 11:53, 27 March 2025 (UTC)
Johnjbarton identifies a long-standing annoyance about layout, which becomes increasingly problematic as one's window gets wider. Chipmunkdavis, I think you are mis-understanding the terms "left" and "right" in this context. A "left-aligned" image is one that is on the left of the screen, not adjacent to the left edge of another floating item. The Beryllium article is a great example of that: where do you see the "Solar Activity Proxies" graph? It's not displayed in the Isotopes and nucleosynthesis section where the source actually has it. Adjusting screen-width maintains the incorrect vertical placement vs that section; editing that section itself confirms that it's not a bug in that section itself.
But it does appear to relate to image-stacking on the right, in a subtle way. If there is no image in the article that is right-aligned (other than the infobox object) prior to the left-aligned image, then the left-aligned image does display in the correct section. Does this revision display correctly for everyone? The situation seems to be that objects cannot display in inverted order compared to the source: if an File:A is after File:B in the source, layout cannot place File:A earlier than File:B. Because the metal-lump image on the right is stacked and pushed down by the infobox, the graph-image on the left that is after the metal-lump image in the source can't display any earlier than the metal-lump image. DMacks (talk) 13:58, 27 March 2025 (UTC)
  • Yes, the version of DMacks solves the problem with "Solar Activity Proxies", thanks!
  • Is it possible to not stack the right-align images? So the metal-lump image would be right of the text and left of the infobox?
  • I checked the Beryllium page and the sandwich is not a serious problem.
Johnjbarton (talk) 15:09, 27 March 2025 (UTC)
See Template:Stack for the normal fix. It requires the right-aligned elements to be stacked are consecutive in the code so you would have to move image code up to the infobox code. PrimeHunter (talk) 15:29, 27 March 2025 (UTC)
I mean it's a fix to the original problem where a left-aligned image is pushed down. PrimeHunter (talk) 15:35, 27 March 2025 (UTC)
The situation seems to be that objects cannot display in inverted order compared to the source: if an File:A is after File:B in the source, layout cannot place File:A earlier than File:B. That's right. If you want the exact words of the relevant CSS specification, it's item #5 at https://www.w3.org/TR/2011/REC-CSS2-20110607/visuren.html#float-rules. Anomie 00:19, 28 March 2025 (UTC)
The exact words: "5. The outer top of a floating box may not be higher than the outer top of any block or floated box generated by an element earlier in the source document." If the source order is Infobox, File:B, File:A, then Template:Stack can make Infobox and File:B part of the same floating box. This enables File:A to be displayed above File:B (but not above Infobox). PrimeHunter (talk) 12:58, 28 March 2025 (UTC)
At least in the case of the Elements pages, using {{Stack}} would not be a good choice. We want the images to be next to the content, whether are left or right align to the text.
The design we want is for the combo of images and text to flow around the infobox anchor which is anchored to the right. Johnjbarton (talk) 16:02, 28 March 2025 (UTC)
That's exactly what {{Stack}} achieves for left-floating images which can otherwise be pushed below the infobox. We don't allow your wanted layout with both a left-floated image, text, and a "right-floated" image to the left of an infobox. That would give poor results on too many screens without enough room. PrimeHunter (talk) 20:54, 28 March 2025 (UTC)
Well I'm confused. If I use "left" then things work, I don't need {{Stack}}. If I use "right" things "fail" -- meaning the images are out of position -- with or without Stack. Why do I need Stack? (I get that we don't want |Left Image| Text |Right Image| |Infobox|, but that is not what we are looking for). Johnjbarton (talk) 21:10, 28 March 2025 (UTC)
You came here for help because left did not work in [10] where the code for the plot image is in the "Isotopes and nucleosynthesis" section but the image is pushed down below the infobox. I'm saying {{Stack}} could have fixed that. You made a different fix [11] where the code for another image was moved below the plot image code. After that change {{Stack}} was no longer needed. Here is the fix with {{stack}}. I'm not judging which fix is best in this case but just demonstrating how stack works. PrimeHunter (talk) 23:37, 28 March 2025 (UTC)
Thanks! Your result is what I expected based on your explanation. It is not what we want: putting images below the infobox means they won't be with the text they are related to. It would be ok if the images where just extra stuff related to the infobox.
I think the best compromise is to Left all images that fall before the end of the infobox. Sadly this will be a continual maintenance issue and require guessing the common page width to start default/right images. Johnjbarton (talk) 00:37, 29 March 2025 (UTC)
We cover most of this at WP:MFOP. --Redrose64 🌹 (talk) 12:27, 29 March 2025 (UTC)
Thanks. If I understand correctly, the infobox counts as an 'image' in the discussion at WP:MFOP? Johnjbarton (talk) 15:47, 29 March 2025 (UTC)
Yes. If it helps, don't think of images and infoboxes as distinct concepts - think of both of them as boxes, or even as objects. Objects that are aligned to the left margin or to the right margin. The order in which these objects are displayed is the same as the order in which they occur in the page source. --Redrose64 🌹 (talk) 19:38, 29 March 2025 (UTC)
I understood fine. For the version before your edits, I see the "Solar Activity Proxies" graph exactly where it is in the source code, in the Isotopes and nucleosynthesis section. CMD (talk) 08:17, 4 April 2025 (UTC)
In my experiments the rendering results depend upon the screen width and perhaps the device. With a narrow width, more text will fall after the infobox and the Isotopes section will be lower on the page with the Proxies graph in the correct place. With wider width, the Proxies graph will be in the wrong place even in the old version. Perhaps you can try a wide width screen to verify. Johnjbarton (talk) 15:31, 4 April 2025 (UTC)
Thanks for all of the help here! Johnjbarton (talk) 19:47, 29 March 2025 (UTC)

April 2025

Is there a way to efficiently find articles without an infobox image or missing in a specific language within a large category, instead of manually searching?–𝐎𝐰𝐚𝐢𝐬 𝐀𝐥 𝐐𝐚𝐫𝐧𝐢 ʕʘ̅͜ʘ̅ʔ 15:54, 4 April 2025 (UTC)

URL status language change request

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


I find the use of |url-status=dead to describe link rot overly morbid. Wikipedia citations depend on countless sadly defunct links, and we owe it to these dearly departed URLs to describe them in a more dignified manner. Personally, if I were an expired website, being called "dead" wouldn't exactly make me eager to come back. Frankly, our current terminology is an insult to the memory of every formerly living thing in history.

So if the parameter language must be changed, that begs the question, to what? |url-status=resting in peace might not accurately describe links that have met more violent fates, and the phrasing of |url-status=pushing up the daisies is starting to get a little too flowery. After much thought, I've decided that |url-status=dodoesque is the way to go.

Of course, this change will involve modifying a few million articles, which can be achieved easily via bot. Some might object that such edits would be cosmetic, to which I'd respond that bestowing dignity on links that have rung down the curtain and joined the choir invisible sometimes requires cosmetic treatment. Also, it presents us with an opportunity to beautify watchlists via visually pleasing edit summaries, such as those containing bird emojis to embody the dodo spirit.

I'm eager to get started, and given the lack of visible change to readers the potential for disruption seems minimal, so I'm contemplating bold implementation. But I figured I'd offer a 24-hour opportunity for you wizened souls to comment, just in case any of you has an idea for even better wording. Sdkbtalk 02:17, 1 April 2025 (UTC)[April Fools!]

|url-status=shuffled off its mortal coil
|url-status=pushing up the daisies
|url-status=metabolic processes are now history
-- GreenC 02:57, 1 April 2025 (UTC)
Moved from Help talk:Citation Style 1 to avoid any WP:FOOLR #1 issues. Sdkbtalk 03:11, 1 April 2025 (UTC)
I prefer dishonesty to avoid the harsh realities of our collective mortality:
  • |url-status=chasing sheep on a farm upstate
  • |url-status=just sleeping
  • |url-status=at dog college
Regards, Rjjiii (talk) 03:51, 1 April 2025 (UTC)
What, no |url-status=nailed to the perch??? – Jonesey95 (talk) 05:16, 1 April 2025 (UTC)
I'm concerned that |url-status=dodoesque would be too likely to be confused with |url-status=dadaesque. Anomie 11:48, 1 April 2025 (UTC)
Oppose: A dead link refers to a link to a page that doesn't exist. We would also have to update EVERY SINGLE PAGE that had it. SeaDragon1 (talk) 19:00, 4 April 2025 (UTC)
SeaDragon1 (talk) 19:24, 4 April 2025 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Watchlist - temporary unwatch

There is functionality to put something temporarily on your watchlist, see Help:Watchlist#Temporarily_watching_pages and mw:Help:Watchlist expiry.

But why doesn't the opposite exist? Maybe you want to unwatchlist a page for, lets say, a week. Polygnotus (talk) 01:41, 4 April 2025 (UTC)

There is an existing feature request for this at phab:T299227. — xaosflux Talk 16:11, 4 April 2025 (UTC)
Thank you! Polygnotus (talk) 21:28, 4 April 2025 (UTC)

Automatic reverting

I was adviced to go here with my question. I attach the conversation from the Wikipedia Helpdesk.

I have been teaching PhD students in how to edit Wikipedia as a part of their science outreach for about ten years. What is happening now, I have never seen before with 1500 PhD students editing. Therefore, I first add the previous discussions and then the revision histories where this has happened to several different PhD students and ask for a revisit of the problem.

Old discussion:

I am teaching a course where one of the students got the edits reverted. The revision history claims that she did it herself, but she says that was not the case, it happened automatically. This is the user contribution page User contributions for Daliepremidze - Wikipedia. Now it seems to be working though. Was something wrong? Olle Terenius (UU) (talk) 09:01, 25 March 2025 (UTC)

@Olle Terenius (UU): It is easy to click the wrong button, particularly when new. Nearly everyone here has reverted themselves or someone else accidentally. It is extremely unlikely that anything went wrong other than that Daliepremidze accidentally clicked something. There is no automatic reverting. Johnuniq (talk) 09:22, 25 March 2025 (UTC)
@Olle Terenius (UU) and Daliepremidze: It looks like she misunderstood something in the interface. Maybe she looked at a diff like [1] and clicked edit on the left side instead of the right side. If you click on the left side then you start a new edit with the content of the former revision. If you save without changing anything (except the edit summary) then it becomes a revert to that revision. If she wants to change the new revision when looking at a diff then she has to click edit on the right side or click the edit tab at top of the page. It's not possible to change an old edit summary if that's what she was trying. PrimeHunter (talk) 09:55, 25 March 2025 (UTC)

"Manual reverts" the same minute as the edits were saved have now happened in the following articles:

3D cell culture: Revision history - Wikipedia
Conductive metal−organic frameworks: Revision history - Wikipedia
Nicotinic acetylcholine receptor: Revision history - Wikipedia
Chromogranin-A: Revision history - Wikipedia
Lithium-silicon battery: Revision history - Wikipedia

Olle Terenius (UU) (talk) 14:29, 4 April 2025 (UTC)

Wikipedia:Help_desk#Automatic_reverting,_revisited - the Helpdesk discussion
The advice given there was sound. Have you given your students information about what they should (not) do? Maybe there's some additional feedback your students have given to you while editing? Szmenderowiecki (talk) 21:08, 4 April 2025 (UTC)
The last date format option at Special:Preferences#mw-prefsection-rendering also displays seconds. Number of seconds between the original edit and the revert: 46, 26, 39, 95, 43. 6. This still looks like user error to me. If a bug caused an automatic revert then it would probably have been much faster. Did they actually all say the revert was unintended? Maybe some of them deliberately reverted their own edit. If they were all accidents then maybe they all got the same wrong idea about the interface from somebody. PrimeHunter (talk) 21:46, 4 April 2025 (UTC)

Change pending changes message?

When I tried to reject a pending changes edit, I believe it stated "Cannot reject these changes because someone already accepted some (or all) of the edits.". However, the changes were rejected by someone else. I suggest a message change to "some or all of the edits have already received a review" or something along that line. Wildfireupdateman :) (talk) 23:24, 4 April 2025 (UTC)

This seems to be the message 'MediaWiki:Review cannot reject'. The documentation for it agrees with you: 'Used when using the "reject" feature on a (set) of revisions where someone else has already accepted or rejected some of them.' File a bug at phab:, tagging it with FlaggedRevisions, although that might not be acted on since no-one is responsible for it. Can also ask an admin to fix it locally. Snævar (talk) 01:39, 5 April 2025 (UTC)
created that message locally, although there should probably be a phab for other wikis. charlotte 👸♥ 02:14, 5 April 2025 (UTC)
I've filed a bug report at phab although it may not be formatted correctly since I've never used it before. WFUM🔥🌪️ (talk) 03:34, 5 April 2025 (UTC)
@Wildfireupdateman: If you file a report on Phabricator regarding an issue being discussed on this page, you should always tell us what the ticket number is, so that others can follow its progress and comment if they so wish. I presume that it's phab:T391160; please amend if not. --Redrose64 🌹 (talk) 08:56, 5 April 2025 (UTC)

Talk page browser moves to nonexistent draft replies

When I was commenting on a thread at WP:ANI, I was writing a reply, when the topic was put under an archive header. Now, when I go back to ANI, the site attempts to reload the comment I was writing, jumping to the comment and pre-loading my partially written reply (a feature that is usually very helpful), but since the topic is archived and the reply button is gone it can't do so and just moves me to that thread with no further action when I load the page. This is moreso annoying than anything else. Is this a known issue? I'm on Chrome on desktop, on the Vector Legacy 2010 skin. Departure– (talk) 13:18, 4 April 2025 (UTC)

I would say if it can be fixed it should be as it's a little more than annoying, there isn't an obvious way to access/delete the partially-written reply (at least, the last time this happened to me). CMD (talk) 13:34, 4 April 2025 (UTC)
It has been previously reported at T345986. The annoyance will go away once the comment you were replying to is archived for good (as in: removed from the page, not just wrapped in a template). Matma Rex talk 14:06, 4 April 2025 (UTC)
@Departure– In the browser console, run localStorage.clear(); and it will go away. Polygnotus (talk) 03:21, 5 April 2025 (UTC)
You can also just temporarily reopen the thread, discard the reply, and then revert your reopening. I've had to do this a couple of times, and just stated what I was doing in my edit summary. -- LCU ActivelyDisinterested «@» °∆t° 11:18, 5 April 2025 (UTC)

Unusual slowdowns at Talk:Donald Trump

Please see Talk:Donald Trump#Why is this page so slow?, any help appreciated. ―Mandruss  IMO. 05:37, 2 April 2025 (UTC)

@Mandruss: Maybe ask user Dylsss. Polygnotus (talk) 21:14, 2 April 2025 (UTC)
Asking user Dylsss. ―Mandruss  IMO. 21:19, 2 April 2025 (UTC)
We have been getting concerns about visual aspect loading delays. Not sure if anyone's filed a ticket yet..... right below this section someone seems to have the same problem. Moxy🍁 22:28, 2 April 2025 (UTC)
Not the same problem. This one is about slowdowns for a number of users at one ATP, that one is about a couple of images failing to load for one user that we know of so far. ―Mandruss  IMO. 22:42, 2 April 2025 (UTC)
@Mandruss than you for flagging this issue!
Prompted by @Moxy, I've started a Phabricator ticket that could benefit from additional details in the "Reproduction Steps" section...might you (or anyone else here) be able to help us fill that part in? PPelberg (WMF) (talk) 23:20, 2 April 2025 (UTC)
@PPelberg (WMF): - I assume you mean phab. I don't do phab. :) Reproduction steps:
Problem seems to be related to how long it takes to re-render the page. As noted in that discussion, the page is at its largest ever, at ~620K of wikitext, with the second largest being ~480K in Feb 2017. Still, we're getting times in the ballpark of four times what we're used to on that page. ―Mandruss  IMO. 23:28, 2 April 2025 (UTC)
Ah, I did mean Phabricator and I'm only now realizing the comment I left did not include a link. I'm sorry about that, @Mandruss! I've since updated the comment to include a link.
With regard to reproduction steps, are you noticing this across platforms (mobile / desktop) and operating systems (e.g. Android / iOS)? PPelberg (WMF) (talk) 23:38, 2 April 2025 (UTC)
@PPelberg (WMF): We don't have that data yet. I'll get started gathering it there. Me: Desktop, Windows 11, current Firefox. ―Mandruss  IMO. 23:43, 2 April 2025 (UTC)
@Mandruss wonderful – thank you!
In parallel, I've updated the ticket to reflect the reproduction steps you shared above. PPelberg (WMF) (talk) 02:11, 3 April 2025 (UTC)
@PPelberg (WMF): I'm using Firefox 136.0.4 64 bit on Windows 10 and have the same problem. I was able to reproduce it on my talk sandbox by copying the page even with the headers removed [12]. I didn't test further but assume it's either pure page size, or the number of replies causing it. Also at least for me, the main problem is the time it takes for the reply to successfully submit after hitting the reply button. The time it takes for the initial reply edit window to load can take a time too but it's complicated enough that I expect it'll cause confusion in diagnosing the main problem. I'll give some more details on that but I'm not sure if it matters since I think it's just how the reply tool works and caches stuff which whoever dealing with this likely knows much more than me so probably isn't surprised. Nil Einne (talk) 11:32, 3 April 2025 (UTC)
At least for me from my testing mostly in my sandbox, it seems that it is only the first time you try to reply after a new reply that it takes a while to load, for me about 10 seconds or so. After that the reply edit window loads fast until there's actually a reply. Note any replies you try to submit still takes ages regardless. Also that even leaving it 10 minutes after replying, the reply edit window still takes a while to load. I think it's not just local, that once someone has hit reply in the same version of the page, it's fast. For clarity, I didn't test with someone else. Instead I tried one window was my main browser and another was a different browser incognito mode so it wasn't logged in but on the same computer/connection/etc. So if I reply from my account, open the page in an incognito window where I'm not logged in and hit reply, wait for the reply edit window to load and then go back to the earlier window where I'm logged in and try to reply from there it's also fast for the reply edit window to load there too now. (It still takes ages to submit any reply.) There was one or two times when the reply edit window loaded unexpectedly fast which I didn't quite expect. Also there was some minor inconsistency whether the reply edit window opened almost instantly or took 1-2 seconds which I didn't count. I didn't check that carefully what happens once someone submitting a new reply if you still have an old version of the page loaded. But I think if you've already hit reply on your local version of the page, even if you've cancelled it, hitting reply again is generally fast even if there's another reply in a different tab. However I think if you never hit reply, then it will be slow again once someone actually submits a reply even if you don't reload the page for the new reply. I'm assuming this is local caching whereas the other situation where once someone has hit reply (but before they submit) it's fast for you too, is some sort of server side caching. Nil Einne (talk) 11:32, 3 April 2025 (UTC)
Okay just wanted to note that a quick test suggests it's not purely a matter of page size. This [13] is still relatively fast despite being over 2x the page size of the Trump talk page I used earlier. So it must be number of replies or other things like templates, wikiformatting etc. (While this has primarily concentrated on the reply tool, the normal source edit also seems slow and I'm fairly sure that the Trump talk sandbox is slower than the repeated US constitution sandbox. I suspect this is because the greater use of wikisyntax etc noting I'm using the new edit window which highlights wiki syntax etc.) Nil Einne (talk) 12:17, 3 April 2025 (UTC)
Occurred to me testing a page with a lot of duplicative content might not be the best test so I tried something else [14]. This time 1.6MB. The reply tool is a little slow but still way faster than the Trump talk test for me. (As I noted above I didn't pay much attention to edit source but edit source seems significantly worse on this 1.6MB page than even Trump talk test, but I think the 1.3MB US constitution duplicates was faster than Trump talk test.) The 1.6MB had a lot of stuff which might be poorly formatted for Wikipedia which could have been a factor. Nil Einne (talk) 13:07, 3 April 2025 (UTC)
The slowest part of the page is probably the references in all of the quoted article fragments. The talk page apparently has over 500 references on it, which is almost as much as the article itself, and the citation templates are notoriously slow. Moving those fragments to some kind of sandbox subpages or something would probably make the talk page much more responsive. Matma Rex talk 15:53, 3 April 2025 (UTC)
This happens elsewhere without excessive templates and such. It appears related to the reply tool. Does the quantity of replies have a negative effect on the reply tool code after a certain limit is reached? Someone with a bit of scripting skills should be able to setup test pages with ever increasing numbers of replies to test it. -- LCU ActivelyDisinterested «@» °∆t° 22:14, 3 April 2025 (UTC)
The quantity of replies has some impact on the reply tool loading speed, but the complexity of the templates etc. has much more impact. The mechanism of this is: when you click "Reply" to open the tool, it checks (among other things) that the comment you want to respond to hasn't been removed from the page. In order to check that, it has to parse the page using Parsoid, which takes ~14 seconds for that talk page, then find all of the comments in the parse results, which takes ~0.7 seconds. The parse result can be cached, speeding up that part to ~0 seconds, but since Parsoid is not the default parser for page views, it often won't be (unless someone who has enabled Parsoid visited the page since the last edit, or someone else clicked the "Reply" button since the last edit). Matma Rex talk 22:51, 3 April 2025 (UTC)
I guess what I just wrote suggests some workarounds… If you enable Parsoid for yourself in Preferences → Editing → Developer tools → Use the new Parsoid wikitext parser → Always (opt-in), the talk page will load a bit slower when you visit it, but the reply tool will load almost instantly. Matma Rex talk 22:53, 3 April 2025 (UTC)
(For testing, you can purge the page in the usual manner to purge that Parsoid parse cache too. Also, if you want to replicate these numbers yourself, note that the 14-ish second API request starts as soon as you hover your mouse over the "Reply" button, not when you click it. This is a cheeky optimization that makes it feel about half a second or so faster, depending on how agile you're at clicking, but it can't mask a 14 second delay – it can befuddle when you're trying to spot the slow request in developer tools, though.) Matma Rex talk 22:57, 3 April 2025 (UTC)
Hovering explains some of the unusual results I noted above. (Did occur to me at one stage then forgot.) However what you're describing seems to only really relate to the edit window opening after hitting reply. This can be a problem but given the complexity (e.g. if someone has hit reply or even accidentally hovered over reply and caused it to be cached without purging). I still feel the bigger problem is the time taken to submit after click reply in the edit window since this seems to be consistency slow whatever has happened and also takes longer. Is this also related to Parsoid but if so, why does it take longer? Nil Einne (talk) 00:34, 4 April 2025 (UTC)
For testing, you can purge the page in the usual manner - So I did. FWIW, here are the times to perform purge for five consecutive purges at Talk:Donald Trump. 9s 9s 10s 9s 10s. No doubt variable depending on time of day. ―Mandruss  IMO. 12:50, 5 April 2025 (UTC)
As I said this occurs elsewhere on talk pages without large amounts of templates. -- LCU ActivelyDisinterested «@» °∆t° 23:23, 3 April 2025 (UTC)

Is there a way to auto-purge a page?

Hello! So, I know there is way to purge a page by setting the value of the action query to purge, via ?action=purge. And I wondered, is there a way to auto-purge a page (something like ?action=purge&auto=true, or ?action=autopurge)? By auto-purge, I mean it automatically purges the page when you visit that link. Thanks! SeaDragon1 (talk) 21:51, 4 April 2025 (UTC)

Do you mean that you want the purge to just go through, instead of giving you a confirmation?
Some user groups do not have a confirmation, like admins. Snævar (talk) 00:54, 5 April 2025 (UTC)
I put this in my Special:Mypage/common.js before:
/* Override annoying purge dialog */
if ( mw.config.get( 'wgAction' ) === 'purge' ) {
       $('form.mw-htmlform').submit();
}
To auto-click the confirm button for me. — xaosflux Talk 09:04, 5 April 2025 (UTC)
The purge option added by the preference "Add a 'Purge' option" doesn't require confirmation. -- LCU ActivelyDisinterested «@» °∆t° 11:25, 5 April 2025 (UTC)
I mean, not just for me. I mean, for EVERYONE. SeaDragon1 (talk) 18:32, 5 April 2025 (UTC)
There is old discussion in phab:T143531. PrimeHunter (talk) 20:12, 5 April 2025 (UTC)

View image on iOS Microsoft Edge

I found out that since some day, when I tap any image, it turns black and need refresh to show up. Also the close button and the information box on the bottom will remain on the page until refresh.

I have tested this on other sites using MediaWiki and it worked well. And this isn't happening on Safari. CreeperKong (talk) 07:40, 6 April 2025 (UTC)

Longest possible video

Video of 25 h 5 min 58 s

I was shocked to discover File:Cory Booker's 25-hour speech.webm, which has a length of 90,358 seconds. I just assumed that videos had a much shorter time limit, so if you attempted to upload a video anywhere close to this in length, it would get rejected. Does MediaWiki impose a limit on the length of a video, or from a technical perspective, can you upload any video you want, regardless of length? Also, what about non-video files, like OGG recordings? Nyttend (talk) 21:53, 2 April 2025 (UTC)

@Nyttend a file can be up to 5 GB large, which this file is just under at 4.5 GB. That does not mean you can directly upload 5 GB. Some high quality NASA images are massive, and having the full file is great. For other stuff, less so. See c:Commons:Maximum file size and more broadly the setting in MediaWiki software. mw:Manual:$wgMaxUploadSize ~ 🦝 Shushugah (he/him • talk) 22:15, 2 April 2025 (UTC)
So there's no time limit, per se, for uploads? I'm left imagining someone uploading a ridiculously long MIDI file. Nyttend (talk) 00:09, 3 April 2025 (UTC)
No, but of course there are humans patrolling the upload log who will (hopefully) cut down on crap like that. * Pppery * it has begun... 00:10, 3 April 2025 (UTC)
That would make the transcode timeout, though.
On an unrelated note, why can't we switch to a service which allows files above 5gb? JayCubby 13:03, 3 April 2025 (UTC)
@JayCubby, it's not a technical limitation (which is why it's a setting). Qwerfjkltalk 13:13, 3 April 2025 (UTC)
Interesting. The Foundation has plenty[dubiousdiscuss] of server resources and capital[citation needed]. Why do we have a limit in the first place?
I suppose it is very rarely an issue (only, I dunno, for moderately high-resolution full-length films, but Commons totally doesn't host too many of those). JayCubby 13:20, 3 April 2025 (UTC)
5GB is still a technical limitation (phab:T191802) just a different one from before. the wub "?!" 14:07, 3 April 2025 (UTC)
The longest audio files on Commons are over 6 days long: File:WV-FrenchCourse-Step001-Exercise01.ogg, File:Es-mx-población.ogg, File:Es-mx-personal.ogg and File:Eo-plezuro.ogg.
The longest audio files on English Wikipedia are around 1 hour long: AlanFreed-WinsNewYork-March231955.ogg and File:Adolf Eichmann trial opening statement.opus. Snævar (talk) 02:16, 3 April 2025 (UTC)
I am surprised that someone managed to upload a huge video like this that also has a suitable file size for Commons :D --PantheraLeo1359531 (talk) 08:26, 3 April 2025 (UTC)
Low resolution, and lossy-compressed to the max? --Redrose64 🌹 (talk) 08:59, 3 April 2025 (UTC)
Videos at a different resolution are saved after rendering. It takes longer than saving a text file. Snævar (talk) 11:01, 3 April 2025 (UTC)
I'm the guy who uploaded this video. Here are some comments for you.
Indeed, there is no limit on recording length, but only on file size. It is actually at least theoretically possible to make a video file that is much longer in playback time than this (and at a much smaller file size, too). The simplest way to do this would be by creating a long video with a (very low) frame rate. Such a video would be useless, but definitely possible to create.
@Redrose64 I think you would be surprised to find that this video is, relatively speaking, not lossily compressed to the max, although it is fairly compressed. I used AV1 to compress this video. The source (C-SPAN) is a 576p H264 video, which itself is fairly lossily compressed. The portion of the video in question was already over 6 GB using H264 in the original C-SPAN encode. AV1 is a lot more modern than H264 (or, for that matter, VP9), so it is capable of producing a pretty decent result. The ffmpeg command I used to encode this video was:
ffmpeg -i source.mp4 -ss 04:00:14 -to 29:06:12 -c:v libsvtav1 -b:a libopus -b:a 64k -g 400 -preset 4 -crf 41 -pix_fmt yuv420p -svtav1-params tune=0 booker.webm
This yielded the 4.5 GB AV1 file that you see here. Actually, AV1 is pretty good for hosting high-res feature films, @JayCubby. You can see some AV1 encodes I made of feature films on Commons: The Jazz Singer, Glorifying the American Girl, Zaza, Cyrano de Bergerac, Night of the Living Dead. 5 GB is still limiting as a file size cap, but you can squeeze a fairly decent 1080p encode into that file size using AV1, which you really can't do with other codecs supported on Commons.
The only downside of AV1 is that AV1-WebM, while working perfectly in Firefox and Chrome, is not supported in Safari. (Newer versions of Safari support AV1-WebRTC on new Mac/iOS chips with hardware AV1 decoders, but apparently AV1 in WebM isn't supported.) Normally, this isn't a huge issue, because Commons automatically transcodes to VP9 (which is the process to which @snaevar was alluding). For the feature films I linked above, you can see a transcoded VP9 copy (actually, that's the default unless you switch to the original source file in the Commons streaming player). On Safari, the original is not shown as an option, only the VP9 streams.
This is a slight problem for the Cory Booker video, because the system refuses to transcode the file to VP9 at all. This is because the estimated size of the transcoded file is too big. The smallest option, which is the 240P VP9 encode, gives the following error:
estimated file size 3397249 KiB over hard limit 3145728 KiB
Now, this 3 GB limit is actually below the 5 GB limit for original files, but it's still fairly large. This is because the system, I believe, just uses a fixed bitrate to estimate file size, and, well, this video is over 25 hours long, so any video of this length will, even at a fairly low bitrate, end up pretty large. There are definitely ways to get a VP9 encode to be under 3 GB (and definitely under 5 GB, too).
Ideally — and I don't know that this is possible within Commons' infrastructure — a sysadmin would be able to run a custom transcode for this file (using a custom ffmpeg command — or I could provide a transcoded file myself) which would produce an appropriately transcoded file (using a lower bitrate, slower encode speed or perhaps a higher file size limit) — just so Safari users would see something. Alternatively, I could replace my AV1 encode with a VP9 WebM encode of my own creation; this would be definitely worse in quality (I've tested it out, and it is noticeable, but maybe I can make it closer to the AV1 quality), but would be supported in Safari. Eventually, I figure Safari will join the party and support AV1 in WebM like the other browsers, at which point this will cease to be a problem.
(Side note: I am using a very powerful CPU — an Apple M4 Max — and libvpx-vp9 is slower for me than libsvtav1!)
D. Benjamin Miller (talk) 16:21, 3 April 2025 (UTC)
D. Benjamin Miller, thanks for the explanation and for putting in the work to get this file. I extracted the audio, available at File:Cory Booker's 25-hour speech audio.opus. Do you have the means to extract the subtitles from C-SPAN? I tried to use OpenAI's Whisper to generate a SRT (in Google Colab), but it got an hour in and crashed for unknown reasons (though you might have better luck). JayCubby 15:36, 4 April 2025 (UTC)
Yes, I have the means to extract them, but you must understand that they're represented in this "scrolling CC" format, where lines are spelled out and re-spelled out in the next caption. I also think that the captions may be too long to put in the Commons TimedText. I'll look into it when I have the time. D. Benjamin Miller (talk) 23:40, 4 April 2025 (UTC)
An regex could remove every other line. You need a program that does Regex replacements, like Notepad++. For example "([^\n]+)\r\n\r\n[^\n]+\r\n" with the replacement "$1\r\n" will remove line 2 and 4 in this text:
lorem ipsum1
lorem ipsum2
lorem ipsum3
lorem ipsum4 Snævar (talk) 13:05, 5 April 2025 (UTC)
Snævar, just curious, what does the \r do in that regex? I'd use something more like (.+)\n.+$1. — Qwerfjkltalk 15:33, 5 April 2025 (UTC)
\r is needed to match newlines on Windows, because they decided to emulate typewriters and have both a return and a newline at the end of a line. Izno (talk) 16:42, 5 April 2025 (UTC)
There isn't a single character named "newline". Different operating systems use various characters or char combinations to signify a new line. Unix (Xenix, Linux etc.) use the line feed (U+000A) for the newline; Apple Mac uses the carriage return (U+000D). Windows uses carriage return directly followed by line feed, which it inherited from MS-DOS, which in turn got it from CP/M.
I have used a Creed teletype to input programs via five-bit punched paper tape for an Elliot 803, and that teletype had carriage return and line feed on separate keys. You needed to press both in turn because if you forgot to include line feeds in your data stream, each line would be overtyped on the last, like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
if you forgot the carriage returns, you got an effect something like this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
                                                        sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
A manual typewriter (like this Olympia, similar to the one that my mother owned) has a large lever on the left which, when pulled to the right, first advances the paper (effectively, the line feed) and then moves the carriage to the start of the (new) line. --Redrose64 🌹 (talk) 18:38, 5 April 2025 (UTC)
I know how to use regex, but this is a lot more complex than that. The captions are scrolled in word by word (if you know how CC works on live television, this is similar). Anyway, I'll work on it and get a synced set of captions. D. Benjamin Miller (talk) 20:50, 5 April 2025 (UTC)
After doing some minor correction (much more needed), it still won't work:
The text you have submitted is 2,347.347 kilobytes long, which is more than the maximum of 2,048 kilobytes.
So, anyway, if you wanna try to somehow make this small enough to fit (or whatever, after correcting it), see User:D. Benjamin Miller/booker subtitles 1.srt and User:D. Benjamin Miller/booker subtitles 2.srt. D. Benjamin Miller (talk) 01:52, 6 April 2025 (UTC)
The most obvious thing I can think of is abbreviate common and long words (e.g. government --> gvt), which could cut it down by a few kb. JayCubby 02:33, 6 April 2025 (UTC)
This feels like a problem that should be directed at people who care about big Commons things and possibly the WMF. Izno (talk) 03:42, 6 April 2025 (UTC)
It's not really a mystery; it's just the max text page length setting in MediaWiki D. Benjamin Miller (talk) 14:46, 6 April 2025 (UTC)
I didn't say it was a mystery. I said it was a problem and suggested you talk to people who might actually know the answer. I doubt anyone at en.wp VPT is aware of how Commons works with Big Things. Izno (talk) 16:24, 6 April 2025 (UTC)
Commons has its own VPT at, as might be expected, c:COM:VPT. --Redrose64 🌹 (talk) 17:10, 6 April 2025 (UTC)

Finding pageviews of vital articles

For WP:The core contest, I'd like to get an overview of the most-read vital articles. On {{Core topics}}, there is a dead link to wikistics that supposed to do this, but I can't figure out how to replicate this with massviews, given that VIT3+ are not separate categories. Instead, they are classified in subtopics such as Category:Wikipedia level-3 vital articles in Geography, so that Massviews shows only the most-read articles in that subcategory.

Is it possible to get an overview of the most-read vital articles? Or most-read VIT3 articles? —Femke 🐦 (talk) 12:13, 6 April 2025 (UTC)

The box that says "Category" in Massviews is a dropdown. There are other sources implemented there, at least one of which should work. I think either page pile or wikilinks will do the trick. Izno (talk) 16:26, 6 April 2025 (UTC)
@Femke: [15]DreamRimmer (talk) 16:30, 6 April 2025 (UTC)
Thanks both! —Femke 🐦 (talk) 20:02, 6 April 2025 (UTC)

dumpparsers

So recently I wanted to search through the dump and:

  • Ignore all articles that are not in a category whose name contains the word "India".
  • Of the remaining articles, check all references and output only those that contain .pdf to a textfile with the article title

I now have a tool that can do that (and all kinds of similar tasks) but I wondered if there is something already out there. I know about the Database scanner in AWB but it can't do something like this. I can't be the first person on earth who needed something like that, right? Polygnotus (talk) 22:55, 6 April 2025 (UTC)

Polygnotus, you could probably use pywikibot with XMLDumpPageGenerator or xmlreader.XmlDump — Qwerfjkltalk 11:49, 7 April 2025 (UTC)

I found meta:Data dumps/Other tools but what I want is to be able to output article titles or references or external links based on one or more selection criteria (e.g. contains string or not, matches regex or not). Polygnotus (talk) 23:02, 6 April 2025 (UTC)

The two I know of are Wikipedia:Typo Team/moss and Wikipedia:WikiProject Check Wikipedia. There's probably a few out in the wide world of academia. Izno (talk) 23:19, 6 April 2025 (UTC)
Otherwise, you're probably SOL for arbitrary queries. Izno (talk) 23:19, 6 April 2025 (UTC)
Those also parse Wikipedia dumps, but what I mean is downloadable programs that endusers can use that can search through the dump and filter. So for example the program I have can filter articles (based on criteria like does/does not match regex, does/does not contain matching string), and can then filter external links or references in those filtered articles (with the same criteria), and output the article titles or the article titles + reference or the article titles + external links. Polygnotus (talk) 05:32, 7 April 2025 (UTC)
In AWB, in the database scanner combine your two search queries. The category is going to appear later than the ref. Also, I do not like your double negitive. As for your boolean does it contain it or not, search for one of the criterions at a time and use the 'list comparer' to compare it against the combined run. Snævar (talk) 09:04, 7 April 2025 (UTC)

6'

In the search bar for desktop, why does entering 6' lead to the redirect ? I can't reproduce this with any other string ending with ' (an apostrophe). –LaundryPizza03 (d) 10:09, 7 April 2025 (UTC)

Special:Search/6' also demonstrates it. It also happens for Special:Search/361' and Special:Search/36'30'N. In the latter example, the first ' matches ˚ in 36˚30'N while the second ' matches itself. I guess ' will always match ˚ in searches when there exists a page with ˚ but not with '. It may be something about character folding in Elasticsearch, similar to letter case where Special:Search/EXAMPLE matches Example. The wikilink 6' is red like EXAMPLE. ˚ can mean degree (angle) and ' can mean arcminute (1/60 of a degree) so the symbols are related in that context without meaning the same. There may be languages where they are often interchanged. PrimeHunter (talk) 13:31, 7 April 2025 (UTC)

Tech News: 2025-15

MediaWiki message delivery 18:49, 7 April 2025 (UTC)

Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"

Hi! I just got some errors like [be090329-f0a7-45b7-8ad7-17a7fca893e3] 2025-04-06 20:30:10: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError" on multiple pages, including the Main Page (this specific one is from https://en.wikipedia.org/wiki/Template:Sentence_fragment). 2A00:807:D7:AA94:CD3B:F89A:966C:8FA7 (talk) 20:39, 6 April 2025 (UTC)

Yeah that is annoying, thanks for reporting. The good news is that the people who deal with the servers also see those errors so they will be working on a fix. Polygnotus (talk) 22:51, 6 April 2025 (UTC)
Could you add the relevant phabricator ID to this section, if there is one? (I'm guessing it's probably T389734?) 2A00:807:D7:AA94:C06A:461B:F9:6B92 (talk) 23:10, 7 April 2025 (UTC)
This time it was probably the issue tracked at T390510. Matma Rex talk 23:20, 7 April 2025 (UTC)

Pblock question

Resolved

Does p-blocking an editor from "Creating new pages" prevent them from:

  1. Starting a new article in Draft space?
  2. Moving an existing page to a (non-existent) title?

I didn't find the answers at WP:PBLOCK although I assume this is documented somewhere. Thanks. Abecedare (talk) 15:28, 6 April 2025 (UTC)

I tested this on my clone account and verified that the pblock prevents the blocked editor from doing (1) and (2). Abecedare (talk) 17:44, 6 April 2025 (UTC)
Both are technically creations. A Draft, is just a place (a namespace), a redirect is a special type of content of a page. Both situations require the technical creation of a page. —TheDJ (talkcontribs) 09:55, 8 April 2025 (UTC)

The hovering lead-image

You know that thing when you hover the cursor on a wikilink and get to see a bit of text and possibly the WP:LEADIMAGE? When the lead-image is a bit tall, like at current Jesus, Eve and Women in the Bible, you get a cropping. I'm guessing this falls under MediaWiki, but I'm not sure. Would it be worth the effort to ask "them" to look into this, maybe there's some simple improvement to be done? I don't think this should be an issue for choice of lead-image, so I'd prefer a technical solution. Gråbergs Gråa Sång (talk) 12:13, 8 April 2025 (UTC)

It's part of mw:Extension:Popups, also called Page Previews and previously Hovercards. There is an old declined request at phab:T65162. PrimeHunter (talk) 14:07, 8 April 2025 (UTC)
Thanks! So, declined in 2014. Gråbergs Gråa Sång (talk) 14:17, 8 April 2025 (UTC)

Issues loading images since late-March 2025

Hi, I've recently noticed while browsing Wikipedia and sister projects (Commons) that images are occasionally failing to load. Some will render without issue while others will either appear on the page as a placeholder broken image symbol or still be visible but when clicked and maximised, they fail to load with a "sorry, the file cannot be displayed." error message. Looking at the commons page for an effected image shows that some of the resolutions work fine whilst others still throw errors. It's been a few days and I haven't seen any comments on here on this specific issue yet so I am saying it now. Hopefully the team are working on fixing whatever is causing this behaviour? Slender (talk) 19:17, 2 April 2025 (UTC)

I had that problem with a single image awhile back. Tried everything, including clearing my browser cache, purging the article containing the image, and restarting my computer. So I gave up, and the problem disappeared after a few days. Patience is a virtue, sometimes. ―Mandruss  IMO. 19:21, 2 April 2025 (UTC)
Can you share a couple of examples of images that fail and images that work? Matma Rex talk 20:22, 2 April 2025 (UTC)

Sure. Here's a few of the broken ones pulled from the article Gangway connection:

Working images:

I also uploaded a screenshot to show the broken images and how the page looks on my end. https://en.wikipedia.org/wiki/File:WPBrokenImagesScreenshotExample.PNG Slender (talk) 21:02, 2 April 2025 (UTC)

All of the images at Gangway connection are working for me. When I had the problem, others didn't see it. That's why I gave up, blaming myself. ;) That was at Donald Trump, btw. Just one problem image. ―Mandruss  IMO. 23:35, 2 April 2025 (UTC)
@Slenderman7676 Hi, this might be related to the work I'm doing with image thumbnails (phab:T360589). There are multiple ways that this can happen due to that work. 1- The size of image will be different than size of the element (the thumbnail is 250px, the image is shown at 220px) and your browser might not support it. All browsers I have tested so far have worked with no issues. If you're using an uncommon browser or it's not updated for a while, this might be the reason but I need to know what browser is that to check it immediately. I checked all three are broken are using the steps but also two of the ones that are shown too which is weird. So another question I have is also that whether the working images are also now broken too? 2- rate limit: Since we are using steps and also working to bump the default size to 250px (phab:T355914), these are triggering a lot of thumbnail regeneration (combine that AI scrapers), you might be hitting the rate limits of thumbnail generation (I'd have to see the network response for the browser, is it giving 429 when trying to load the image?) specially if you're unlucky with a GCNAT or bad ranges. The 1 is unlikely but would be quite scary as it would block the further roll out and 2 is more likely and less terrible, you just have to wait a couple of days. Please let me know how it is. Thank you and sorry for the issue. Ladsgroupoverleg 23:38, 2 April 2025 (UTC)
To follow on from that: people might not be aware of the mechanics. In the past, your browser was served a HTML page woth the various image positions specified for an image width of 220px, and was also served the images pre-scaled to 220px wide, so your browser merely had to fit the images into the appropriate boxes without further manipulation. Recently, however, for the same HTML page (still with 220px image boxes) your browser is served images that are 250px wide, and must scale them down itself. --Redrose64 🌹 (talk) 10:00, 3 April 2025 (UTC)
Yeah but also noting that such scaling won't happen that often once we reach 100% since once the steps are fully rolled out, we will bump the default thumbnail size to 250px which means for majority of cases (when they don't define a thumbnail size), they will be both served as 250px and shown at 250px. Ladsgroupoverleg 13:57, 3 April 2025 (UTC)
@Slenderman7676: At Gangway connection, all of the images  Works for me. I notice that all of the links that you give are in the form of URLs to Media Viewer. Is this significant? Do direct wikilinks such as File:Mark 1 coach 6313 at Bristol Temple Meads 2006-03-01 03.jpg produce different results? Personally, I turned off MediaViewer almost as soon as it was launched. BTW, thanks for choosing an article that I created for your example. --Redrose64 🌹 (talk) 08:56, 3 April 2025 (UTC)

Finally back on my PC so I can reply, I did a refresh with cache clear. The images at the top of the article which originally failed to load now load. But now a bunch of other images near the bottom of the article have broken. I do think this is some sort of API thumbnail issue. Looking up my current IP on here shows no blocks. It's only a Dynamic UK Residential IP by Virgin Media. Unless VM are also using their residential IPs for scraping? As for browser. I'm currently rocking Chrome ver 124.0.6367.61 on Windows 10 build 22H2, I know Chrome is a tad out of date but I need it in order to keep my MV2 extensions working properly. FYI, my replies may be slow because my mobile devices (iPhone and iPad) are global IP blocked even when logged in and it's a bit of a hassle to have to disable and then re-enable Private Relay in order to make edits, but I digress. Slender (talk) 20:58, 3 April 2025 (UTC)

Chrome 124 is not that old to be the culprit. Given that the ones that load and the broken ones are changing, this is quite likely just rate limit issues. It's not really about VPN. Some ISPs do IP assignment really terribly (some are called CGNAT) and you might be hitting the rate limits because of that. It all should go away soon. Ladsgroupoverleg 10:46, 4 April 2025 (UTC)
I had the same problem, also with a Chromium 124 based browser. Installing a user agent modifying extension and changing the 124 to 125 or even 123, or to Firefox or some other browser fixes it.
Going back to 124 makes it start happening again, but images that had already loaded properly remain visible, even after clearing cache, and even if the working request was from a different browser, suggesting it could be thumbnail generation related. When it isn't working, no amount of refreshing makes it work, and the images appear as soon as I change the user agent, so not likely to be rate limiting, unless there's some very specific and easily-reached limit against certain browser versions.
Going to a bad image directly, ("upload.wikimedia.org/wikipedia/en/...") shows "Error Our servers are currently under maintenance or experiencing a technical issue" but also "Error: 403, Too many requests.", so some kind of block/limit that affects direct images and thumbnail generation from certain browsers, but not already-generated thumbnails? ThisNewSkinIsAwful (talk) 17:13, 6 April 2025 (UTC)
Thumbnails have never regenerated by refreshing a page a thumbnail of them is on. In order to get new thumbnails, go to the image page of the images in question and purge those. Give the images at least one minute to regenerate.
Error 403 is from the thumbnailer, it is a rate limiter. You will hit it consistantly if you ask to regenerate 50+ images. Snævar (talk) 17:29, 6 April 2025 (UTC)
Then it may not be thumbnail generation related after all, as purging a "broken" image didn't make it appear, and just refreshing an article with broken images after changing user agent makes them appear. And the error was seen on the full image too. ThisNewSkinIsAwful (talk) 19:37, 6 April 2025 (UTC)
It could be a broken file yes. I think it is time to file a bug at phab:. On phab, "thumbor" is the thumbnailer and "sre-swift-storage" is the server thumbnail cache. Mark it as you see fit.
What is generally happening here is that the server has a cache of thumbnails that is now being regenerated. In some cases the thumbails are several years old. So these pictures get new thumbnails that are being created by newer versions of mostly the same thumbnailing software, which produces in some cases different results or even broken files. All requests from you go to the server cache, and if it does not have it, to the thumbnailer. Snævar (talk) 23:28, 6 April 2025 (UTC)
I'm with the SRE team at the Foundation, and I'm responsible for your issues, most likely.
We were blocking requests from a very specific version of Google Chrome because of some crawler that was very aggressively downloading large TIF and JPG files from our infrastructure, to the point of causing an outage over the last weekend of March, and persisted for days afterwards.
At the time the false positive traffic was low enough, and the crawler spread enough across different IP spaces, that I made the call to block requests unconditionally. I apologize for the inconvenience - I've verified that currently the crawler has ceased to operate and lifted the ban.
I apologize again for your inconvenience: while at the time it was our only option, and I stand by the decision I made to ban the requests, I dropped the ball on disabling the rule after the crawler had ceased to be around.
You should be ok now. GLavagetto (WMF) (talk) 18:59, 7 April 2025 (UTC)
Yes, can't reproduce the problem here now. Thanks! ThisNewSkinIsAwful (talk) 19:13, 8 April 2025 (UTC)

Differentiating between a user talkpage and a subpage of a user talkpage.

If I tag a talkpage in my userspace with {{db-g7}} the following text shows up (e.g. on User talk:Polygnotus/Scripts/WikiTextExpander):

Please use the rationale parameter to explain why this user talk page should be deleted. (E.g., {{db-g7|rationale= }}.) Thanks! Per the User page guidelines, user talk pages are generally not deleted, barring legal threats or other grievous violations that have to be removed for legal reasons; however, exceptions to this can be and are made on occasion for good reason (see right to vanish). In addition, nonpublic personal information and potentially libellous information posted to your talk page may be removed by making a request for oversight.

I think it should use the trick in User:Polygnotus/Templates/Subpage or something similar to differentiate between user talk pages and subpages of user talkpages, and only show that warning on a user talk pages. Polygnotus (talk) 17:20, 8 April 2025 (UTC)

Note user talk page archives are typically subpages of a user talk page. isaacl (talk) 17:37, 8 April 2025 (UTC)
Good point, but that is fixable. User:Polygnotus/Templates/Subpage2. Also I'd assume it is pretty rare that people actually nominate their talkpage archives, and the vast majority of talkpages in someone's userspace that get nominated for deletion are only edited by the !owner of the userspace. Polygnotus (talk) 17:47, 8 April 2025 (UTC)
I imagine it's rare that people nominate any of their user talk pages for deletion, so perhaps an easier approach is to clarify the intent of the message. On a side note regarding the logic on your subpage, archive pages don't have to follow any specific naming convention. isaacl (talk) 02:41, 9 April 2025 (UTC)

Came across this referencing style

I recently came across a referencing nomenclature that I am unfamiliar with and was wondering if it's in use in any other article around here.

  • <ref>[[#authoryear|author, year]]pages xxx-xxx.</ref>

It actually works great, links to the cited reference in the WP article with the effect being the same as the sfn/harv styles. I just had never seen it before and thought maybe there's a informational page or a section on some page around here that I have missed but that describes the style. Has anyone else seen this style? Is there something that describes it and how to implement it? Thanks for any info. - Shearonink (talk) 14:28, 8 April 2025 (UTC)

Not really a 'technical' issue. This particular 'style' is a maintenance headache. For example, in the article United States (permalink), ref 52 is written as:
<ref>[[United States#Ripper2008|Ripper, 2008]], p. 6.</ref>
and ref 56 is written as:
<ref>[[#Ripper2008|Ripper, 2008]] p. 5</ref>
Why are they written differently? Both of those link to:
{{cite book |last=Ripper |first=Jason |title=American Stories: To 1877 |year=2008 |ref=Ripper2008 |publisher=M.E. Sharpe |url=https://books.google.com/books?id=vX-fYvoAeHwC |page=299 |isbn=978-0-7656-2903-6}}
On the other hand, ref 57 is written:
<ref>[[#Calloway1998|Calloway, 1998]], p. 55</ref>
and is supposed to link to:
{{cite book |first=Colin G. |last=Calloway |title=New Worlds for All: Indians, Europeans, and the Remaking of Early America |url=https://books.google.com/books?id=edYbAZ7ECEoC |publisher=[[Johns Hopkins University Press|JHU Press]] |ref=Calloway 1998 |page=229 |isbn=978-0-8018-5959-5 |year=1998}}
but doesn't because the manually created |ref=Calloway 1998 does not match the link created in ref 57.
Further, floating your mouse pointer over the short refs 52, 56, or 57 does not cause MediaWiki to popup the contents of the linked long-form references as it should. For comparison, float your mouse pointer over ref 54, to see the popup created from:
{{sfn|Joseph|2016 |page=590}}
Trappist the monk (talk) 15:10, 8 April 2025 (UTC)
I think we should get consensus to convert them to the correct style (if that is even necessary, which I doubt), and then replace them with sfn because creating your own personal style of using references is a terrible idea. Polygnotus (talk) 15:14, 8 April 2025 (UTC)
This search finds about 9250 articles that use this 'style'.
Trappist the monk (talk) 15:40, 8 April 2025 (UTC)
@Trappist the monk Thank you. If the number is that large it may be better to post a WP:BOTREQ. Do you think we need to get consensus to officially deprecate this 'style', and if so where would be an appropriate place? Polygnotus (talk) 16:06, 8 April 2025 (UTC)
I suspect that there are editors out there who would oppose a bot that changes:
<ref>[[#Ripper2008|Ripper, 2008]] p. 5</ref>
to:
{{sfn|Ripper|2008|p=5}}
and then deletes |ref=Ripper2008 from the matching long-form cs1|2 template. Such a bot might be considered to run afoul of WP:COSMETICBOT. I also suspect that there are editors who will object because they would view the deprecation of this 'style' as unnecessary regulation creep. A widely publicized RFC would seem to be required.
Imposition-of-consistent-style might be a WP:CITEVAR argument for some articles that use both this manual 'style' along with a templated style. These are variants of the above search where articles that use the manual style also use one (or more) of these templated forms:
That's about 1750 articles that use a mixed style of short-form referencing leaving about 7500 others.
There is also {{wikicite}} which gives examples that use this 'style'. Searching for this style in articles that also use {{wikicite}} finds 176 results.
As for where? I don't know. Where was the parenthetical reference deprecation RFC held? Might be a good choice to hold an RFC about this 'style' at the same place.
Trappist the monk (talk) 17:10, 8 April 2025 (UTC)
@Trappist the monk On the Village pump (proposals) https://en.wikipedia.org/w/index.php?oldid=976895063#Deprecate_parenthetical_citations Polygnotus (talk) 17:23, 8 April 2025 (UTC)
Trappist the monk, is it possible to do a search for articles where the reference name text before the '#', per your example of ref 52 in the United States article? -- LCU ActivelyDisinterested «@» °∆t° 10:53, 9 April 2025 (UTC)
This search times out. Interestingly, quite a few of the articles it finds use <ref>...</ref> tags with this 'style' to link to other articles. Seems a rather poor editorial choice to me.
The search is the {{sfn}} search from above modified in the same way.
Trappist the monk (talk) 13:29, 9 April 2025 (UTC)
Thanks I can never quite get complex regex to work. It's shows what I expected, references that use the contents of other articles as references (a doubly broken way of doing things). -- LCU ActivelyDisinterested «@» °∆t° 14:01, 9 April 2025 (UTC)
For the historical point of view, my understanding is that this reference style mostly more or less predates the development of Module:Footnotes. I'm sure there's a few people who have added it post-development because they generally prefer template-less citations. Using {{sfn}} and friends is just categorically superior for a lot of different reasons.
That said, yes, replacing these en-masse would likely require an RFC at WT:CITE deprecating the style along WP:CITEVAR concerns, because stopping a switch from manual citations to templates is one of the few more or less explicit protections CITEVAR provides. I've nudged a few manually before without "getting permission" and not be shouted at, but it's something you probably should generally avoid. Izno (talk) 17:21, 8 April 2025 (UTC)
@Izno Apologies if this is a stupid question but why would anyone prefer template-less citations? That doesn't make sense to me. Polygnotus (talk) 17:25, 8 April 2025 (UTC)
They're easier to type just what you want or need and aren't "finicky" about the metadata piece of it associated with making sure everything gets put in the right parameters and rightly named parameters. Templates are much noisier in the wikitext. There was probably originally some concern that they would cause article rendering or the database to tip over (c. 20 years ago).
I don't hold these views myself, especially for something as easily-used as {{sfn}} when you want a link on the page and inevitably write something longer than the template, but it does and has existed for a very long time. Izno (talk) 17:30, 8 April 2025 (UTC)
See help:wikilink. I would think that using |ref={{sfnref|Joseph|2016}} in a CS1 or CS2 and referring to it in a {{harvnb|Joseph|2016|page=590}}template would be better form than <ref>[[#anchor]Joseph, 2016, page=590]]</ref>. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 17:23, 8 April 2025 (UTC)

@CaptainEek: You started the RFC to deprecate parenthetical citations and it was a great success, what do you think about the idea to deprecate these "fake sfn" citations? Polygnotus (talk) 17:33, 8 April 2025 (UTC)

@Polygnotus My concern with the parenthetical refs was that they were affecting the reader experience. This is more of an editor side issue, so I'm not really pressed about it. I can't say I'd use this fake sfn style personally, it seems like a pain, but not sure that alone is a reason to deprecate given our desire to allow a range of citation styles. I don't feel strongly about it though and frankly wouldn't stand in the way of greater citation conformity. CaptainEek Edits Ho Cap'n! 17:39, 8 April 2025 (UTC)
The range of citation styles I desire allowing consists of CS1 and CS2. Two whole options! Am I a citation extremist?
Allowing too much creativity with citations makes life very difficult for newbies, and these fake sfn citations do not have the many advantages that proper citation templates have (e.g. automatic detection of problems, automatic categorization, a GUI, popups, being usable in VE (allegedly)). Polygnotus (talk) 17:51, 8 April 2025 (UTC)
Yes, that preferred range does tend toward extreme, even today. :) Izno (talk) 17:58, 8 April 2025 (UTC)

Thanks for all the responses. Every day I learn more about this place. If anyone is interested in where I came across this issue take a look at Benjamin Franklin. (I am trying to fix/adjust Harv warnings & errors when I come across them and this article was chock-full when I started with 43, it's now down to 22 "Harv warnings".) The parenthetical refs of [[# etc popped up and I could not figure out why some cites were linking within the article to the named sources and mine weren't working... The mix of cites in this article are personally problematic for me and I'm somewhat experienced. I can't even imagine what it's like if a newbie tries to use the parentheticals, the sfns & harvs are thorny enough to deal with.
I didn't realize that so many - 9000+ articles use this style. I would hesitate to change allll these refs in Wikipedia en-masse... In the Franklin article itself there are only 4 refs that use this style - a single Encyclopaedia Brittanica, 4 Nash, a single Franklin Institute, and 24 for Isaacson. If I can wrap my head around the technicalities of converting these 4 refs to sfn, I'll do that and see if my possible changes are according to editorial consensus at this particular article. - Shearonink (talk) 19:50, 8 April 2025 (UTC)

The style referred to at the top of this section by Shearonink definitely predates modules, and was certainly established at the time that I wrote Abingdon Road Halt railway station way back on 22 September 2009. Within eight hours of writing it, I wrote the very similar Hinksey Halt railway station, which used {{sfn}} from the start. I did this in order to compare the two styles, which I had heard about independently, to see which one was more satisfactory. My decision was firmly for future articles to use {{sfn}}, but I have deliberately refrained from harmonising Abingdon Road Halt railway station, so that a comparison is still available. --Redrose64 🌹 (talk) 21:34, 8 April 2025 (UTC)
Aha, I'm pretty sure it was Wikipedia:Citing sources/Further considerations, which was created in March 2008, see original version. It still describes the technique, now at Wikipedia:Citing sources/Further considerations#Using freehand anchors. So, Polygnotus, it's not creating your own personal style of using references. Since it's been documented for over seventeen years, WP:CITEVAR applies to any article using it. --Redrose64 🌹 (talk) 22:04, 8 April 2025 (UTC)
Yeah, back then this may've been a reasonable choice, but back then there weren't all these far superior alternatives. Lua in templates has been supported since 2013. The fact that mistakes have been made in the past does not mean we gotta keep repeating them. And I'm all for variety; but against making the life of Wikipedians harder for no advantage. The reason why it was used in the past is no longer valid. Polygnotus (talk) 22:19, 8 April 2025 (UTC)

My least favoured style of referencing, as they generate no errors if they're broken (and they are often broken). At least with plain text you don't get a comforting blue link. But CITEVAR does apply and there are editor who prefer them, if anyone looks to get consensus to do something about them please ping me. -- LCU ActivelyDisinterested «@» °∆t° 10:49, 9 April 2025 (UTC)

Why is this query so slow?

[17] has been running for a long time. It's just:

select * from revision
where rev_timestamp = 20250409001450

which hits an indexed column, so I would expect it would return almost immediately. What's going on here? RoySmith (talk) 13:36, 9 April 2025 (UTC)

It did eventually finish, returning the one row I expected it to. Run time was 1205.90 seconds! RoySmith (talk) 15:18, 9 April 2025 (UTC)
Use timestamp as string;
select * from revision
where rev_timestamp = '20250409001450'

DreamRimmer (talk) 15:16, 9 April 2025 (UTC)

Yeah, that worked (0.06 seconds). It's weird that not quoting it allowed the query to run and return the right result, but not hit the index. RoySmith (talk) 15:22, 9 April 2025 (UTC)
It's weird, but true… Confirmed by EXPLAIN query result:
mysql:research@dbstore1008.eqiad.wmnet [enwiki]> explain select * from revision where rev_timestamp = 20250409001450;
+------+-------------+----------+------+---------------+------+---------+------+------------+-------------+
| id   | select_type | table    | type | possible_keys | key  | key_len | ref  | rows       | Extra       |
+------+-------------+----------+------+---------------+------+---------+------+------------+-------------+
|    1 | SIMPLE      | revision | ALL  | rev_timestamp | NULL | NULL    | NULL | 1153964976 | Using where |
+------+-------------+----------+------+---------------+------+---------+------+------------+-------------+
1 row in set, 4 warnings (0.001 sec)

mysql:research@dbstore1008.eqiad.wmnet [enwiki]> explain select * from revision where rev_timestamp = '20250409001450';
+------+-------------+----------+------+---------------+---------------+---------+-------+------+-----------------------+
| id   | select_type | table    | type | possible_keys | key           | key_len | ref   | rows | Extra                 |
+------+-------------+----------+------+---------------+---------------+---------+-------+------+-----------------------+
|    1 | SIMPLE      | revision | ref  | rev_timestamp | rev_timestamp | 14      | const | 1    | Using index condition |
+------+-------------+----------+------+---------------+---------------+---------+-------+------+-----------------------+
1 row in set (0.001 sec)
I didn't know about this either. I found some discussion of the problem here: https://stackoverflow.com/a/16791526, https://use-the-index-luke.com/sql/where-clause/obfuscation/numeric-strings Matma Rex talk 20:48, 9 April 2025 (UTC)
Thanks for the pointers. I especially like where use-the-index-luke.com says "Although it is a very bad practice, it does not automatically render an index useless" :-) RoySmith (talk) 22:13, 9 April 2025 (UTC)

Is there a valid use for empty section headers?

T368722 proposes to create new Linter tracking for empty section headers (e.g. === ===). Are there valid uses for empty section headers that outweigh the negatives? Please respond at the original thread: Wikipedia talk:Linter#New lint category for empty headings. Thanks. – Jonesey95 (talk) 00:54, 10 April 2025 (UTC)

DiscussionTools/Reply Tool stores both keystrokes and the draft?

Why does the DiscussionTools/Reply Tool store keystrokes in localstorage? For undoing? If you look in localStorage where the key starts with mw-ext-DiscussionTools-reply you see for example:

{"start":6,"transactions":[[1,["","W"],3],"h","a","t"," "]} in ve-changes

This appears to be a security risk, especially for non-public wikis.

Polygnotus (talk) 14:56, 9 April 2025 (UTC)

It is for edit recovery, for accidentally closed browsers. It was a very popular requested featured. Not sure why a "non-public" wiki would be a security risk, your browser can already see everything you do. Perhaps if you were using a shared computer, in which case you could use a private browser session. — xaosflux Talk 15:13, 9 April 2025 (UTC)
@Xaosflux Yeah that is what I thought originally, but weirdly it contains both keystroke information and what I actually wrote (at the end of ve-changes). I understand that it needs to store the draft, but that does not require keystroke information. And if the information is stored as keystrokes then it doesn't need the draft message; or at least that is what I would think. See User:Polygnotus/Scripts/DTreplies.js, then scroll to the bottom of User:Polygnotus/sandbox to see it in action.
Not sure why a "non-public" wiki would be a security risk because, if Bob logs out from his account on a non-public wiki that uses DiscussionTools, he does not expect that Alice can read his drafts without ever logging in to the non-public wiki.
It seems to also store drafts when you haven't actually typed anything which is weird. Polygnotus (talk) 15:18, 9 April 2025 (UTC)
I don't think Bob should expect that in general when Alice uses Bob's computer, Bob's browser, and Bob's browser profile - that there would be much secrecy from things done within the browser.
However, clearing this local storage is a feature request that is being looked in to in phab:T341845. Feel free to follow or contribute to that task. — xaosflux Talk 15:37, 9 April 2025 (UTC)
Agreed, but you know Bob. He loves football, he can't dance, and he knows little about computers. He won't expect that the browser remembers stuff like this. Polygnotus (talk) 15:39, 9 April 2025 (UTC)
Hm, I think it may be a performance thing, using many small transactions instead of 1 bigger one. Polygnotus (talk) 17:34, 9 April 2025 (UTC)
Yes, this data is stored as part of the undo stack. It doesn't exactly record keystrokes, it's the same "granularity" of changes that you can see when you perform undo/redo in the tool (the text is separated into 1-character strings for technical reasons – see [18] – but this does not reflect how it was typed). This happens just incidentally in DiscussionTools, because the draft autosave mechanism is shared with VisualEditor's autosave mechanism. FYI, if you switch between Visual and Source modes, all of the details are discarded. Matma Rex talk 21:01, 9 April 2025 (UTC)
The internet is a security risk. If you don't want Big Brother to watch you, don't connect. Get out your old Apple II and run VisiCalc. --Redrose64 🌹 (talk) 22:03, 9 April 2025 (UTC)
@Matma Rex (or anyone): is this autosave feature documented? I asked on mediawiki.org recently and received no response. Commander Keane (talk) 02:03, 10 April 2025 (UTC)
@Commander Keane I don't think those details were ever written down. The feature uses localStorage with all of its limitations, plus an expiry of 30 days. [19][20] Matma Rex talk 02:28, 10 April 2025 (UTC)

SPARQL query

Hi everyone,

I am trying to use Sparql in Wikidata to list all national parties that are members of a European party and whose country is a member of the European Union. That much I have. However, I also want to display their number of seats in the European Parliament (but it should not be a requirement to have such an entry).

So far, I have:

SELECT ?item ?itemLabel ?countryLabel ?seats
WHERE {
  ?item wdt:P463 [wdt:P31 wd:Q24649]; #member of an instance of European party
        wdt:P17 [wdt:P463 wd:Q458]; #from a country that is a member of the European Union
        wdt:P17 ?country;
        OPTIONAL { ?item p:P1410 [ps:P1410 ?seats; pq:P1410 wdt:Q8889]. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en-gb". }  } 
ORDER BY ?countryLabel ?itemLabel

The OPTIONAL line is what doesn't work as it yields an empty column. What did I do wrong? Julius Schwarz (talk) 12:26, 9 April 2025 (UTC)

Asking at d:WD:RAQ is likely to be more fruitful. Izno (talk) 16:16, 9 April 2025 (UTC)
Fair point, thanks! Julius Schwarz (talk) 20:27, 9 April 2025 (UTC)
For those interested, this was solved here. Julius Schwarz (talk) 08:36, 10 April 2025 (UTC)

Is it possible to change my username posted in warn templates?

Typically I use Twinkle to perform warns, but it starts all of my messages with "Hello, I'm Guninvalid". I prefer my name to be written lowercase, "Hello, I'm guninvalid". How could I change this in my preferences? guninvalid (talk) 05:41, 10 April 2025 (UTC)

Not really, that script doesn't collect a custom username - and even if it did it mostly uses templates that don't support inserting a custom username (e.g. Template:uw-vandalism1). — xaosflux Talk 13:12, 10 April 2025 (UTC)
@Guninvalid: For manually selected messages you could make your own version in userspace, e.g. copying Template:uw-vandalism1 to User:Guninvalid/uw-vandalism1 with {{safesub<noinclude></noinclude>st:REVISIONUSER}} replaced by guninvalid. See Wikipedia:Twinkle/doc#Warn (user talk warnings) for how to use it. PrimeHunter (talk) 15:32, 10 April 2025 (UTC)

Now need to use email code to login?

I've tried to login to both of my accounts but I am being asked to provide an email code. I have never had this requirement before and the only change I can notice is that I am logging at auth.wikimedia.org instead of en.wikipedia.org

Is this a new requirement? Why was it never advertised/mentioned? 206.83.102.24 (talk) 22:40, 4 April 2025 (UTC)

Hi, a small percentage of logins now require that the account owner input a one time password emailed to their account. This will occur for example when the device and IP are both new. This is currently in initial testing, for security reasons related to the recent problem. Wider announcements will come soon. Quiddity (WMF) (talk) 23:06, 4 April 2025 (UTC)
I'm regularly changing both user agent and IP, is there no option to disable this in settings (I cannot look right now for obvious reasons)? All my passwords are uniquely generated. 206.83.102.24 (talk) 23:34, 4 April 2025 (UTC)
You can setup 2FA for your account, which will stop this. See m:Help:Two-factor authentication for details on that (and make sure to save the recovery codes it gives you, if you decide to follow the process to opt-in). Quiddity (WMF) (talk) 23:53, 4 April 2025 (UTC)
I don't want to have to enter a code at all. The only way to avoid this it appears is to simply disable/remove an email, which would only worsen account security. 206.83.102.24 (talk) 00:38, 5 April 2025 (UTC)
Please could you write (perhaps privately to me, contact details on my userpage) some details about why your user agent and IP are regularly changing? Then I can bring that info to the devs in case it's something they can help you workaround, or can consider for the system as a whole. Thanks. Quiddity (WMF) (talk) 16:37, 5 April 2025 (UTC)
You can see my provider, as for the user agent, well my I update my browser regularly. 206.83.103.99 (talk) 22:01, 8 April 2025 (UTC)
Thanks for the reply. I believe you are correct, and the three technical options for you are: (1) use 2FA which will allow you to remain logged-in for a year (assuming you allow cookies) per device, (2) encounter these EmailAuth verification code requests, but (again assuming you allow cookies for Wikimedia domains) you should only need to go through the EmailAuth workflow once per year per browser, (3) remove your email from the account (which as you note has significant drawbacks). Overall, I would encourage option 1, and if you have additional concerns about using 2FA that aren't addressed in the Help page, please let me know (or comment on the talkpage there). I hope that info helps. Quiddity (WMF) (talk) 16:35, 10 April 2025 (UTC)
Logging in on auth.wikimedia.org is a separate change, which has been announced in #Tech News: 2025-14 and elsewhere. You can find documentation about it here: [21]. Matma Rex talk 23:35, 4 April 2025 (UTC)

Onlyinclude

How to prevent empty row appearing after "onlyinclude" tag? Examples: 1 2 Lado85 (talk) 13:16, 4 April 2025 (UTC)

Can anyone help me? Lado85 (talk) 09:56, 5 April 2025 (UTC)
@Lado85: The thing about <onlyinclude>...</onlyinclude> is that everything between the tags is transcluded, including any whitespace (spaces, tabs and newlines), so if you don't want those occurring in the page that it's transcluded to, you need to ensure that they don't occur either between the opening <onlyinclude> tag and the "real" content that you want to include, nor between the "real" content and the closing </onlyinclude> tag. See WP:ONLYINCLUDE. --Redrose64 🌹 (talk) 12:14, 5 April 2025 (UTC)
I know this. The empty row is spontaneously added sometimes, when somebody edits article (not omly this, everywhere). I am tired to delete it every time it appears. Lado85 (talk) 12:34, 5 April 2025 (UTC)
I did two test edits which added a space (now reverted). The first in the standard editor just added the space.1 The second in the Visual Editor added the extra line after the onlyinclude tag.2 I only added the space after the "Pool A". So it looks like a VE issue.  —  Jts1882 | talk  12:59, 5 April 2025 (UTC)
VE is known to be buggy, that's why it's still in beta. I never use it because I want to know exactly what I'm altering before I go for "Publish", I don't want hidden extras. --Redrose64 🌹 (talk) 13:19, 5 April 2025 (UTC)
I found a bug report for this problem in the visual editor: T283353.
However, the first two examples are actually in edits made using AWB, which has to be a different problem. Matma Rex talk 20:22, 6 April 2025 (UTC)

Reboot

Lado85, one issue I have frequently seen, especially with folks with technical chops, is a design-based question, rather than a function-based nne. (I have been guilty of this.) This tends to hamstring the responders, who, rather than responding to your underlying issue, are trying to repair your solution. That sometimes works, sometimes not. Your question is semi-design-based, because you are asking how to make '<onlyinclude>' jump the hoops you want it to jump. But what about restating it functionally, to open up the range of possible solutions? Would it be accurate to restate your question as follows?

  • How do I selectively include or exclude certain rows from a table without introducing unwanted rows or white space in the rendered page?

If so, there are solutions, but they do not necessarily involve <onlyinclude> tags. I am of course trying to mind-read your intent by reverse-engineering your design solution, and maybe I got your intent wrong. But I bet if you restate your question functionally, you will arrive at a solution more quickly, and maybe more easily. Cheers, Mathglot (talk) 00:39, 11 April 2025 (UTC)

add button to visual editor

i have a code in my User:Gryllida/common.js that adds a button to the wikitext2017 editor. i would like to add a button to visual editor instead though. could you please suggest an example? it needs to alert('hi') or something similar as i will add a custom function. i checked mw:VisualEditor/Gadgets and it is not particularly enlightening. Gryllida (talk, e-mail) 19:56, 8 April 2025 (UTC)

@Gryllida You could file a ticket on Phabricator but VE doesn't appear to be under active development. The solution is probably similar to T390807. Polygnotus (talk) 20:07, 8 April 2025 (UTC)
Hi Polygnotus, What is active developed if not VE, then? Thanks for the links, I will check them out. (see also: Live Chat Link (#wikimedia-tech connect)) Thanks -- Gryllida (talk, e-mail) 03:29, 9 April 2025 (UTC)
Just to be clear: VE is being actively worked on. E.g. the current Edit Check project is a major new VE feature. DLynch (WMF) (talk) 14:10, 9 April 2025 (UTC)
@Gryllida: Here you go: User:Polygnotus/Scripts/VEbutton.js it adds a star button, if you click on it it says "hello world". Polygnotus (talk) 20:20, 8 April 2025 (UTC)
Thank you @Polygnotus for the example, I will check it out. Gryllida (talk, e-mail) 10:24, 10 April 2025 (UTC)
If you want to be able to define buttons in a JSON file, and use any image instead of only these, you can use User:Polygnotus/Scripts/VEbuttons.js (note: plural!) which loads its configuration from User:Polygnotus/VEbuttonsJSON.json. Please copy them to your userspace; I might mess around with those which might break things. Polygnotus (talk) 21:08, 8 April 2025 (UTC)
See also Wikipedia:User_scripts/Requests#Adding_custom_buttons_to_VE_and_DiscussionTools. Polygnotus (talk) 21:39, 8 April 2025 (UTC)
There's also w:de:Benutzer:Schnark/js/veCustomize, which may or may not work. — Qwerfjkltalk 11:45, 9 April 2025 (UTC)
you can activate the script in the Fliegelflagel configuration German is such a beautiful language. Polygnotus (talk) 11:49, 9 April 2025 (UTC)
Your common.js is adding a button to WikiEditor, not to the 2017 wikitext editor. If it was adding it to the latter, it'd also be added to VE unless you had actively avoided doing so. (E.g. this script that I wrote the other day does that.)
This page may be more helpful since it has some direct examples about how to add a tool to the toolbar: https://www.mediawiki.org/wiki/VisualEditor/Gadgets/Add_a_tool DLynch (WMF) (talk) 13:35, 9 April 2025 (UTC)
Thank you @Qwerfjkl and @DLynch (WMF) I will check them out. Gryllida (talk, e-mail) 10:24, 10 April 2025 (UTC)
@Polygnotus and @Qwerfjkl and @DLynch (WMF) i see it works, how do I implement adding text at cursor position? For example, add 'hi' at cursor position when the button is clicked. Cannot use some simpler methods because the 'hi' will be determined after running a custom javascript subroutine, so it will not always be the same content to add. So it has to be a javascript function to add the text, not an 'encapsulate' type of button or the like. Thank you in advance for your help!!! Gryllida (talk, e-mail) 12:06, 10 April 2025 (UTC)
@Gryllida See User:Polygnotus/Scripts/VEbutton2.js Polygnotus (talk) 12:09, 10 April 2025 (UTC)
So basically:
var surface = ve.init.target.getSurface();
var fragment = surface.getModel().getFragment();
fragment.insertContent('hello world', true);
Documentation is over at https://doc.wikimedia.org/VisualEditor/master/js/
Polygnotus (talk) 12:12, 10 April 2025 (UTC)
Awesome, thanks! I will make use of this and then go back to the API documentation to form a more systematic understanding; appreciate your prompt assistance. :-) Gryllida (talk, e-mail) 12:40, 10 April 2025 (UTC)
@Gryllida Kinda curious what you are building. And for the record, I am no RTFM guy, I just linked the documentation in an attempt to be helpful. Polygnotus (talk) 12:47, 10 April 2025 (UTC)
n:User:Gryllida/js/add-source-in-visual-editor.js (background info: n:Template:Source). Has a few bugs, discussed on script's talk page. Gryllida (talk, e-mail) 13:04, 10 April 2025 (UTC)
I'll respond on that talkpage. Polygnotus (talk) 13:24, 10 April 2025 (UTC)
@DLynch_(WMF) @Gryllida On the English Wikipedia you can use WP:REFVISUAL, specifically this thing (I think that that is the VisualEditor citation tool). Gryllida here is trying to reinvent that wheel, but that would only fix the problem for whoever installs their script so I think the real question is: "Can you please install/enable the VisualEditor citation tool on wikinews.org?".
Looking at User:Diegodlh/Web2Cit/script it looks like this thing uses Citoid, because that script adds web2cit to it, so there is probably a reason the WMF decided to go with Citoid over Web2cit.
It looks like both enwiki and wikinews are using the same version of the Visual Editor enwiki wikinews.
If installing/enabling the VisualEditor citation tool is not an option for some reason then the question is: When you have a button on the VisualEditor in Visual mode, how can you make it actually insert wikicode at the cursor position so that you get to see the parsed result? Polygnotus (talk) 19:34, 10 April 2025 (UTC)
@User:Gryllida It seems likely that a Phabricator ticket is required. Do you want to make one or should I? This says: It is currently deployed in all VisualEditor-enabled WMF-Wikis [1], though the extension is only configured on some of them. Polygnotus (talk) 19:57, 10 April 2025 (UTC)
Hi @Polygnotus
The differences are [at least] that:
1) My home wiki does not use inline citations. The VE utility for adding sources would need to be modified to accommodate that.
2) Source 'publisher' needs to be human readable name, which, when possible, should be possible to link to an English Wikipedia wiki page.
3) As a result, as this would be used on some other wiki, it would need to use the w: prefix for wikilinks.
I am happy to beta test this, if available. Gryllida (talk, e-mail) 04:53, 11 April 2025 (UTC)

Wikipedia down?

Is it just me or did Wikipedia just go down for 30-ish seconds? I could provide screenshots if necessary. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:26, 9 April 2025 (UTC)

It just stopped working for another ~10 seconds just now. This comment itself didn't work the first time due to "[4e2970bf-d02b-40d2-903e-74f84962d144] Caught exception of type Wikimedia\Rdbms\DBUnexpectedError" User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:29, 9 April 2025 (UTC)
DownDetector appears to say a few others are having problems, but I can't tell if it's a site-wide problem. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:30, 9 April 2025 (UTC)
On the main page just now: "
MediaWiki internal error.
Original exception: [5a674d58-d26d-438e-901b-ad12e3582647] 2025-04-09 12:28:10: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
" User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:32, 9 April 2025 (UTC)
I just briefly encountered this error when I tried to preview an edit I was making, but thankfully things have quickly gone back to normal. – MrPersonHumanGuy (talk) 15:11, 9 April 2025 (UTC)
I'm not sure, it seems like every 15 or so Wikipedia pages I've been today on showed the error. Weird thing is, before today I'd never seen it before despite it apparently happening for a few weeks. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 17:08, 9 April 2025 (UTC)
See also https://www.wikimediastatus.net/, which does signal a huge wiki error spike. — Alien  3
3 3
12:34, 9 April 2025 (UTC)
That also signals that it's now going down (300/s vs 700/s at top of spike), so it should settle. — Alien  3
3 3
12:35, 9 April 2025 (UTC)
Hm, that's good, would you happen to know what caused it? User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:36, 9 April 2025 (UTC)
Probably a database error? (DB often stands for that). Don't know more. — Alien  3
3 3
12:39, 9 April 2025 (UTC)
Alright then, well thanks anyways! User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:43, 9 April 2025 (UTC)
This has been going on for a while. The production folks are aware of the problem and are working on it. See T389734 for more info. RoySmith (talk) 13:34, 9 April 2025 (UTC)
I've just tried performing 12 different types of edit. 5 of them came back with the error message. I realise this has been going on for quite a while, but it is becoming increasing impossible to edit Wikipedia. It seems to be getting worse, not better.
The edit I tried to perform include, edits to article talk page, preview edit, edits to an article and so on. Knitsey (talk) 14:25, 9 April 2025 (UTC)
Oh, that's interesting, I just got the error when trying to read pages, I didn't realise it was editing too. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 14:26, 9 April 2025 (UTC)
I noticed on wikipediastatus.net that there have been 2 other large error spikes since the one I originally noticed. Something interesting is that they all seem to correlate with temporary drops in successful edits. I'm not necessarily implying causation but this appears to be having at least some impact on people trying to edit. The one at 10:15 today seemingly temporarily halved the number of successful edits from around 20 to around 10. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 17:23, 9 April 2025 (UTC)
Could someone with a bit more techinical knowledge than me interpret this? I've read through T389734 and it looks like it's something to do with Lua...? I'm a bit confused. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 14:25, 9 April 2025 (UTC)
As I understand it, the root cause is a bug in a low-level library (glibc) which is used by pretty much everything in the universe. The particular path that most commonly tickles the bug is in some Lua code, so the workaround is to disable that bit of Lua. The real fix has to happen in the glibc code, but that will take a while because it has external dependencies (i.e. somebody else manages glibc). In a case like that, you do what you can quickly to make the immediate problem go away. It's kind of like the old joke where you tell the doctor, "It hurts when I do this" and the doctor says "So, don't do that".
It also sounds like the Lua problem is only one of several manifestations of this bug, so the Lua workaround only reduced how often this happens but didn't eliminate it completely. I'm sure the dev folk are working hard on this so best to just give them some space to do what they need to do. RoySmith (talk) 14:45, 9 April 2025 (UTC)
Interesting, alright then. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 14:54, 9 April 2025 (UTC)

Thought I was the only person having issues, that is interesting. And for the record, I did encounter internal errors of the same type, while reading articles, and whilst attempting to go to other articles. Codename AD talk 14:32, 9 April 2025 (UTC)

Pretty sure this is phab:T390510 (see #10725847 and #10726321), T389734 is for a timeout error (caused by a bug), one that was essentially 'fixed' by removing some logging that was making it likely for the bug to happen. – 2804:F1...E8:9AA2 (::/32) (talk) 19:52, 9 April 2025 (UTC)

Oh, thank you. I've read the phabricator page, is there any other info on what's causing this? User:Chorchapu (talk|edits|commons|wiktionary|simple english) 22:58, 9 April 2025 (UTC)
See also phab:T390510#10717702 and #10726260. It's due to an overload after an unexplained spike a) in read requests in one database (not always the same), and b) in connections in all databases. — Alien  3
3 3
06:35, 10 April 2025 (UTC)
Oh, interesting. Seems like I'm obviously a bit ignorant of all the computer talk on the phabricator page. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 12:07, 10 April 2025 (UTC)

Source of request spike has been identified: it was a Growth Experiments script aggressively scanning way too many rows of the database. See phab:T391695. It's been disabled until it gets fixed, so normally this shouldn't happen again. — Alien  3
3 3
15:49, 11 April 2025 (UTC)

Oh, thanks. Glad to see it's been remedied now. User:Chorchapu (talk|edits|commons|wiktionary|simple english) 16:06, 11 April 2025 (UTC)
Excellent, self-DOS. Izno (talk) 16:59, 11 April 2025 (UTC)
I don't think that's entirely fair. These are big complicated systems. Stuff happens. Take a look at the example I gave just below. I made a trivial mistake in my query which caused a 20,000x performance hit. Fortunately, the quarry database is sufficiently isolated from production that I assume I only caused a problem to other quarry users. RoySmith (talk) 17:26, 11 April 2025 (UTC)

Difficulty reading some user pages in Dark Mode

Hello, I use Dark Mode on Wikipedia, and I have noticed that when I try to read certain User Pages, the text on the User Pages does not change color, and so if I want to read the user pages, I have to highlight all of the text to be able to see it. A good example of this is User:Valjean for the majority of text on their User Page. I have experienced the problem on other user pages, but I do not remember which one. Could this please be fixed? If there is somewhere else I should bring this up, please let me know, so I can bring it up in that place. Thank you very much. Fun Chaos (talk) 15:28, 11 April 2025 (UTC)

I have found another page where it is a problem, though less of one: User talk:Keeper76. Fun Chaos (talk) 15:42, 11 April 2025 (UTC)
Users have a lot of flexibility in how they manage and layout their own user pages. You should be able to just toggle dark mode off on the page, that should be much easier than trying to highlight text. — xaosflux Talk 15:45, 11 April 2025 (UTC)
How do I change that or a single page, I see how to change that for all pages, but that is process that involves me going to my preferences and changing it, and then changing it back after I have finished reading the user page. Is there a more efficient process? Fun Chaos (talk) 15:54, 11 April 2025 (UTC)
You can't, but you can toggle it on or off whenever you want, which should be a simpler thing to do than trying to highlight text. There should be a dark mode selector on the appearance menu on the page, if you collapsed that menu look for the symbol that looks like eyeglasses at the top of the screen. — xaosflux Talk 17:50, 11 April 2025 (UTC)
Thank you, found it. This was helpful and I will do that in the future. Fun Chaos (talk) 20:27, 11 April 2025 (UTC)
Generally speaking, anything is permitted on user pages, unless explicitly prohibited by WP:UP#NOT. That section does not mention accessibility, colour, contrast or dark mode. --Redrose64 🌹 (talk) 19:31, 11 April 2025 (UTC)
For what it's worth, the markup on that page is flagged by Linter's night-mode-unaware-background-color option: [22]. Matma Rex talk 21:56, 11 April 2025 (UTC)

VisualEditor is broken for me

I could barely add this topic in, since it uses VisualEditor which is broken for me. More details in this link: [23] (imgur)

Problems with Tables in the paragraph below: Blitzkriegfree (talk) 18:49, 11 April 2025 (UTC)

Have you tried using a different web browser? Or loading in a private window? You could also try disabling any browser extensions that might be interfering. --Chris 06:57, 12 April 2025 (UTC)
Alright, it works on Chrome. I think it's broken for FireFox. Disabling browser extensions, or editing in private mode did not help. I hope it will work again someday.
I will now ping user:Cremastra, as they also expirenced the same issues. {{Ping|Cremastra}} Blitzkriegfree (talk) 12:32, 12 April 2025 (UTC)
That will not have notified anybody, least of all Cremastra, who I have now notified. More at WP:MENTION. --Redrose64 🌹 (talk) 13:51, 12 April 2025 (UTC)
Thanks. Cremastra talk 13:58, 12 April 2025 (UTC)

 You are invited to join the discussion at Wikipedia:Village pump (proposals) §a few standards. Thryduulf (talk) 15:07, 12 April 2025 (UTC)

Hello, does anyone know how to access the article at [24]? The first snapshot, specifically June 21, 2011, is cited on an article, but if it loaded once it doesn't now. Thanks, CMD (talk) 06:48, 3 April 2025 (UTC)

So that people don't waste their time: insource:NewsID=72917. Polygnotus (talk) 14:18, 3 April 2025 (UTC)
That source is as good as dead, because WebArchive seems to have changed its syntax so that the source doesn't show and archive.today redirects to the main page. You can try contacting the WebArchive but I'd simply consider some other sources Szmenderowiecki (talk) 15:00, 3 April 2025 (UTC)
Thanks, a shame but I suppose it is what it is. CMD (talk) 15:19, 3 April 2025 (UTC)
One would think that the article in question ought to be listed in the Express archive for the date claimed in the article, but I don't see an obvious title in that list although in theory, it has to be there, so perhaps it's buried in an article about something else? Sufficient sleuthing through that list might turn it up, but that's a lot of effort for an uncertain result about one citation. Mathglot (talk) 01:04, 7 April 2025 (UTC)
I agree with both of you! As of now, I was evaluating predatory journals by visiting their website and seeing how they advertised themselves. A journal that promises turn around of less than a week, is definitely predatory. It can also be determined by looking at the quality of the papers published in itself. Flyingphoenixchips (talk) 03:32, 11 April 2025 (UTC)
Wrong section? jlwoodwa (talk) 15:48, 12 April 2025 (UTC)
Sorry replied in the wrong section 😭 Flyingphoenixchips (talk) 16:52, 12 April 2025 (UTC)

Active users at Category:User languages

How I can see users from language category that been active in current month? For example, most users at Category:User gsw-4 was active 2-3 or 10 years ago, which is kinda useless information. Eurohunter (talk) 10:46, 13 April 2025 (UTC)

Also the same thing but for those who are members of a wikiproject, ideally weighted to those with the most edits. Polygnotus (talk) 12:54, 13 April 2025 (UTC)
This should probably be moved to WP:SCRIPTREQ or, preferably, WP:BOTREQ. Polygnotus (talk) 13:09, 13 April 2025 (UTC)
True, but I have a database query for users who have done edits in the last three months here. Doesn't notice whether have performed logged actions such as issue thanks or blocking. William Avery (talk) 14:10, 13 April 2025 (UTC)
@William Avery I think that usually people want to know "who should I contact" which means that a user with 1 edit who edited 1 second ago is a worse option than a user with 180.000 edits who edited 3 days ago. Polygnotus (talk) 15:49, 13 April 2025 (UTC)
You can use this script. – DreamRimmer (talk) 17:58, 13 April 2025 (UTC)

Identifying and Removing Predatory Sources

Hey everyone, I was wondering if there are any tools available that could help identify citations that link to PDFs, as many predatory journals often use direct PDF links instead of proper journal indexing. While manually checking for predatory sources is possible, a tool to automate or streamline this process would be really useful. This is a consistent problem in wikipedia, as many articles are out there with almost all predatory sources. For instance, do look at Mizo names. After I removed all the predatory sources, there is only one citation left.

I understand that Special:Linksearch can be used to find citations linking to specific domains, which is helpful for flagging known predatory journals. However, I don’t think there’s currently a way to search for all citations that link to PDFs in general.

Would it be possible to implement such a search function, or has anyone come across a method to filter citations by file type? If not, I’d like to discuss whether this is something that could be proposed at WP:VPT or WP:RSN. Looking forward to hearing your thoughts! — Flyingphoenixchips (talk) 01:29, 3 April 2025 (UTC)

@Flyingphoenixchips: You should check out @Novem Linguae:'s script User:Novem Linguae/Scripts/CiteHighlighter which could help with this task. Polygnotus (talk) 01:49, 3 April 2025 (UTC)
Do you know any other predatory journals? Searching for insource:ijnrd.org and insource:ijsr.net yields 64 results. Polygnotus (talk) 01:52, 3 April 2025 (UTC)
Really cool to say the least. Just downloaded it. There are many predatory journals out there, and as someone working in academia I can for sure say that 99% of times, the citations that leads to pdf of a Journal, is most definitely predatory. This is why I was hoping to search for a tool, that can search the database of wikipedia, to find all citations that link to a pdf. Yes, there are many other predatory journals like http://www.ijst.co.in/ https://tlhjournal.com/ https://ijssrr.com/journal and https://www.mkscienceset.com/. There are many more besides these, and many more that I might not be aware of. This is partly the reason I am interested in this. I did a few clean up of ijnrd.org
But yea the script you shared is quite cool :) installed it Flyingphoenixchips (talk) 02:03, 3 April 2025 (UTC)
@Flyingphoenixchips I don't know how nerdy you are, but AutoWikiBrowser includes a database scanner and I don't think you even need AWB permission to use it. I also have a tool that can search through the dump. Polygnotus (talk) 02:09, 3 April 2025 (UTC)
Could you share the link for it. Much appreciated. Flyingphoenixchips (talk) 02:10, 3 April 2025 (UTC)
WP:AWB. Polygnotus (talk) 02:11, 3 April 2025 (UTC)
Thanks will have a look :) Flyingphoenixchips (talk) 02:12, 3 April 2025 (UTC)
@Flyingphoenixchips The scanner is explained here. If you want someone else to do it you can ask at WP:AWBREQ. Polygnotus (talk) 02:13, 3 April 2025 (UTC)
@Flyingphoenixchips I was too lazy to download a new dump so I used one that I had laying around. A text file containing just the articlename and then the PDF URL is 373MB. There are 3.257.740 URLs that end in .pdf, if you only search articles and only inside ref tags. Polygnotus (talk) 04:27, 3 April 2025 (UTC)
Here is the first MB: https://en.wikipedia.org/w/index.php?title=User:Polygnotus/Flyingphoenixchips&action=edit Polygnotus (talk) 04:34, 3 April 2025 (UTC)
Note that there is also a WP:BLACKLIST which prevents future additions but does not work retroactively. Polygnotus (talk) 05:18, 3 April 2025 (UTC)
Hm, I restricted it to only articles that contain "India" and only references that contain ".pdf" and I get 96.847 results (roughly a 10mb file) most of which are fine. Polygnotus (talk) 14:17, 3 April 2025 (UTC)
Hmm interesting, did you happen to notice links to dubious journals? Flyingphoenixchips (talk) 02:24, 7 April 2025 (UTC)
@Flyingphoenixchips No. You can have a look. This list excludes all articles that do not have a category whose name contains the word "India" and of those it takes the references that contain ".pdf"
https://en.wikipedia.org/w/index.php?title=User:Polygnotus/e437895&action=edit Polygnotus (talk) 02:30, 7 April 2025 (UTC)
I see thanks for sharing Flyingphoenixchips (talk) 02:33, 7 April 2025 (UTC)
Flyingphoenixchips, can you elaborate on this:

I can for sure say that 99% of times, the citations that leads to pdf of a Journal, is most definitely predatory.

That seems dubious, unless you think that, say, all of these citations from Wikipedia articles hosted by JSTOR are all from predatory journals. Citations from the top of that list include articles from: American Historical Review, American Literature, Annual Reports of the Dante Society, Proceedings of the New York State Historical Association, Urban Studies, Science & Society, PMLA, Journal of Marketing Theory and Practice, American Journal of Sociology, and Political Science Quarterly. I couldn't find any that seemed likely to be from a predatory journal before I stopped looking. Or did I miss your meaning? Mathglot (talk) 21:29, 6 April 2025 (UTC)
@Mathglot I searched through the dump for them and my conclusion is that that is not an efficient way of finding predatory journals (even in articles related to India). So we should continue with our approach of searching for the name or domain of the journals.
There appears to be a (somewhat outdated) list here: https://ugccare.unipune.ac.in/apps1/home/index that is comparable to Beall's List. I have mentioned the domains listed in this thread over at Wikipedia:Reliable_sources/Noticeboard#Predatory(?)_journals Polygnotus (talk) 21:38, 6 April 2025 (UTC)
This is valid too. Honestly we can do this, but the problem is- there are so many predatory journals out there, that it will be hard keeping track of all the domains. Flyingphoenixchips (talk) 02:26, 7 April 2025 (UTC)
@Flyingphoenixchips Problem is, there are even more valid links to .pdf files. So keeping track of the domains is the only option we have. Polygnotus (talk) 02:31, 7 April 2025 (UTC)
True Flyingphoenixchips (talk) 02:32, 7 April 2025 (UTC)
What I meant by this, was 100% of the times, predatory journals do not have a doi index, and thus whenever they are cited in Wikipedia, they are cited in the form of a pdf. Does it mean all pdfs are unreliable? Of course no! I was trying to find patterns in order to identify predatory journals, and this was one thing that I had noticed. This is why I brought it up, as a possible method to search for predatory journals Flyingphoenixchips (talk) 02:24, 7 April 2025 (UTC)
Can you contact the people behind https://ugccare.unipune.ac.in/apps1/home/index and ask if we can have their list? https://web.archive.org/web/*/https://ugccare.unipune.ac.in/apps1/home/index Polygnotus (talk) 02:33, 7 April 2025 (UTC) Polygnotus (talk) 02:33, 7 April 2025 (UTC)
https://ugccare.unipune.ac.in/Apps1/User/lr/login
you should be able to access their list, after making an account here. Also not sure if this would help as well, since UGC has been used by predatory publishers to get legitimacy most of the times. Flyingphoenixchips (talk) 02:35, 7 April 2025 (UTC)
@Flyingphoenixchips I cannot even open that site, it just keeps loading forever. We need an Indian equivalent of Beall's List. Polygnotus (talk) 02:36, 7 April 2025 (UTC)
I am not sure if users outside India can access it. I am currently not in the country as well, but since I had made an account here, maybe thats why I still have he access. Well good point. Let me see if I can work on building such a site. Would you be willing to help? Lemme try posting this in Wikiproject:India Flyingphoenixchips (talk) 02:41, 7 April 2025 (UTC)
I am willing to help, but not able, because I know nothing about predatory publishers in India. Posting in Wikiproject:India is a good idea, there may be more people who know about these things. Polygnotus (talk) 02:44, 7 April 2025 (UTC)
Noted :) Flyingphoenixchips (talk) 02:45, 7 April 2025 (UTC)

It can depend on the subject area, but as someone who has been in the academic publishing business for decades as author, editor, and technical manager, I strongly disagree that the absence of a doi is an indicator of being predatory. Getting doi coverage for a journal involves no quality-related test at all. It is just for the asking plus a small fee. The total cost for a whole year of articles is about 1/10 of the typical page charge for one article. It is actually journals which have no cash flow at all which are most likely to not have dois, and they are the least likely to be predatory. Conversely, dois are one cheap way that predatory journals use to make themselves look legit. Zerotalk 10:05, 7 April 2025 (UTC)

@Flyingphoenixchips: As another person who has been involved in academic publishing for decades (as an author and peer reviewer), I agree with Zero's statement above. There are lots of older or smaller independent journals that are completely legitimate and peer reviewed but do not have DOIs or similar registrations. This is especially true of niche zoological and botanical journals. I'm curious how you are distinguishing between those and predatory journals. Nosferattus (talk) 00:13, 11 April 2025 (UTC)
I agree with both of you! As of now, I was evaluating predatory journals by visiting their website and seeing how they advertised themselves. A journal that promises turn around of less than a week, is definitely predatory. It can also be determined by looking at the quality of the papers published in itself. @Nosferattus Flyingphoenixchips (talk) 18:10, 13 April 2025 (UTC)
As someone that's dealt with predatory journals, the best way to find them used on Wikipedia is probably WP:CITEWATCH (pages 2+ especially, page 1 has a lot of corner cases). I also maintain the WP:UPSD script. That said
  1. Lack of DOI, especially for new journals published after 2000, is a fairly strong sign that a journal might be predatory. Older journals without DOIs just might not have been online and stopped publishing. Of course plenty of exceptions exist.
  2. Plenty of predatory journals have DOIs. When that's the case, it's often with a DOI prefix over 10.10000+/.... Of course plenty of exceptions exist. OMICS for example, has a DOI prefix of 10.4172/...
  3. Having a PDF is completely irrelevant either way.
Headbomb {t · c · p · b} 19:15, 13 April 2025 (UTC)

Template:Chem generating line breaks

Hi,

the {{chem}} template currently generates HTML that includes line breaks:

<span class="chemf nowrap">CO<span class="nowrap"><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1em;font-size:80%;text-align:left"><sup style="font-size:inherit;line-height:inherit;vertical-align:baseline"></sup><br /><sub style="font-size:inherit;line-height:inherit;vertical-align:baseline">2</sub></span></span></span>

So when one copies and pastes from a Wikipedia article into plaintext, one gets results like this (from Naked mole-rat § Metabolism and respiration where I noticed it):

It can live in an atmosphere of 80% CO
2 and 20% oxygen.

That's a bit annoying and surely avoidable, as the {{chem2}} template does not have the same quirk. Could someone who knows what they're doing take a look? Cheers!

- 2A02:560:4D16:1800:9905:C7AA:90CA:BB25 (talk) 16:19, 12 April 2025 (UTC)

Generated by Module:Su. Izno (talk) 17:28, 12 April 2025 (UTC)
See Template:Su#Line breaks. — Qwerfjkltalk 17:53, 12 April 2025 (UTC)
Thanks, both! I looked at the code for both templates, and the difference stems from these two approaches to stacking super- and subscripts, AFAI can tell:
  • {{chem}}, via the invoked module
    • generates (without the text formatting) SO<span style="display:inline-block"><sup>2-</sup><br /><sub>4</sub></span>
    • which displays as (with the text formatting) SO2−
      4
    • and plaintext-pastes as SO2−
      4
  • {{chem2}}
    • generates SO<span style="display:inline-block"><span style="display:block">2−</span><span style="display:block">4</span></span>
    • which displays as SO2−4
    • and plaintext-pastes as SO2−4
- 2A02:560:4D16:1800:9905:C7AA:90CA:BB25 (talk) 18:53, 12 April 2025 (UTC)
Why is {{su}} implemented in a module? The module seems to provide functionality that could be trivially implemented in wikitext. 86.23.109.101 (talk) 21:15, 13 April 2025 (UTC)
See Template talk:Su#Conversion to Lua. * Pppery * it has begun... 21:33, 13 April 2025 (UTC)

Modern JavaScript is an error?

If you look at for example User:Andrybak/Scripts/Contribs ranger.js then Wikipedia claims that script contains 129 errors.

Is the thing that checks for errors very outdated? It may be JSHint and I don't see any releases post 2022.

If so, can we change the CodeEditor to use something more modern?

I see T250315 so I'll ping @ESanders (WMF):. Polygnotus (talk) 13:05, 13 April 2025 (UTC)

Running ESLint is technically possible but quite complex, I'm not sure who will be able to prioritise it in the near future. ESanders (WMF) (talk) 16:27, 13 April 2025 (UTC)
@ESanders (WMF) This is not the worst problem ever™, but it can be quite annoying when messing about with JavaScript because JSHint keeps warning you of errors that do not exist. Is there maybe an alternative to ESLint that is easier to implement? Polygnotus (talk) 18:07, 13 April 2025 (UTC)
It may be (?) related to the fact that what's here signaled are private identifiers, which are added in ECMA2026. — Alien  3
3 3
19:46, 13 April 2025 (UTC)
The most recent version supported is ES 2016, see phab:T381537. Snævar (talk) 07:50, 14 April 2025 (UTC)
If by errors you mean when you go to edit the page, which no one else can, that is strictly identified by the syntax highlighter, which in this case is Ace AFAIK. It simply has not been updated for newer syntaxes yet. (Such issues are relevant when editing CSS as well, e.g. phab:T263852.) The final says on whether a script is valid is the ResourceLoader checker + minifier, for when a script is loaded as a gadget, and your browser.
My understanding, based on conversation with a relevant volunteer dev, is that phab:T250315 is particularly difficult, and that Ace does not provide the necessary APIs so it would be a lot of developer overhead to support something like that.
Ace may be removed in favor of CodeMirror at some date, see e.g. activity with phab:T373711. Izno (talk) 22:20, 13 April 2025 (UTC)

Range block calculator?

I used to use this tool to calculate IP ranges for potential blocks, but now I'm getting a 'not found' error. Has it moved, or been replaced with something else, or just died a dignified natural death, does anybody know? Thanks, Justlettersandnumbers (talk) 19:46, 14 April 2025 (UTC)

@Justlettersandnumbers: https://nativeforeigner.com/calc/ GMGtalk 19:49, 14 April 2025 (UTC)
{{IP range calculator}} also exists. Izno (talk) 20:24, 14 April 2025 (UTC)
It looks like the original moved to https://ftools.toolforge.org/general/ip-range-calc.html (and the template that Izno links to has a "See also" link to an alternative at https://galaxybots.toolforge.org/iprangecalculator, and via m:Toolhub there's yet another alternative at https://iprange.toolforge.org/) HTH. Quiddity (talk) 20:29, 14 April 2025 (UTC)

Tech News: 2025-16

MediaWiki message delivery 00:21, 15 April 2025 (UTC)

Regarding the first item about the default thumbnail size, please see Wikipedia talk:Image use policy#Displayed image size. --Redrose64 🌹 (talk) 08:07, 15 April 2025 (UTC)

Prosesize

Prosesize has stopped working for me, all articles reading as 0b. Have cleared cache and tried through another browser, and in incognito mood. Still all articles showing as 0b. Thanks Hildreth gazzard (talk) 19:54, 9 April 2025 (UTC)

@Hildreth gazzard It works fine for me. I installed it with Preferences → Gadgets → Browsing → Prosesize and then I went to a random article and clicked the "Page size" option in the tools menu and it says:
HTML document size: 143 kB
Prose size (including all HTML code): 5956 B
References (including all HTML code): 9977 B
Wiki text: 23 kB
Prose size (text only): 3312 B (575 words) "readable prose size"
References (text only): 912 B
What browser and device are you using? Do you see an error in the browser console? Polygnotus (talk) 20:00, 9 April 2025 (UTC)
Yes, I did that, installed it with Preferences → Gadgets → Browsing → Prosesize on an
iphone and it was working fine. It just stopped the last few hours. No error message. It shows HTML document size and Wikitext size, but all other values are blank Hildreth gazzard (talk) 20:16, 9 April 2025 (UTC)
For example: this is what it shows for the Mandarin duck
Document statistics (more information):
HTML document size: 212 kB
Prose size (including all HTML code): 0 B
References (including all HTML code):50 kB
Wiki text: 27 kB
Prose size (text only): 0 B (0 words) "readable prose size"
References (text only): 5751 B Hildreth gazzard (talk) 20:18, 9 April 2025 (UTC)
@Hildreth gazzard You could try User:Polygnotus/Scripts/ProseSize.js Polygnotus (talk) 20:19, 9 April 2025 (UTC)
Hi, I was having the same issue with prosesize (although in my case it's been down for over a year and displays no output at all after freezing). I tried your script and it worked, but would it be possible for the output to be displayed with greater accuracy i.e. the number of bytes instead of just 2 kB or 3 kB? AryKun (talk) 11:47, 15 April 2025 (UTC)
@AryKun Sure, I updated it to show both. Polygnotus (talk) 11:56, 15 April 2025 (UTC)
If you go to User:Hildreth gazzard/common.js and add the following text: {{subst:iusc|User:Polygnotus/Scripts/ProseSize.js}} then you should get a "Calculate prose size" option in the Tools menu. Polygnotus (talk) 20:26, 9 April 2025 (UTC)

The official gadget (MediaWiki:Gadget-Prosesize.js) uses a Toolforge thing under the hood. A request would look like https://prosesize.toolforge.org/api/en.wikipedia.org/Foobar but if that isn't available there is a fallback so I am surprised that it does not work. Polygnotus (talk) 12:22, 15 April 2025 (UTC)

Quarry queries don't run

Hi, when I try to run my queries on https://quarry.wmcloud.org/, I get a pop-up message that is very long (which for some reason I can't copy) and eventually a message that states

Error
This web service cannot be reached. Please contact a maintainer of this project.
Maintainers can find troubleshooting instructions from our documentation on Wikitech.

I filed a bug report but I was hoping another editor might have more familiarity with Phab and filing tickets. Liz Read! Talk! 00:10, 17 April 2025 (UTC)

It looks like this problem might be resolved. But I'll leave it here as a report. Liz Read! Talk! 01:09, 17 April 2025 (UTC)

Technical concern about wikis using Wikipedia content.

Where can we report suspicious activity in terms of site using Wikipedia content? There is one site that may be a cybersecurity risk for unsuspecting users. Starlighsky (talk) 22:38, 16 April 2025 (UTC)

@Starlighsky Use of Wikipedia trademarks to mislead should be reported to the WMF legal team at legal-tm-vio@wikimedia.org. Security issues relating to MediaWiki or Wikimedia Foundation infrastructure should be reported to security@wikimedia.org or by using this Phabricator form. General threats to the safety of contributors can be reported to the WMF Trust and Safety team at ca@wikimedia.org. If you're unsure, feel free to email me and I can help route your concerns. AntiCompositeNumber (talk) 23:59, 16 April 2025 (UTC)
@Starlighsky: Is this a case of reusing our content without attribution? See Wikipedia:Reusing Wikipedia content and wmf:Wikimedia Foundation Terms of Use. --Redrose64 🌹 (talk) 12:46, 17 April 2025 (UTC)
The site is in another language, and I don't know if they are or are not. I want to avoid the site due to the cybersecurity issues that I suspect are on the site. I emailed the issue and the language that the site was written in. Ideally, there is a cybersecurity professional who can look at the site. I discovered the site after a search for a specific topic. I recognized the content as a Wikipedia article, which I can explain later if needed. The site does see it is not affiliated with Wikimedia. That is all I know. Starlighsky (talk) 13:02, 17 April 2025 (UTC)

A technical issue

I’d like to mention an issue I’ve just recently noticed. Not serious, nonetheless inaccurate.

Something seems to be amiss with the algorithm that displays the longest stretch of consecutive days of Wiki editing that we’ve done. For a long time, my count used to be 27. Now it’s 18. This means others’ counts could similarly be affected.

Augnablik (talk) 09:00, 16 April 2025 (UTC)

@Augnablik: The information icon at Special:Impact/Augnablik says: "This metric will only reflect editing streaks included in the most recent 1,000 edits." I assume your longer streak became older. PrimeHunter (talk) 10:06, 16 April 2025 (UTC)
Oh, then sorry I didn’t notice. But I’m surprised. Not that I really care about this, but it does seem a little odd that the clock is started every X number of days.
I have one more clock-related technical issue to report: there’s a place where the number of years we’ve been Wikipedians is shown, and my count has appeared as 3 years for several months now — even though that won’t actually be till the 2nd or 3rd week of June. Augnablik (talk) 10:40, 16 April 2025 (UTC)
@Augnablik: I think the impact data makes a search for the longest streak each time it's viewed and the limit is for performance reasons. Where do you see 3 years? Special:CentralAuth/Augnablik says 2 years. PrimeHunter (talk) 11:01, 16 April 2025 (UTC)
I don't think the number that's shown in regard to my 2nd question has anything to do with performance but just time as a Wiki editor. To answer your question about where I've seen 3 years, I don't recall now exactly where that was ... all that I recall is that it's fairly often. The next time I see it, I can return here and say. Or perhaps another editor will come along and say where that is. Augnablik (talk) 11:39, 16 April 2025 (UTC)
The mobile version of your user page says "Joined 3 years ago": [29]. Matma Rex talk 20:39, 16 April 2025 (UTC)
User:Fsalas87 currently says "Joined 2 years ago" (created 17 October 2022). User:PoDawg42 says 3 years (created 16 October 2022). So the feature rounds to the nearest integer. I think that's OK with the given formulation. It would be different to say an account is 3 years old if it's only 2.5. PrimeHunter (talk) 21:26, 16 April 2025 (UTC)
But PrimeHunter, my account did consistently show me as being 3 years with Wikipedia when it was only 2.5 years — last fall. And now that there are discrepancies between what several different editors see, this makes it more likely that there are bugs in the calculation.
At any rate, I don't think rounding is a good idea for reporting our "Wiki age." Aside from simple accuracy, another reason is that those of you senior editors who help newer editors might at times want to get a clearer idea of the time we've been involved with Wikipedia, irrespective of # of our contributions. Augnablik (talk) 04:25, 17 April 2025 (UTC)
@Augnablik: Your account became 2.5 years old on 15 December 2024. I doubt it rounded to 3 before that. Rounding#Rounding to the nearest integer is a very common rounding method. It's rarely used when we say how old a person is but "Joined 3 years ago" doesn't say "old" or "age", and it doesn't describe a person but an event. I think rounding to nearest integer is OK there. Initially your mobile user page [30] actually says "Joined 15 June 2022" but it's changed by JavaScript after page load. I guess the script makes its own calculation and doesn't look up the number somewhere. It also runs in safemode [31] and at other wikis so a requested change should be at phab: (see WP:PHAB). It could point out that Special:CentralAuth/Augnablik rounds down to 2. I'm OK with either rounding method but they should probably use the same method although I wouldn't call it a bug. The mobile message is made with MediaWiki:Mobile-frontend-joined-years but it's called with 3 for you [32] and not a date or decimal age so we cannot change it locally. PrimeHunter (talk) 10:05, 17 April 2025 (UTC)
I have created phab:T392208: "Mobile user page should round down account age like CentralAuth". PrimeHunter (talk) 10:40, 17 April 2025 (UTC)
Thank you for that fix, PrimeHunter. I guess I can go on living without the other fix that I was hoping for, as there are other things in the world in greater need of fixing.
As for my recollection of what was shown as my account age some months ago, I can only say that’s what I recall. Memory can, of course, play tricks on us, and I can’t claim infallibility. Now that I’m aware that after 6 months that number will be rounded up 😢, I’ll re-check. Augnablik (talk) 13:10, 17 April 2025 (UTC)

Automating argument between template and module, and finding out template name

Hi everyone,

Two questions into one today. Here is my situation.

  • I have a module that I can call with {{#invoke:module_name|main|arg1|arg2}} with arg1 being either foo or bar; and
  • I want to have two templates calling this module, where:
    • {{template foo|arg}} calls {{#invoke:module_name|main|foo|arg}}, and
    • {{template bar|arg}} calls {{#invoke:module_name|main|bar|arg}}.

So the idea is that each template implicitly provides the module with arg1 without the user having to write it. How do I do that?

Secondly, when I am using the module's functions, what is an easy to get the name of the module that called it? I would use this for error messages.

Thanks! Julius Schwarz (talk) 09:46, 16 April 2025 (UTC)

If I understand what it is that you want to do, you can hard-code foo and bar in the template wikitext as named parameters: |foo=<value> etc – this is probably the simplest. No doubt there are more complex ways to do what I think you want to do.
To get the name of the invoking module: frame:getTitle(); and similarly, to get the name of the calling template: frame:getParent():getTitle().
Trappist the monk (talk) 13:21, 16 April 2025 (UTC)
As TtM said, {{#invoke:module_name|main|foo| {{{arg|}}} }} should work.
If {{{arg}}} is a number of arguments, you can also make use of one or both of the following two tables (mw:Extension:Scribunto/Lua_reference_manual#frame.args):
  • local targs = frame:getParent().args --template arguments in template call
  • local margs = frame.args --module arguments in #invoke
Ponor (talk) 14:03, 16 April 2025 (UTC)
Thank you @Trappist the monk and @Ponor for your help. TtM knows it takes me a bit to get these things :) I have tried and it is not yet working. Here is the template and here is what it gives.. :S Julius Schwarz (talk) 07:28, 17 April 2025 (UTC)
@Julius Schwarz: check this. Ponor (talk) 07:37, 17 April 2025 (UTC)
Like magic!! thank you so much! And, if I got this right, we only need to do the {{}} for unnamed arguments, right? Julius Schwarz (talk) 07:41, 17 April 2025 (UTC)
I am not familiar with the module itself. But if there are named params, I'd assume you need to add translations like namedOne={{{namedOne|}}} to the template's code, for all the named ones you need. Make a test case and I'll show you, if needed. Ponor (talk) 08:16, 17 April 2025 (UTC)
Just saw your second test case. The module seems smart enough (by calling another module) to get the named params without any mapping. You're good to go! Ponor (talk) 08:34, 17 April 2025 (UTC)
Yes it seems all in order and the examples are working great. Thank you so much! Julius Schwarz (talk) 09:16, 17 April 2025 (UTC)
@Julius Schwarz If it were me, I would just make it so {{template foo|arg}} calls {{#invoke:module_name|foo|arg}} and {{template bar|arg}} calls {{#invoke:module_name|bar|arg}}. p.foo(frame) and p.bar(frame) can just be wrappers that call p.main(type, frame). --Ahecht (TALK
PAGE
)
20:22, 17 April 2025 (UTC)

AfC templates with wrong timestamp

Normally, {{AfC submission}}'s |ts= takes the form |ts=YYYYMMDDhhmmss. But I've been coming across some drafts that have the ts param in the format generated by ~~~~~ (e.g. "00:00, 1 January 1970 (UTC)"). This shouldn't be happening, and breaks the template.

Does anyone know what is causing this? I wanted to code up a bot to fix all these, but this search only turns up a few results. ~ Rusty meow ~ 03:48, 16 April 2025 (UTC)

You can include cases with AFC by making the regex case insensitive with i at the end.[33] I haven't worked out how it might happen. We could ask somebody who did it. @Domagoj Klarić: Do you remember how you made this edit? You may have copied code with subst from somewhere. PrimeHunter (talk) 15:34, 16 April 2025 (UTC)
@PrimeHunter: What I'm noticing is that we have two forms of this "incorrect timestamp" template: One is {{AfC submission|||ts=...}}, which renders a "submitted for review" template, but there's also {{AfC submission|d|ts=...}}, rendering a "submission declined" without a reason. ~ Rusty meow ~ 14:53, 17 April 2025 (UTC)
@Rusty Cat Per Wikipedia talk:WikiProject Articles for creation#Messed up templates, this seems to be caused by people getting instructions on submitting an article from ChatGPT. --Ahecht (TALK
PAGE
)
20:24, 17 April 2025 (UTC)

Why are infobox image sizes huge now?

See Mario Vargas Llosa and Margaret Thatcher, for example. This really isn't an improvement. ‑‑Neveselbert (talk · contribs · email) 01:30, 17 April 2025 (UTC)

See the weekly highlight above in § Tech News: 2025-16 jlwoodwa (talk) 01:35, 17 April 2025 (UTC)
This is clearly a bug. This change should only affect thumbnails, not infobox images. ‑‑Neveselbert (talk · contribs · email) 01:36, 17 April 2025 (UTC)
I thought it was for all images. We were having trouble with some images loading because of issues with the thumbnails. The image has to be resized to fit in the infobox. Hawkeye7 (discuss) 02:02, 17 April 2025 (UTC)
There was no consensus here to increase the default size for all images, only for thumbnails. ‑‑Neveselbert (talk · contribs · email) 02:13, 17 April 2025 (UTC)
The templates should be updated then, they just follow the default setting. Sjoerd de Bruin (talk) 08:32, 17 April 2025 (UTC)
For Vargas Llosa, if I am reading the template code at {{infobox writer}} correctly, the image is being assigned the default size of frameless, which renders the image at the default thumbnail size width. That width was just increased from 220px to 250px, per the tech note above, after that change had been requested for many years. I see the image rendering at 250px, which means that things are working as designed. (Here are archive.org snapshots of the pages yesterday, 220px image and today, 250px image.) If you are seeing something that does not appear to be working as designed, please describe it here. – Jonesey95 (talk) 14:52, 17 April 2025 (UTC)
Also, the RFC from January 2024, linked to above, says This bifurcated discussion finds a strong consensus to increase the default thumbnail size on English Wikipedia to 250px.Jonesey95 (talk) 14:59, 17 April 2025 (UTC)
Infobox images are not thumbnails though. They use frameless, not thumb. ‑‑Neveselbert (talk · contribs · email) 19:16, 19 April 2025 (UTC)
@Neveselbert: Yes, but as noted elsewhere in this section (twice), the width used for |frameless is the same as the width used for |thumb. See demo at Wikipedia:Sandbox, preferably when logged out. --Redrose64 🌹 (talk) 20:42, 19 April 2025 (UTC)
In which case, the width used for frameless should be restored to 220px pending consensus. ‑‑Neveselbert (talk · contribs · email) 21:55, 19 April 2025 (UTC)
@Neveselbert: They're not independent settings, and AFAIK, never have been. A configuration change for |thumb has been carried out (on 17 April), as a consequence of which the with for |frameless necessarily had to follow suit. If you want them to be divorced, you need to file a ticket at phab:. --Redrose64 🌹 (talk) 23:47, 19 April 2025 (UTC)
Infobox images are thumbnails, are they not? I had my thumbnail size set to 300px in Special:Preferences#mw-prefsection-rendering-files for years, and it always affected infoboxes too. Matma Rex talk 21:12, 17 April 2025 (UTC)
Some are set to use frameless and some are set to fixed pixel sizes. Some other common infobox graphics, like maps, can't be set to use the reader's thumbnail size preference, so some editors have chosen to use fixed sizes for images to match the width of maps. – Jonesey95 (talk) 23:02, 17 April 2025 (UTC)
It is even less of an improvement in the case of non-free images like film posters, which are compressed and consequently lack the clarity and detail necessary for comfortable viewing at this higher resolution. Οἶδα (talk) 09:55, 17 April 2025 (UTC)
Please link to an example article. Maybe we need to adjust our maximum acceptable size for non-free images. That would be a discussion for a different page. – Jonesey95 (talk) 14:52, 17 April 2025 (UTC)
Honestly, most of them. Though many are worse than others. I realise this is an issue with the files themself but it remains that this change renders these posters looking worse. Comparing png files like the ones at Boyhood (2014 film), Drugstore Cowboy or Good Will Hunting, which are far crisper, or high-res Commons photos like the ones appearing at M*A*S*H (film) or Seven Samurai, to the jpg at Short Cuts, you should see what I mean. Viewing that thumbnail at the original resolution looks better to my eyes. To a lesser extent, the one at Pulp Fiction. Must it be expanded to fill the infobox? Of course this is my opinion and I am not suggesting any actions. But 250px looks worse to my eyes for most posters. Οἶδα (talk) 22:04, 17 April 2025 (UTC)
I remember predicting this exact situation when the non-free content policy, limiting the size, was made. —TheDJ (talkcontribs) 22:48, 17 April 2025 (UTC)
The Short Cuts poster is 19KB and looks like it has been over-compressed. The previous infobox default was reducing it from 255px to 220px wide, and now it is being reduced to 250px, which highlights the over-compression. Someone needs to upload a better-quality image. The Good Will Hunting image is the same pixel size but is 231KB. That's probably why it looks better. – Jonesey95 (talk) 23:02, 17 April 2025 (UTC)
@Jonesey95 Film posters should be resized to 0.1 megapixels, which, for a standard 3:2 poster, means 258x387 (although they generally range from 254x393 to 260x384). We don't need to update the maximum size, but rather set the resizing bot to prefer a width of 250px if the final image is going to be close to that value to avoid unnecessary rescaling. --Ahecht (TALK
PAGE
)
20:38, 17 April 2025 (UTC)
It depends upon the infobox. Some are coded to use a specific size; others are coded for the frameless type, which should read the user's preferences. No infobox should be coded to use the thumb type, because of the extra borders that produces. --Redrose64 🌹 (talk) 21:35, 17 April 2025 (UTC)
BTW, i’ve been running with a default of 300px for years now, which is even bigger. —TheDJ (talkcontribs) 22:53, 17 April 2025 (UTC)

Frooti page infobox parts not working

Headquarters and countries served are in the code of the infobox but aren't showing please fix this Depotadore (talk) 17:01, 19 April 2025 (UTC)

Infobox parameters have to be implemented in the used infobox template. Frooti uses Template:Infobox Beverage which has no such parameters so they are ignored. See the template page for supported parameters. PrimeHunter (talk) 18:24, 19 April 2025 (UTC)
Thanks now im gonna fix it Depotadore (talk) 02:47, 20 April 2025 (UTC)

I have the time enabled in preferences - should show UTC +1 for DST but doesn't

Can I fix this? Doug Weller talk 16:21, 19 April 2025 (UTC)

where are you not seeing it? Contributions, watchlist or somewhere else? Nthep (talk) 16:43, 19 April 2025 (UTC)
I see the time, it’s in the upper right corner. But it is in UTC, amd should be one hour forward for Daylight Saving Time. It shows 17:16 instead of 18:16 Doug Weller talk 17:17, 19 April 2025 (UTC)
My watchlist is ok, but I sign as though it’s only 17 :17 Doug Weller talk 17:18, 19 April 2025 (UTC)
UTC has no concept of daylight saving time. --Redrose64 🌹 (talk) 18:12, 19 April 2025 (UTC)
@Doug Weller: If you see time in the upper right corner then you probably enabled "Add a clock to the personal toolbar that displays the current time in UTC" at Special:Preferences#mw-prefsection-gadgets. It's meant to be UTC as it says. Signatures are saved as wikitext in UTC but you can enable "Change UTC-based times and dates, such as those used in signatures, to be relative to local time" at Special:Preferences#mw-prefsection-gadgets. The timezone preference at Special:Preferences#mw-prefsection-rendering is only for time logs like in the watchlist, page histories and user contributions. PrimeHunter (talk) 18:18, 19 April 2025 (UTC)
@Doug Weller: If it's the clock then add window.LiveClockTimeZone = 'Europe/London'; //LiveClock timezone settings to your common.js page. That should make it display BST for you now and it will autocorrect when the clocks go back. Nthep (talk) 18:33, 19 April 2025 (UTC)
Thanks, fixed now. Doug Weller talk 08:38, 20 April 2025 (UTC)

Layout screwed up

I have no idea how to fix this. Have tried muzzalaynees thangs, no go. SergeWoodzing (talk) 17:17, 20 April 2025 (UTC)

If you go to the "View history" page, you can see a list of the edits. Click on the previous version in the left column of dots and the latest version in the right column of dots, then click "Compare selected versions". From that screen, you can see the changes that you made and click the "undo" link to restore the previous version. I did it for you this time. – Jonesey95 (talk) 17:35, 20 April 2025 (UTC)
The previous was even worse. SergeWoodzing (talk) 18:08, 20 April 2025 (UTC)
@SergeWoodzing: Regarding [34], {{stack}} should only be used around right-floating elements. If they are not consecutive in the source then move them. This works. PrimeHunter (talk) 20:50, 20 April 2025 (UTC)

Unable to access Newspapers.com

As you see on this page, I've reported that I've lost access to Newspapers.com in the Wikipedia Library. As reported there, I originally lost access early last year when Newspapers.com made some sort of change and I was granted access that was to expire November 17 of this year. I've reapplied anyway, but I've heard nothing in about a week. What should I do to regain access? Oona Wikiwalker (talk) 20:55, 20 April 2025 (UTC)

Conditional highlighting in a table

This clever edit causes the most relevant line to be highlighted, e.g., in Butter#Nutritional information. However, in Shortening, to which Vegetable shortening redirects, the relevant line is not highlighted, because it's not at the "Vegetable shortening" page (not all shortenings are vegetable shortenings, but most of them are). Could someone please hard-code the page name "Shortening" into this template? WhatamIdoing (talk) 02:15, 20 April 2025 (UTC)

@WhatamIdoing:  Done All that was needed was this edit. --Redrose64 🌹 (talk) 08:06, 20 April 2025 (UTC)
Thanks. WhatamIdoing (talk) 21:10, 20 April 2025 (UTC)

Eileen Kelly title italicised

The title for Eileen Kelly appears to be automatically italicised for me on my mobile device; this seems to have happened when the podcast infobox was added to the article. Can anyone help? GnocchiFan (talk) 13:12, 20 April 2025 (UTC)

The problem was that the podcast infobox ({{Infobox podcast}}) automatically italicizes the article’s title (since it assumes it’s on the article of a podcast). I’ve fixed this by adding | italic title = no to the template.
Hope this helps!
— Daℤyzzos (✉️ • 📤) Please do not ping on reply. 13:45, 20 April 2025 (UTC)
The problem is having an infobox at the top of the page for a sub section two-sentence long. Gonnym (talk) 18:26, 20 April 2025 (UTC)
Thank you very much! GnocchiFan (talk) 11:11, 21 April 2025 (UTC)

Tech News: 2025-17

MediaWiki message delivery 20:57, 21 April 2025 (UTC)

Issue using labeled section transclusion (LST)

At List of Vikings episodes, I have <section begin=Amazon6B />{{efn|The second half of the sixth season concluded on December 30, 2020, when it was released in its entirety on Amazon Prime Video in select countries, ahead of its standard broadcast on History in Canada from January 1 to March 3, 2021.}}<section end=Amazon6B />. At Vikings (TV series) (and other articles), I'm trying to use {{#lst:List of Vikings episodes|Amazon6B}} to use the same note without duplicating it through transclusion, but it is returning empty (see the source code for this post, I'm using that same code after the colon: [a]). What appears to be the issue? -- Alex_21 TALK 23:46, 21 April 2025 (UTC)

@Alex 21: List of Vikings episodes#Series overview uses <onlyinclude>...</onlyinclude> to control transclusion at Vikings (TV series)#Broadcast. It means {{#lst:List of Vikings episodes|Amazon6B}} also only sees the part inside <onlyinclude>...</onlyinclude>. onlyinclude is the standard method used to transclude such a series overview from an episode list to the main article about the TV series. Article content is rarely transcluded so it doesn't usually cause a conflict. PrimeHunter (talk) 01:12, 22 April 2025 (UTC)
Solved, thank you for that! -- Alex_21 TALK 02:14, 22 April 2025 (UTC)

References

  1. ^ The second half of the sixth season concluded on December 30, 2020, when it was released in its entirety on Amazon Prime Video in select countries, ahead of its standard broadcast on History in Canada from January 1 to March 3, 2021.

Need ui scripting help

so I have been building an application to check suspicious links. I want it to list all external links on the page on a menu like twinkle but I don’t understand how to implement 00ui more than the alert menus. Any help would be appreciated •Cyberwolf•. talk? 14:20, 22 April 2025 (UTC)

@Cyberwolf You can take a look at User:Ahecht/Scripts/pageswap-core.js (starting at about line 1305) for an example of how I populate the psReasonList and psWatchExpiry and in an OOUI form, but honestly for drop-down lists I much prefer to use something like Select2, like I do in the showRcatDialog() function of that script, or jquery.chosen, like I do in User:Ahecht/Scripts/draft-sorter.js. --Ahecht (TALK
PAGE
)
15:39, 22 April 2025 (UTC)

XTools down?

Trying to reach edit statistics for another editor on XTools, and it timed out several times. Here's the url for my edit statistics, also timing out. Mathglot (talk) 06:41, 21 April 2025 (UTC)

Yep. down Andre🚐 06:52, 21 April 2025 (UTC)
Same thing for me - no edit stats. — Maile (talk) 11:06, 21 April 2025 (UTC)
Everything is working now. — Maile (talk) 16:27, 21 April 2025 (UTC)
@Maile66: It still is not working for me, are you sure that it was fixed? Catfurball (talk) 17:24, 21 April 2025 (UTC)
Well. mine is working. I was initially referring to the edit stats for individual articles as well as the overall stats for individual editors. — Maile (talk) 18:29, 21 April 2025 (UTC)
@Maile66: It gave me this message: Your access to XTools has been blocked due to apparent abuse or disruptive automation. I find this to be very weird, since I edited last week with no trouble. And I have no need to edit XTools, so I do not understand why I am being blocked. Also the village pump over their did not even talk about me. Catfurball (talk) 19:01, 21 April 2025 (UTC)
Were I to guess, your IP is being used as a proxy (and you may not know it). Izno (talk) 19:08, 21 April 2025 (UTC)
Update from the relevant task (phab:T384711): as the other times XTools went down, it was the fault of bot(s) making way too many queries and making the service run out of disk space.
The issue is that this bot is IP-hopping, so blocking only it was not straightforward.
I've reported the false positive. Maybe the blocking filter can be tweaked, who knows. — Alien  3
3 3
19:24, 21 April 2025 (UTC)
I have removed the block as the disruptive bots seem to have stopped for now. @Catfurball You shouldn't be seeing that message anymore. Sorry about that.
I'm not sure what to do long-term. A permanent solution is to always require login, then bad botz go bye-bye once and for all. But then everyone has to login, which I know is annoying, especially with known issues such as phab:T224382.
Apologies for the inconvenience, everyone. MusikAnimal talk 19:35, 21 April 2025 (UTC)
OAUTH worked for the copyvio bot. Izno (talk) 19:38, 21 April 2025 (UTC)
Alternatively, could require login just when you need to deflect the bad bots, or require login just when it appears someone is a bad bot (like what WMF is doing now I guess for login). Izno (talk) 19:39, 21 April 2025 (UTC)
Blocked again, within the last 2-3 hours. Hushpuckena (talk) 03:32, 22 April 2025 (UTC)
Yes, sorry. The flood of bot(s) came back again and I had to do the quick fix. I'm afraid even adding an OAuth login wall won't fix the problem. The sheer volume of automated traffic coming in necessitates blocking traffic at the server level. I will work with some folks to get this sorted out as soon as possible. In the meantime, using a different browser might help. MusikAnimal talk 04:20, 22 April 2025 (UTC)
Thanks; guess I will just sit on my hands till matters resolve themselves. Hushpuckena (talk) 07:21, 22 April 2025 (UTC)
@Hushpuckena Can you try again now? MusikAnimal talk 20:20, 22 April 2025 (UTC)
I put a proof-of-work CAPTCHA on my tools. Chances are the bot cannot execute JavaScript, and if it can you can slow them down quite a bit. MER-C 19:04, 22 April 2025 (UTC)
Despite what I said above, it appears the main issue is the volume of requests (up to 300+ a second). XTools was actually doing its job of preventing the bots from running any queries, for those few requests that actually managed to make it to the application layer.
Anyway, I think I've got it mostly resolved now. MusikAnimal talk 20:25, 22 April 2025 (UTC)
Looking good; thanks! Hushpuckena (talk) 20:49, 22 April 2025 (UTC)

An image not displaying properly

Thumbnails of File:Prof.Anna-Teresa Tymieniecka.JPG are not rendering properly Pope John Paul II § Personal life or Anna-Teresa Tymieniecka. Could this be to do with the recent updates to thumbnail generation? EnronEvolvedMy Talk Page 14:20, 22 April 2025 (UTC)

I've filed a bug at phab:T392435. Thanks for reporting the bug. Quiddity (WMF) (talk) 21:00, 22 April 2025 (UTC)

Gadget to hide decorative sticky elements

userbox

so I've been trying to use { {Userbox |border-c=#006666 |border-s=2 |id-c=#008080 |id-s=10 |id-fc=#99FFFF |info-c=#008080 |info-fc=#99FFFF |id=Teal |info=This user's favourite colour is teal}}. I've been trying to add a white line between the box and the text but I cant find the part on the wikicode that lets me do that. possible (talk page stalker) Willbill6272 (talk) 19:23, 22 April 2025 (UTC)

@Willbill6272:
TealThis user's favourite colour is teal
Do you mean between the id and info cells like this with |info-op=border-left:1px solid white? PrimeHunter (talk) 21:00, 22 April 2025 (UTC)
yes thanks
possible (talk page stalker) Willbill6272 (talk) 23:21, 22 April 2025 (UTC)

Template:Authority control

Hi. Who can add the Chtyvo author ID (P13437) to Template:Authority control? Thank you! Максим Огородник (talk) 08:54, 23 April 2025 (UTC)

Please propose it at Template talk:Authority control — Martin (MSGJ · talk) 11:48, 23 April 2025 (UTC)
Okay never mind, I see you have already done that — Martin (MSGJ · talk) 11:49, 23 April 2025 (UTC)

What process generates this type of Talk page heading: "Question from USERNAME (12:34, 5 June 2026)" ?

What process generated this discussion at a User talk page?

I have seen this format on User talk pages, from other users asking questions about Wikipedia. Is this coming from a mentorship program, or from the Talk page owner having signed up somewhere as a volunteer newbie-helper, or where exactly? There are many such queries at this User talk page, with ten appearing this month and destined never to be answered, most likely, as this user last contributed in March.

For the sake of other users needing answers to their questions, I would like to sever whatever connection this user has to some question-answering service, at least until the user comes back. But where is the connection? Just paging Sage (Wiki Ed) in case this is something from the Wikipedia Education program, but I don't think so. If not, then who? Thanks, Mathglot (talk) 19:49, 23 April 2025 (UTC)

This is coming from w:WP:Growth team features#Help panel. Any admin can mark them as "away" via Special:ManageMentors, which I've now done and should cause questions to be directed to other more active users instead. There needs to be a more systematic process to handling this, though - I've been manually marking inactive users as away whenever I get around to it, but I'm using a way too loose definition of "away" and shouldn't be the only person doing essential tasks,. * Pppery * it has begun... 20:12, 23 April 2025 (UTC)
(edit conflict) This looks like it might be generated by the "Help panel" described at mw:Growth/Focus_on_help_desk. See also mw:Growth/FAQ#Help_panel, where this feature is described, and Special:CommunityConfiguration/HelpPanel, where en.WP is configured to send Help panel questions to mentors rather than to the Help desk or Teahouse. – Jonesey95 (talk) 20:13, 23 April 2025 (UTC)
Thanks for helping with this, @Pppery! I agree—it would be great if the Mentorship system automatically removed inactive Mentors. While the WMF Growth team has been focused on other priorities, I’m hoping to make time soon to work on some of the top mentorship-related tasks. Here are a few that come to mind:
Feel free to chime in if you have any thoughts on the top priorities for improving Mentorship. And thanks again for assisting with so much of the essential work behind the scenes! KStoller-WMF (talk) 21:06, 23 April 2025 (UTC)
The particular editor you pointed out here is still around and about, incidentally.
There may be an extension feature request to reassign mentees automatically after some arbitrary activity date, and/or mark as inactive, or whatever else you can do in the panel (as measured by things in Special:Contribs). I guess we could spin up an admin bot for it. Izno (talk) 20:28, 23 April 2025 (UTC)

Note: Added mw:Talk:Growth#Dealing with help panel-generated questions to absent mentors, and linked this VPT discussion. Mathglot (talk) 22:16, 23 April 2025 (UTC)

ERRORTypeError: Load failed

I keep getting ERRORTypeError: Load failed after trying to retrieve data from virus total for my script I don’t know what to do to fix this •Cyberwolf•. talk? 16:45, 23 April 2025 (UTC)

It’s put a stick in my wheel I can’t understand what’s wrong •Cyberwolf•. talk? 18:01, 23 April 2025 (UTC)
@Cyberwolf First problem is that the API address should end with "urls", not "url". Beyond that, you may run into CORS errors since VirusTotal doesn't send CORS headers, so you may have to run the API calls through a CORS proxy hosted somewhere like toolforge. --Ahecht (TALK
PAGE
)
18:06, 23 April 2025 (UTC)
How can i set up a tool forge cors proxy? •Cyberwolf•. talk? 18:13, 23 April 2025 (UTC)
@Cyberwolf I'd start by reading the toolforge documentation. There are many possible implementations, but a quick google search shows that cors-anywhere is popular. You'd need to follow the instructions at wikitech:Help:Toolforge/Node.js to set up a Node.js webservice and then install cors-anywhere. There are third-party CORS proxies available, but it's a security risk to use them because they could theoretically rewrite any of the returned data, steal your API key, etc. --Ahecht (TALK
PAGE
)
19:52, 23 April 2025 (UTC)
Eh I don’t understand/ don’t have a pc around so I’m postponing the project indefinitely •Cyberwolf•. talk? 20:29, 23 April 2025 (UTC)
I tried 3rd party stuff (security isn’t really a focus cause an api key is free, data isn’t really valuable yet or ever will be) but it either needs the POST format which none support or its simply not possible to send information via the proxy ie api key, application, url etc. I have contacted VirusTotal and I’m hoping to get a response tomorrow as I believe the best approach is to not focus on client/middleman solutions but solve it on server side so no one has to do this •Cyberwolf•. talk? 03:28, 24 April 2025 (UTC)

Collaboration or task tracker utility

In a wiki project, I need to ping many users to work on a new draft. One of them takes it. Others need to be unpinged somehow. (like in phabricator: tag a task with "foobar", all members of foobar group get a notofication, one of them marks it as assigned to themselves, and others know that it already taken. There is a board showing list of untaken tasks.) Is there some such mechanism on-wiki? Thanks. Gryllida (talk, e-mail) 10:44, 22 April 2025 (UTC)

The editors could just add the board to their watchlist. We use a related method at Wikipedia:WikiProject Guild of Copy Editors/Requests: each request is posted, and editors mark the request with {{Working}} and then {{Done}}. – Jonesey95 (talk) 14:21, 22 April 2025 (UTC)
Thanks Gryllida (talk, e-mail) 17:51, 22 April 2025 (UTC)
Hello,
1) The main issue with just using article talk pages: no way for a group of users to subscribe to a new article. Is this fixable? I would like to subscribe to all articles created at my wiki, or perhaps to all articles created at my wiki which belong to a certain category.
2) Is there a way to automate transclusion/inclusion of multiple pages? Say, include all pages which belong to a certain category. Or something, IDK. Usually an article is discussed at its talk page, but if nobody looks there (if 1 is not solved), need a way to post from article talk to a 'Mega All Discussions Village Pump'. May work for a small wiki. Hm.
cc @Jonesey95 @Polygnotus Regards, -- Gryllida (talk, e-mail) 05:09, 24 April 2025 (UTC)
What I'm talking about (please click on it to see it more clearly)

Please see the screenshot on the right. It appears that I subscribed to the same conversation twice (on WT:WPAFC). Justjourney (talk | contribs) 19:59, 21 April 2025 (UTC)

How it happened: so when I replied to that thread, it automatically subscribed me, but the [subscribe] link suggested that I wasn't subscribed to the conversation.
What I did after posting this: I unsubscribed to both topics, and then subscribed manually again, and that seemed to fix the issue. Justjourney (talk | contribs) 20:02, 21 April 2025 (UTC)
DiscussionTools subscriptions use a section's first comment username+timestamp as the key, rather than something like the section title. When subscribing to this section, did you hit subscribe, edit your comment's timestamp, then hit subscribe again? Or cut and paste it from somewhere? I think something like that is more likely than a bug. Anyway, you can click "Unsubscribe" on the row that has the wrong timestamp to get rid of it. Hope this helps. –Novem Linguae (talk) 21:29, 24 April 2025 (UTC)

Bulk page metadata tool

Is anyone aware of a Toolforge or WMCS tool that, given a list of pages (in my case especially templates), displays a table key metadata about each page (e.g. number of edits, date of creation, number of pages that transclude the page, etc)?

There are tools that can do this for one page at a time, but I'm not aware of any tools that can do it in bulk.

If none exist I'm inclined to write one myself. This, that and the other (talk) 01:35, 25 April 2025 (UTC)

Satellite background for OSM maps

Hi, is there any way to show satellite background for OpenStreetMaps in Wikipedia? For example, if we want to change abstract background of this map

Map

to a satellite background like this link: https://www.openstreetmap.org/edit#map=11/29.6430/52.5342 what should we do? Thanks, Hooman Mallahzadeh (talk) 12:37, 24 April 2025 (UTC)

OSM has a separate license for satellite data for the sole purpose of mapping locations. We do not have such a free license (nor would bing give it to us) —TheDJ (talkcontribs) 07:36, 25 April 2025 (UTC)
@TheDJ You said that:

nor would bing give it to us

Why? I asked a question from Google here. Their answer was that the license is "from 3rd party providers". Why can't Wikipedia provide such license from "3rd party providers"?
Because, I think "satellite map" is not a highly modern technology nowadays. We use them very commonly for our everyday life.
Providing some satellite image is very vital, because it improves Wikipedia articles significantly.
Finally, I propose that Wikipedia pursue granting license from "3rd party providers". The same as Google, I think they grant permission to Wikipedia. Hooman Mallahzadeh (talk) 08:32, 25 April 2025 (UTC)
How much funding do you think the Wikimedia Foundation should allocate towards this? It would be very expensive, and potentially disruptive to the satellite mapping industry. CMD (talk) 08:39, 25 April 2025 (UTC)
"How much funding" is a very good question. Please ask a third party map provider that how much Wikipedia should pay for satellite maps. If it is reasonable, I think it worth paying.
Satellite map technology is related to many decades ago and is not a blood edge one. Hooman Mallahzadeh (talk) 08:45, 25 April 2025 (UTC)
Wikipedia would not just be paying for satellite maps, it would be paying to relicence said maps into one of our applicable licences. That is a vastly different proposition. CMD (talk) 09:14, 25 April 2025 (UTC)

Notifications slow to load when new alert comes in

For several weeks (months, always, intermittently, I'm not sure), when a I get a new alert and click on the notifications bell it takes a really long time to load. I get the moving zebra stripes loading pattern for ages. Everything else on Wikimedia sites is snappy.

It takes so long that I open a new tab and guess which project/discussion caused the alert and visit it instead. When I come back, the notifications are loaded. Maybe visiting a new page resets the serving of the notifications?

If I click the bell with no new alerts, it loads fine. I can't really diagnose further as I don't get many alerts. I understand that notices and alerts now get displayed on minerva (I still call them alerts regardless), but this problem predates that.

Chrome/Android/Minerva (but it may happen on Vector 2010 too). Commander Keane (talk) 00:39, 25 April 2025 (UTC)

What about when you are on a different network, a different browser or even a different computer ? —TheDJ (talkcontribs) 07:34, 25 April 2025 (UTC)
I will keep an eye out. Commander Keane (talk) 11:23, 25 April 2025 (UTC)

Hi! Why did this edit get tagged as "Disambiguation links added"? Switching the order of two rows shouldn't have added or edited any links. (Asking this here because it doesn't seem to have been caused by an edit filter.) 2A00:807:D3:B2CD:1D64:EE5:ECA4:CA80 (talk) 10:20, 25 April 2025 (UTC)

That seems to be added by an extension, mw:Extension:Disambiguator. This seems like a bug, which can be reported here. — xaosflux Talk 10:36, 25 April 2025 (UTC)
Thanks! That link seems to require an account and I don't currently have time to make one, so someone else would have to report it. 2A00:807:D3:B2CD:1D64:EE5:ECA4:CA80 (talk) 10:40, 25 April 2025 (UTC)
I suspect it was a disambiguation link added to a template: the links table for the article was up to date with a previous state of the article; then Special:Diff/1287207784 changed a link from Sarajevo Clock Tower to the dab page Clock Tower; and then, before the job queue had a chance to update the links table for the article, you made your edit, which caused the page to be reparsed and the links table to be updated, and so that update reflected not only your edit but also the changes to links due to the changed template. Anomie 11:42, 25 April 2025 (UTC)

[No action needed, just FYI] MediaWiki internal error

Was using source editor on desktop (Firefox 137.0.2 (64-bit) on Windows 11) and encountered the below. Clicked the back button and didn't lose any progress, but thought I'd leave a copy of the error message anyway.

MediaWiki internal error.

Original exception: [33d5e4d1-f222-4c11-93c4-41e9057a40e4] 2025-04-25 18:08:10: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

Only saw that last line upon rereading the error message after I'd clicked back, so I don't have any more info. Cheers, Rotideypoc41352public (talk) 01:09, 26 April 2025 (UTC)

I hit this too, but happily it nonetheless did save my edit. CMD (talk) 01:34, 26 April 2025 (UTC)

Translating module across wikis

Hi everyone,

Now that Module:European and national party data and its templates (EUPP data, Political party data, and EU institution seats) are working and starting to be deployed, I am interested in translating them across wikis. I have already created the relevant modules, config files and templates, but results differ widely from one wiki to the other (see the test pages listed on the roadmap).

For now, PT alone works, NL works except composition bars, and for all others Wikidata qIDs are returned instead of values and composition bars don't work (ES is entirely broken). I assume this is because the wikidata/wd and composition bar modules are called differently from one wiki to the next.

What is the best way to move forward with this? Should a function take arguments and give out the right wikidata/wd/composition_bar calls with an IF based on the language used? Should we use the config file? Any ideas? Julius Schwarz (talk) 12:28, 23 April 2025 (UTC)

After testing on Portuguese Wikipedia, where the calls to wikidata/wd and composition bar are the same as in English Wikipedia, I already made a few changes to base some checks on European parties' or member states' qID instead of on their name, which is now translation-proof.
However, there are a number of elements that are hard-coded into the module and that we should translate for users' input, but not in the module. For instance, the number of seats of the EPP in the European Parliament will be {{EUPP data|seats|EPP|EP}} in English Wikipedia (using the template as the structure is simpler), but {{EUPP data|seats|PPE|PE}}. The EPP -> PPE translation is now working. However, even we change EP -> PE in the config file, we still have checks on "EP" in the module's code. The same goes for other institutions, for special parameters ("none", "all", "thisparty", etc.), and for data_type ("seats", "seat share", "seat composition bar", "color", "individual members", etc.).
Any ideas? Taking the liberty to tag @Trappist the monk, @Ponor and @Ahecht who had been helpful in the past. Julius Schwarz (talk) 13:23, 24 April 2025 (UTC)
How do you handle countries with multiple official languages? -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 14:01, 24 April 2025 (UTC)
Hmm, I am not sure this applies. The issue at hand is not the recognition of countries' official languages but the languages used by Wikipedia. For instance, I am not trying to get this to work "for Spain", but on Spanish Wikipedia (Castillan) and not on Catalan Wikipedia -- at least at this point. Julius Schwarz (talk) 14:16, 24 April 2025 (UTC)
You can build language-specific translation tables. You can fetch the current wiki's content language tag with:
local this_project_language = mw.language.getContentLanguage():getCode();
Use this_project_language as an index into a table of translations.
Assume that the party/institution-maps-to-qid tables are the default and are associated with language tag en. For your EPPE example, your language specific translation table for language tag xx might look like:
local xlate_institutions_t = {
	xx = {																		-- translations for <language name> (xx)
		PE = 'EP',																-- European Parliament; translated from xx language to default (en)
		},
	}
In main() you set institution from args_t[4]. Create a function that takes the current value of institution as an input. The function gets this_project_language and then looks in the appropriate translation table for a match. If found, replaces institution with the value from xlate_institutions_t[this_project_language][institution]. If not found, returns institution unchanged.
Trappist the monk (talk) 17:08, 24 April 2025 (UTC)
Thanks @Trappist the monk, this will be useful indeed, I will work on that. What about the calls to Wikidata/wd and to the composition bar template, any idea how to translate them from the module itself with ending up with one version per wiki language? Julius Schwarz (talk) 19:10, 24 April 2025 (UTC)
I think I am close, but I must have designed the table wrong, as return cfg.xlate_t['pt']['PE']; gives me attempt to index field 'xlate_t' (a nil value). (see table in Module:European and national party data/config) Julius Schwarz (talk) 11:04, 25 April 2025 (UTC)
@Trappist the monk, any idea? I find myself a bit stuck on this one :S Julius Schwarz (talk) 18:50, 26 April 2025 (UTC)
You have to export it.
Trappist the monk (talk) 19:00, 26 April 2025 (UTC)
What an idiot. Thank you. Julius Schwarz (talk) 21:01, 26 April 2025 (UTC)

Problems in Visual Editor (TM:nbnd)

Section moved from Template talk:Non breaking en dash

This template appears to cause problems in the Visual Editor. After inserting the template, typing any new text after the template causes the text to not render, but section headers on the next line remain. Needlesballoon (talk) 23:00, 24 April 2025 (UTC)

To reproduce use Visual editor. Type any text, then insert {{nbnd}}, then type some more text. As soon as you type the second digit following the template, every text since {{nbnd}} disappears from the editor. But if you publish the edit or review before publish, the text is actually there. Don't know what's causing this. CX Zoom[he/him] (let's talk • {CX}) 18:27, 25 April 2025 (UTC)
The template does not have a TemplateData section in its documentation. Adding one is a good first step toward making it more compatible with VE. – Jonesey95 (talk) 20:26, 25 April 2025 (UTC)
Thank you. But the previous issue appears to remain unresolved. CX Zoom[he/him] (let's talk • {CX}) 22:49, 26 April 2025 (UTC)

Problem with {{Commons category-inline}} template

When I edit Counter (digital)#External links and — without making any changes — click on Show preview, I see the following below the expanded {{Commons category-inline}}:

Preview warning: Commons link does not match Wikidata

Help would be appreciated to figure out what's going on here and how to resolve this. Thanks! Lambtron talk 01:49, 27 April 2025 (UTC)

The software is upset because Counter (digital) is associated with wikidata:Q247299, whereas Commons:Category:Counter circuits is associated with wikidata:Q123909796. You can just ignore it. CMD (talk) 02:48, 27 April 2025 (UTC)

Strange interwiki

In stalinka, the relevant Russian interwiki is сталинка (as also shown in Wikidata), but when I hover over the Languages panel on the left in enwiki's article stalinka, it shows Башня Вулыха for Russian wiki. Yet Башня Вулыха doesn't seemingly appear in Wikidata which correctly shows Russian сталинка for Stalinka. What's happening? Brandmeistertalk 16:10, 26 April 2025 (UTC)

There was an obsolete interwiki link at the bottom of the article. I have removed it. – Jonesey95 (talk) 16:42, 26 April 2025 (UTC)
I did some digging into the edit history. It appears that AWB's general fixes may have moved an intended interwiki link to the bottom of the page. I have asked for AWB to stop doing that, and I have restored the interwiki link into the prose. – Jonesey95 (talk) 16:47, 26 April 2025 (UTC)
Thanks. Brandmeistertalk 18:21, 26 April 2025 (UTC)
I've changed the article to use {{Interlanguage link}}, thus avoiding this issue (and also providing other benefits, like better handling if the English article is ever created. Graham87 (talk) 04:15, 27 April 2025 (UTC)

What triggers the "reverted" tag?

My eye was drawn a couple of days ago to vandalism by this IP. As seen at that contributions list, they made 3 vandalism/test edits, two to one article and then one to a third. All these edits were reverted immediately, however, only the third edit is marked as such in the contributions list. What causes this difference? Should the unmarked one also have the tag, in theory? Thanks, CMD (talk) 15:11, 26 April 2025 (UTC)

The software has a job that automatically runs on each edit comparing it to a chunk of the recent edits on each page, trying to see if there are any that match the hash of the page. False negatives are routine. Izno (talk) 17:53, 26 April 2025 (UTC)
Ah thanks, I guess that chunk didn't include the pre-vandalised version as it took place over two edits. CMD (talk) 01:04, 27 April 2025 (UTC)
@Chipmunkdavis: nope, an edit can be tagged as reverted if the revert is up to 15 revisions back (see the relevant manual entry on MediaWiki.org (and the links from there). Izno's message here is absolutely correct and there's no other explanation than "The software didn't get around to tagging the edit on time". Graham87 (talk) 04:35, 27 April 2025 (UTC)
Thanks for the link. Could it similarly miss a single-edit revert sometimes then? CMD (talk) 04:39, 27 April 2025 (UTC)
Yep, absolutely. I've encountered that a few times. Graham87 (talk) 06:49, 27 April 2025 (UTC)

Improving the notification UX

I frequently mess up user pings, most commonly by forgetting to add my signature. The reason I so often forget to sign is that so many places (such as the edit box I'm typing into right now) add your signature automatically, so I've gotten out of the habit. And of course, the most obvious fix for that, adding your signature in a follow-up edit, doesn't work because the mention and the signature have to be in the same edit. This is an terrible UX. What can we do to fix it?

It seems to me that the requirement to do two different things at the same time, i.e. mention the username and sign, is the fundamental flaw. Why does the signature need to be there? Why couldn't this be done with something like a WP:MAGICWORD or a Lua module which stands on its own. The user-visible interface ({{ping}}, etc) would hide the implementation details. RoySmith (talk) 11:08, 27 April 2025 (UTC)

Any method would need to avoid repinging if conversations are vandalised and restored, copied to another page, archived, etc. CMD (talk) 13:55, 27 April 2025 (UTC)
That doesn't seem too hard. There is already a list of old notifications stored in the database somewhere. Generate a unique id for each ping and before you deliver it, check to see if it has already been delivered. You could use a uuid, or hash some combination of (pageid, userid, timestamp, etc). RoySmith (talk) 14:16, 27 April 2025 (UTC)
A magic word has been considered since a while ago. phab:T128535.
The reason the signature is required is because that's one of the surest ways to know the ping was intentional, without some magic word. If you do want to "follow up" because you forgot or elsewise, you can ping via edit summary these days. Izno (talk) 15:40, 27 April 2025 (UTC)
the signature is required is because that's one of the surest ways to know the ping was intentional That may have once been true, but in today's world of most signatures being auto-generated (like the one on this reply will be), that's silly. RoySmith (talk) 18:54, 27 April 2025 (UTC)
I'm not sure how the reply tool is particularly relevant to the points in your original comment, where you forgot to sign....
The reason that pinging requires the signature is in fact when you add a user link on arbitrary other pages, say, on your user page when you are adding a barnstar that someone else gave you. That's not fixed by checking a unique ID for each ping as in your suggestion just above.
Either way, your requested magic word task has been linked and I'd suggest you subscribe to it since you appear to feel strongly that there should be another way to mess pinging up. :D Izno (talk) 03:24, 28 April 2025 (UTC)
@RoySmith: adding your signature in a follow-up edit, doesn't work because the mention and the signature have to be in the same edit. If you link to the user in the edit summary of the follow-up edit (as I did in this edit), they will be pinged successfully. --Ahecht (TALK
PAGE
)
03:07, 28 April 2025 (UTC)

Earlier today I got this diff on my talk page, from a brand-new account that has it as its first and only edit. Now, nothing wrong with that...except the I recommend checking out this Wikipedia page link is to wikiped1a.org (and just that, no page listed). I think I smell a phishing scam? - The Bushranger One ping only 03:46, 27 April 2025 (UTC)

That site was registered four days ago. It is very suspicious.
As scanners found no immediate viruses, and anyhow web pages are heavily limited by browsers on what they have the right to do on their own, I took a peek, and indeed, it's literally just a mimic enwp login form. So phishing indeed.
That user probably ought to get blocked. — Alien  3
3 3
07:22, 27 April 2025 (UTC)
Thanks for taking a peek. I wanted to AGF but given that sneaky "1" I had a hunch. Alas! I'll hand out a block. - The Bushranger One ping only 07:47, 27 April 2025 (UTC)
Literally have been trying to write a script to scan these •Cyberwolf•. talk? 22:31, 27 April 2025 (UTC)
(That sort of stuff exists on the internet. Google "url checker" or something like that. Of course, there's a question of trust, but the top results are usually not scams or hoaxes.)Alien  3
3 3
06:37, 28 April 2025 (UTC)
Should that scam site be added to the global black list? Johnuniq (talk) 08:04, 27 April 2025 (UTC)
Probably. May also be worth reporting to WMF for trademark misuse. Anomie 11:58, 27 April 2025 (UTC)
Email sent. Also listed at MediaWiki talk:Spam-blacklist. RoySmith (talk) 12:36, 27 April 2025 (UTC)
And just for fun, also sent an email to abuse@spaceship.com per https://www.whois.com/whois/wikiped1a.org. Not that I really think that'll do anything. RoySmith (talk) 13:42, 27 April 2025 (UTC)

Bizarre template failure at Mamluk Sultanate

Hi all, never seen this before: at Mamluk Sultanate, all the templates seem to fail to display correctly about half-way down the page (roughly around the "Agriculture" section and below), with nearly all the inline citations, hatnotes, language templates, etc appearing as wikilinks to the template page instead (e.g. citations in the reference list literally appear as "Template:Cite book", even though the templates are filled out in the source code).

The only significant thing that's happened to the page recently is semi-protection ([37]), but I can't imagine how that would matter. It doesn't seem to be an issue with the code/content (that I can see); when I look at older versions of the article that were definitely displaying properly at the time (e.g. Feb 2025), the problem still shows up. The issue also shows up when I use another browser and another device, including in mobile view, and I don't see it on other pages so far. I tried purging the page, in case that made any difference, but no luck.

Any ideas? I assume this is the best place to ask (please direct me if not). Thanks, R Prazeres (talk) 17:05, 27 April 2025 (UTC)

@R Prazeres: (Partial answer) The page has dropped into Category:Pages where post-expand include size is exceeded and Category:Pages with script errors. Some relevant template must have changed quite recently, since Archive.org has a snapshot of a good version from 26 April. -- John of Reading (talk) 17:24, 27 April 2025 (UTC)
The timestamp for the PEIS category addition is 2025-04-27T16:50:19Z, so quite recent. CMD (talk) 17:38, 27 April 2025 (UTC)
Looks like it's exceeding a server limit on parsing: Post‐expand include size: 2097152/2097152 bytes. See WP:PEIS for some information and possible solutions. DMacks (talk) 17:28, 27 April 2025 (UTC)
Nice job resolving the edit-conflict, Mediawiki! DMacks (talk) 17:29, 27 April 2025 (UTC)
With all the calls to {{transl}} replaced by calls to {{transliteration}}, the problem goes away. Perhaps there's a problem with the RFD notice on {{transl}}? -- John of Reading (talk) 17:41, 27 April 2025 (UTC)
That's been there since March 13th, though I guess it could be job queue lag. Sidenote: could someone please close that discussion already? It's long stale and overdue for closure. * Pppery * it has begun... 17:42, 27 April 2025 (UTC)
Closed as delete all. If you find use-cases, feel free to replace them. DMacks (talk) 18:28, 27 April 2025 (UTC)
Thank you to everyone. So if I understood correctly, all {{transl}} instances should be replaced by {{transliteration}}, which will solve the problem and will need to happen in any case? R Prazeres (talk) 18:34, 27 April 2025 (UTC)
Your understanding is correct. It will probably take a day or three to get some automated help on making those changes. I'm waiting for the dust to settle (seeing if anyone complains), so it doesn't look like I'm requesting a third party to make a controversial edits on my behalf. DMacks (talk) 18:49, 27 April 2025 (UTC)
If feasible, {{Being deleted}} should probably be modified and applied on the affected redirects yet to be deleted. CX Zoom[he/him] (let's talk • {CX}) 21:47, 27 April 2025 (UTC)
The templates should be added to WP:TFD/H. Gonnym (talk) 22:08, 27 April 2025 (UTC)
Thanks for the reminders...I handled some by hand completely but didn't realize how many places some were used when I started. There doesn't seem to be a clean way of marking for simple replacement...not a merge or subst. Easy enough to list in the holding cell. But given the existing transclusion mess (what started this thread), I'm loathe to add even more things into the template pages themselves:( DMacks (talk) 23:42, 27 April 2025 (UTC)
Understandable. The deletion of redirects, but not the actual templates, probably doesn't concern the average reader anyway, so a notice may not be necessary. CX Zoom[he/him] (let's talk • {CX}) 10:30, 28 April 2025 (UTC)

MediaWiki internal error

Editing Japanese Communist Party, I got a "media wiki internal error", so I tried to post here about it, and instead of arriving here I got a similar error

MediaWiki internal error.

Original exception: [0d3da270-7b6e-4ed2-a2a8-66bef6751ae3] 2025-04-27 19:42:18: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

A few moments pass, and I see that my edit to the JCP page went through, and I can now access this page. Posting here for information. DuncanHill (talk) 19:47, 27 April 2025 (UTC)

Yeah, this has been going on for a bit. See for example "[No action needed, just FYI] MediaWiki internal error" from yesterday. The WMF folks know about it and are working on it (but I can't find the right phab ticket at the moment). RoySmith (talk) 23:11, 27 April 2025 (UTC)
@RoySmith: I was wondering if it was related to Wikipedia:Village_pump_(technical)/Archive_219#Error_message from about a month ago. DuncanHill (talk) 13:32, 28 April 2025 (UTC)
I'm not familiar with the codebase, but just based on the exception messages, my guess is that it probably is. Theres's a bunch of threads in Archive 219 that touch on this and reference several related phab tickets. I'll just add that this is an intermittent problem in a large complex system. Such things are usually difficult to debug. RoySmith (talk) 13:46, 28 April 2025 (UTC)

That's odd

I'm using Chrome on my laptop, and I just noticed that when I try to type double square brackets, [[, on en-WP like in this comment or the edit summary section or the search box, it turns into this signː ʽ

Anyone else see this? It doesn't seem to happen on Swedish WP. Gråbergs Gråa Sång (talk) 05:36, 28 April 2025 (UTC)

I don't know why, but the character ʽ is U+02BD "Modifier Letter Reversed Comma". Are you saying it only happens when typing directly into an edit window (or edit summary or search box) at enwiki? What if you visit some other website where you can enter text: what happens there? You might see what extensions are installed. Johnuniq (talk) 05:57, 28 April 2025 (UTC)
@Johnuniq Apart from sv-WP, I've tested Commons and searchboxes on google and CNN, and they all behave normally. I also noticed that there are more signs that turn into other stuff, (single) curly bracket { becomes ̪ Gråbergs Gråa Sång (talk) 06:22, 28 April 2025 (UTC)
Ok, this window (the Reply-window) has a discreet dropdown in the lower right corner (icon seems to be a keyboard). I set that to "Use native keyboard" and that seems to have done the trick. [[ {{ @ is back to normal. Maybe I clicked it without noticing. Gråbergs Gråa Sång (talk) 06:38, 28 April 2025 (UTC)
You can also switch between the native keyboard and the other input methods by pressing Ctrl+M, which is much easier to do accidentally than clicking the icon, and it's probably what happened. I feel like this happens to someone at least every few months. Matma Rex talk 15:10, 28 April 2025 (UTC)

Converting Commons image to fair use

I've sadly had to nominate some images for deletion on Commons, as they are still in copyright until 2030. One could be used here as fair use here in the meantime. Do we have tool that will handle that, before deletion takes place, to save me from having to download it to my machine, and then re-upload it here, copying and pasting all the metadata? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:55, 28 April 2025 (UTC)

Try https://wikifile-transfer.toolforge.org/DreamRimmer (talk) 14:48, 28 April 2025 (UTC)
Thank you. That looks promising, but just gave me "An error occurred during upload.: AxiosError: Request failed with status code 500". I shall try again later. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:10, 28 April 2025 (UTC)

Redundant class-rating categories

The latest run of Special:WantedCategories features a cluster of redlinked wikiproject class and importance rating categories that can't be created at the names they're appearing at, as they contain internal redundancies such as "Draft-Class Draft-Class" or "pages articles" or "X importance of X importance". These all relate specifically to Wikiproject Dungeons & Dragons, but as far as I can tell they're not being caused by that Wikiproject's banner itself, because their contents aren't pages but bluelinked class-rating subcategories that aren't similarly malformed, and those subcategories only have {{Quality and importance category}} on them rather than any template specific to that Wikiproject. But I can't figure out a plausible reason why that general, widely used template would be causing this nonsense only on Dungeons & Dragons-specific categories, as I can't see any code in that template that would specifically cause this on Dungeons & Dragons pages without breaking anything else — and that template, further, is even breaking the name of the Wikiproject to something like Wikipedia:WikiProject Draft-Class Dungeons & Dragons pages of Mid-importance in its explicatory text.

So I need to ask if somebody can look into finding out where this error is coming from and how to fix it so that the redlinks go away. The implicated categories are:

Thanks. Bearcat (talk) 14:38, 28 April 2025 (UTC)

Please ask future questions pertaining to assessment at Template talk:WikiProject banner. That is where the users who understand what is being done to banners know are. Izno (talk) 17:02, 28 April 2025 (UTC)
This is caused by Wikipedia:Categories for discussion/Log/2025 April 19#Category:Redirect-Class 20th Century Studios articles of Low-importance. Cc HouseBlaster who closed it. * Pppery * it has begun... 17:20, 28 April 2025 (UTC)
Yes, Template:Quality and importance category definitely needs an update after the categories were moved. It seems that template is mainly used by the dungeons and dragons project. — Martin (MSGJ · talk) 17:22, 28 April 2025 (UTC)
Should be  Fixed following "ugly hack to get around Lua pattters being terrible #125462947". HouseBlaster (talk • he/they) 19:17, 28 April 2025 (UTC)

Tech News: 2025-18

MediaWiki message delivery 19:28, 28 April 2025 (UTC)

TopicSubscriptions

Looking at Special:TopicSubscriptions, if a section gets removed or archived the topicsubscription is not removed.

Is there a script that checks if these topics still exist, and unsubscribes if they do not?

Shouldn't that functionality be built in? I got like 600 topicsubscriptions. Polygnotus (talk) 23:55, 28 April 2025 (UTC)

There isn't, but that's not really a problem. There's no limit, the system should handle hundreds of thousands. Matma Rex talk 02:27, 29 April 2025 (UTC)

And while I am here, how is it possible that Special:TopicSubscriptions keeps showing that I am subscribed to a topic when I already unsubscribed via the section header? Looking at the unsubscribe link on Special:TopicSubscriptions and comparing that with the unsubscribe link in the section header reveals the one on Special:TopicSubscriptions is:

/w/index.php?title=Wikipedia:Help_desk&action=dtsubscribe&commentname=h-Srbernadette-20250428025800&section=Middleton+family

and the other is

/w/index.php?title=Wikipedia:Help_desk&action=dtunsubscribe&commentname=h-Perception312-20250427143200

So it looks like I somehow got subscribed to a comment and not a section, How and why?

It means I can't just open a bunch of links from Special:TopicSubscriptions and then unsubscribe via the section header but have to check the page and then go back to Special:TopicSubscriptions to unsubscribe.

Does that mean there are actually 2 subscriptions, one to the section and one to the comment? That seems unlikely because when I unsubscribe from the comment via Special:TopicSubscriptions then I am no longer subscribed to the section when visiting the page (it shows [subscribe] not [unsubscribe]).

Shouldn't unsubscribing via a section header also unsubscribe from all comments within that section?

And ideally unwatching a page should unsubscribe from all sections (and therefore comments) on that talkpage (and perhaps watching a page should do the same because if you watch the entire page there is no need to also watch a specific section on that page).

Polygnotus (talk) 00:00, 29 April 2025 (UTC)

action=dtunsubscribe actually ignores the section parameter, I think we just overlooked the fact that we're passing it unnecessarily in one case. I sent a quick patch for that: [38].
So, the only difference is different commentname parameters. You can input them into Special:FindComment to find out more about what happened to these sections:
So it seems to me that these were actually two different discussions with the same section title (although you commented in both of them and subscribed to both). Matma Rex talk 02:27, 29 April 2025 (UTC)
Watching and subscribing are completely independent. From what I remember, we made them that way because we were being very cautious not to mess up anyone's established workflows with the watchlist when adding the new subscriptions feature, but alas this ends up being a bit awkward when you're using both features. Matma Rex talk 02:27, 29 April 2025 (UTC)

@Matma Rex: pinging Matma Rex who is a certified genius. Polygnotus (talk) 00:54, 29 April 2025 (UTC)

When it comes to my DiscussionTools work, let's go with mad genius… I tried to answer your questions inline. Matma Rex talk 02:27, 29 April 2025 (UTC)
@Matma Rex Thank you! I have to think about this for a bit. I did notice there was no equivalent of Special:EditRecovery for DiscussionTools so now we have User:Polygnotus/Scripts/DiscussionToolsDrafts. Polygnotus (talk) 06:33, 29 April 2025 (UTC)

 You are invited to join the discussion at Template talk:Navbox §Improved readability. Whatback11 (talk) 15:40, 29 April 2025 (UTC)

Vince Gill

Reference 52 in Vince Gill has a template error in the archive-url section. This seems to be because of the original url having an asterisk in it. I can't for the life of me find a work around. Anyone got a suggestion? Ten Pound Hammer(What did I screw up now?) 18:56, 29 April 2025 (UTC)

I'd suggest using this for the archive-url. It matches the archive-date and goes directly to the archived site. Firefangledfeathers (talk / contribs) 19:01, 29 April 2025 (UTC)
The asterixed url is to an index page rather than an archived copy of the article. As @Firefangledfeathers says using one of the links listed on the page fixes the issue. Nthep (talk) 19:05, 29 April 2025 (UTC)

Page is in Tracking category, but I can't find the template that puts it there

William Carter (bishop) is in Category:Articles needing additional references from April 2015, but I can't find any refimprove or more citations, or one source or any other templates used on the page. How did it get in that category? Newystats (talk) 04:18, 30 April 2025 (UTC)

{{Carter family tree}} Izno (talk) 04:26, 30 April 2025 (UTC)
@Newystats: You could have used Special:ExpandTemplates and searched for the category name. User:PrimeHunter/ExpandTemplates.js loads the current page in ExpandTemplates with a click. PrimeHunter (talk) 08:36, 30 April 2025 (UTC)
Thanks! Newystats (talk) 14:34, 30 April 2025 (UTC)

Editing the sidebar person template

Per this discussion, is it possible to remove the signature and seal fields from Template:Sidebar person without causing errors in articles where it is transcluded? Thanks. Ed [talk] [OMT] 19:24, 28 April 2025 (UTC)

@The ed17 Of course it is possible from a technical perspective. However, I would certainly anticipate some talk page annoyance given the breadth with which this template is apparently used without a wider consensus gathering effort. Izno (talk) 21:38, 28 April 2025 (UTC)
@Izno: I'd considered that, but it's transcluded into 2800 pages. That's more than a few but far less than e.g. Template:Sidebar. If you can give me a blueprint for removing the fields myself, I'd be happy to take on the BRD burden. Ed [talk] [OMT] 22:16, 28 April 2025 (UTC)
The sandbox should be functional for this request. Izno (talk) 22:25, 28 April 2025 (UTC)
Thanks, Izno. Appreciate the work there! Ed [talk] [OMT] 14:44, 30 April 2025 (UTC)

How can we help get the Score extension's vastly superior SVG output deployed?

Hi, does anyone else actually

{\relative {g' a es}}

(care) about the Score extension? Sometimes it seems like I am operating in a vacuum. Progress on features has ground to a halt, and sadly it is being left to rot on the vine. There is a ticket for making it output vastly improved SVG instead of poor resolution raster PNG images T49578, which has been open for twelve years; I merged code for it two years ago, and it's ready to deploy. If you care about music notation on Mediawiki projects (WikiSource uses it a fair bit too), we need to get the "deploy new version into production" ticket T385404 progressed. What are we to do? How can we get this done? I don't want anyone to pile onto tickets and harass the engineers because they're busy and it's nobody's fault, but perhaps a show of hands as a few upvotes, polite words of encouragement or offers to help on the ticket? It's so frustrating to have it ready to go to just languish in limbo for years. — Jon (talk) 22:54, 28 April 2025 (UTC)

I mean, a lot of that is the typical state of development. I'd suggest getting on wikitech IRC and asking the same or similar questions, and someone can maybe answer. Being a greasy wheel in the right places (and Phab is rarely the right place IMO) is the way to get things done, as in most of open source. Izno (talk) 23:00, 28 April 2025 (UTC)
You know what they say: "The greasy wheel gets the squeak!" – Jonesey95 (talk) 23:26, 28 April 2025 (UTC)
Wow, IRC like it's the 1990s... ok I'll try. Jon (talk) 00:08, 1 May 2025 (UTC)

Changing Editor Font

Hello! I am interested in changing the editor font to IBM Plex Mono but when I set it as the global font with * in common.css it doesn’t apply to the editor. Is it possible to change the font there? Macaw* 18:01, 30 April 2025 (UTC)

Try .mw-editfont-monospace instead of *. Matma Rex talk 20:13, 30 April 2025 (UTC)
Ok, that didn't work it also dosn't change the font in areas like the preferences page; can you look at User:Macaw*/common.css and tell me if there is any issues or if it is just not possible. Thanks for all your help so far. Macaw* 02:26, 1 May 2025 (UTC)
Your code works for me. Are you sure that this is the correct font name, and that you have it installed? Matma Rex talk 08:34, 1 May 2025 (UTC)
@Macaw*: Possibly unrelated, but you have an @import rule at the bottom (to pull in meta:User:Aaron Liu/v22.css) - and such rules must be at the start of the style sheet, see CSS Cascading and Inheritance Level 3. --Redrose64 🌹 (talk) 10:10, 1 May 2025 (UTC)
Ok, it works now. Thanks! Macaw* 12:09, 1 May 2025 (UTC)

Renaming an article

Rename the article Abu Hamza Al-Qurashi to Abu Hamza al-Qurashi and the article Abu Hudhayfah Al-Ansari to Abu Hudhayfah al-Ansari 2A00:20:C04A:CCC3:5D3:4383:385A:3EC3 (talk) 05:42, 2 May 2025 (UTC)

Please request a rename at Requested Moves. Further advice may be sought at the Teahouse or Help Desk. 331dot (talk) 09:46, 2 May 2025 (UTC)

Is there an edit summary search tool that allows searching of all edits, not only those of a specific editor? Nikkimaria (talk) 23:44, 2 May 2025 (UTC)

Nope, there isn't. And unfortunately, due to the way the Wikipedia database is,creating such a tool would be impossible for performance reasons. See my discussion with Cryptic about this sort of thing at Wikipedia:Request a query/Archive 2 § Searching for edit summary text over the revision table. The discussion is from 2021 and I'm by know means an expert here, but I'm pretty certain nothing has significantly changed since then ... (a) I can't find any evidence from places like the MediaWiki.org manual on the comment database table and (b) database schema changes are complicated and widely announced. The only reason the edit summary search tool works at all is that it searches by the contributor's name. Edit summarry searches on edits made within a particular time period up to a year (or in changes made in the last thirty days, that are in the recentchanges table) could be possible (if there aren't too many results) but may be very slow. Graham87 (talk) 02:21, 3 May 2025 (UTC)

Help with image placement on article

I am having difficulty with the placement of an image at Grand Prix de France (figure skating). When shown in preview mode, the image of the magazine cover is in the right place, but when published, the image appears at the bottom of the History section. What am I doing wrong, or can anyone help me out, please? Thank you so much for any assistance. Bgsu98 (Talk) 07:14, 3 May 2025 (UTC)

@Bgsu98: This is the many-floating-objects problem. The top edge of File:Skating Magazine Cover January 1989.jpg cannot be displayed any earlier than the top edge of File:Chock, Bates, Papadakis, Cizeron, Guignard, Fabbri - 2019 Internationaux de France - 2.jpg, which itself is constrained by the bottom edge of File:TEB2009 Pairs Podium.jpg; and so on up the page. --Redrose64 🌹 (talk) 11:20, 3 May 2025 (UTC)
@Redrose64: Okay, I got the image up to where it should be, but the text appears below the image and not next to it. Any suggestions? Bgsu98 (Talk) 11:36, 3 May 2025 (UTC)
Personally, I would question the need for four photos of gold, silver, and bronze medallists in the lead section - I would have used just one; either the most recent medallists, or those of the inaugural competition. I would then have put that photo into the infobox: {{Infobox recurring event}} provides |image= and |caption= parameters which may be used for this. --Redrose64 🌹 (talk) 13:08, 3 May 2025 (UTC)
I have arranged them into a gallery, which seems to solve the immediate problem, although I would prefer to have them down the right hand side of the article. (BTW, the reason for four photos is the four different events held at the competition.) I do appreciate your assistance. Bgsu98 (Talk) 13:18, 3 May 2025 (UTC)
OK then, if you want all four images in the lead, what I would do is: go back to the version as it was when you raised this thread. Then add {{stack begin}} immediately before the infobox, and add {{stack end}} immediately after the fourth image, before the start of the text. I have demonstrated this at the sandbox. --Redrose64 🌹 (talk) 14:10, 3 May 2025 (UTC)
That's perfect; thank you so much! Bgsu98 (Talk) 14:50, 3 May 2025 (UTC)

Without url-status live cite template defaults to archive first

If you don't stick a |url-status= in a cite template then it defaults to the archive url; why? Shouldn't that be the other way around? Polygnotus (talk) 17:19, 3 May 2025 (UTC)

@Polygnotus: This was decided at Help talk:Citation Style 1, and should be discussed there. --Redrose64 🌹 (talk) 18:09, 3 May 2025 (UTC)

FYI: Something is broken with Template:Purple

If you're seeing messages like

[e58f25ca-7f21-4e6f-b057-1f2eda683533] 2025-05-03 15:21:42: Fatal exception of type "MediaWiki\Revision\RevisionAccessException"

at the moment, check if the page is transcluding Template:Purple. Other than editing the page to no longer transclude the template, I don't know of any fix for this until WMF people get a chance to look at it. I tried editing or deleting the template, but everything failed with the same exception. If Special:EditPage/Template:Purple starts working, that probably means they've fixed the problem. Anomie 15:50, 3 May 2025 (UTC)

@Anomie Hm, that is weird, Nihiltres removes {{pp-template|small=yes}} and instead of storing the <text> properly it uses a selfclosing <text> with a hash that can't be found elsewhere in the export? Is there an oversighted revision or something? Polygnotus (talk) 17:41, 3 May 2025 (UTC)
The history is available, and the most recent version that doesn't throw an error is 17:52, 23 January 2009, which is editable. --Redrose64 🌹 (talk) 18:07, 3 May 2025 (UTC)
@Redrose64 If you do an export you can get the revision after that one too. But the weird thing is that it has a self-closing <text> and the SHA1 hash is not used previously as far as I can see (but I am not an oversighter/admin). Usually when it is a "new" revision that hasn't been stored before it stores the entire revision in <text> and if it is the same as an existing revision it uses the SHA1 hash to refer to it. Polygnotus (talk) 18:08, 3 May 2025 (UTC)
The phab ticket appears to show that database rows have been deleted, some of which where still in use. That might explain why the history no longer makes any sense. -- LCU ActivelyDisinterested «@» °∆t° 18:43, 3 May 2025 (UTC)
It does, thanks. Polygnotus (talk) 19:07, 3 May 2025 (UTC)
You can still run 'What links here'[41], most articles just display the error message. Any article that doesn't display the message will if you purge it, so it's only a matter of time before all those articles are broken. -- LCU ActivelyDisinterested «@» °∆t° 18:46, 3 May 2025 (UTC)
@ActivelyDisinterested Should we be temporarily removing the template, or waiting for a fix. Having articles like American English broken seems not very reader-friendly. Cremastra talk 19:45, 3 May 2025 (UTC)
I'm guessing it was transcluded into American English by a template of another article, as that article is fixed now and I can't see any related edit in the articles history. I would say to wait for the WMF to fix the issue, but that doesn't appear to be taking it's time. For some articles, Diego de Almagro for example, it requires a minor change and I'm not sure it's even truly necessary, others like Chinese classifier it's usage is complex and should probably be left for the fix. -- LCU ActivelyDisinterested «@» °∆t° 20:34, 3 May 2025 (UTC)
Looks like the template is fixed now. Anomie 03:38, 4 May 2025 (UTC)
Patched, rather than fixed. It appears that Zabe (talk · contribs) has gone back to the most recent viewable revision, edited that to remove an undesirable blank line at the top, also the redundant {{pp-template}}, and saved that. The intervening versions remain corrupt. --Redrose64 🌹 (talk) 09:22, 4 May 2025 (UTC)

Prevalence of citation templates

Related to Wikipedia talk:Citing sources#" The use of citation templates is neither encouraged nor discouraged":

Can someone estimate what percentage of articles are using Wikipedia:Citation templates?

An ideal answer might sound something like "As of 2025, we estimate that 3% of the 7,003,385 mainspace articles are disambiguation pages, 1% are unsourced, 5% contain only general references or inline citations not using footnotes, 75% contain at least one ref tag with a detectable citation template, and 16% contain refs but no detectable citation template".

I've tried an estimate with hastemplate:cite_book in Special:Search and come up with about 5.3 million articles for the four basic citation templates (cite web/news/book/journal). This is probably a good enough estimate, but if there are better ways to find this, I'd be happy to have better numbers. WhatamIdoing (talk) 20:35, 30 April 2025 (UTC)

Since all of the cs1|2 templates use Module:Citation/CS1, this link should give a close approximation of how may article use that module – at this writing 6.1 million-ish.
Trappist the monk (talk) 20:43, 30 April 2025 (UTC)
Does that count include only the article namespace or are drafts and userspace etc. included? —Kusma (talk) 20:50, 30 April 2025 (UTC)
All namespaces. For mainspace only, this search shows 5.5 million-ish articles.
Trappist the monk (talk) 21:43, 30 April 2025 (UTC)
That's close enough. Does anyone remember offhand whether dab pages are included in the 6.98 million articles? (If not, then that's a bit more than 78% of articles; if so, then it's closer to 81%. WhatamIdoing (talk) 23:14, 30 April 2025 (UTC)
They are. (See also phab:T41913.) Izno (talk) 23:32, 30 April 2025 (UTC)
That says 5–6% are dab pages. That means 83% of non-dab articles contain at least one citation template. WhatamIdoing (talk) 23:35, 30 April 2025 (UTC)
@WhatamIdoing: note that disambiguation pages can contain citations, even though it is unusual. This search finds 118 disambiguation pages with citations; including set index pages that rises to 13000. MKFI (talk) 11:58, 2 May 2025 (UTC)
I thought we actually had a rule against adding citations to dab pages. WhatamIdoing (talk) 19:48, 2 May 2025 (UTC)
Yes, disambiguation pages with references would be considered as an error. Editors unfamiliar with WP:DDD may occasionally add references. olderwiser 19:53, 2 May 2025 (UTC)
But citations are allowed for the very similar Set Index pages.Nigel Ish (talk) 10:19, 5 May 2025 (UTC)

Reply tool

Don't know why it's taken me this long to ask, but I can't copy and paste links when using the reply tool, it turns the link https://www.taylorfrancis.com/books/mono/10.4324/9781315698014/world-monarchies-dynasties-john-middleton into "World Monarchies and Dynasties | John Middleton | Taylor & Francis eBo". To get round this I've been copying the link into notes.io and then copy-pasting part of the link, ie. "ttps://www.taylorfrancis.com/books/mono/10.4324/9781315698014/world-monarchies-dynasties-john-middleton". Does anyone else have this problem?

Sidenote, an improvement to the reply tool could be that using {{od}} removes all indents? At the moment the indents stay the same as when you don't use it. Kowal2701 (talk) 14:37, 5 May 2025 (UTC)

Kowal2701, do you happen to be using the Edge browser? To disable this behavior: go to Settings → section "Share, copy, and paste" → select "Plain text". Hope this helps. —⁠andrybak (talk) 14:41, 5 May 2025 (UTC)
@Andrybak That's worked, thank you so much! That's been such a pain lol. And at WP:Talk pages project#Limitations it says the reply tool won't work with od, so it's already something they've thought about Kowal2701 (talk) 14:49, 5 May 2025 (UTC)
Without changing the settings, you can also try using Ctrl-Shift-V to paste plain text, or right mouse click -> Paste as -> Plain text. isaacl (talk) 15:13, 5 May 2025 (UTC)
This problem happens because when you copy "https://www.taylorfrancis.com/books/mono/10.4324/9781315698014/world-monarchies-dynasties-john-middleton" from the Edge address bar, Edge actually copies it as "World Monarchies and Dynasties | John Middleton | Taylor & Francis eBo" (HTML text with a link), which confuses our tools. It actually works in reply tool's visual mode; but in source mode, the formatting is removed, and that leaves just "World Monarchies and Dynasties | John Middleton | Taylor & Francis eBo". VisualEditor also has problems with it, because it is configured on Wikipedia to remove external links from pasted text (this is reported as T341281). Matma Rex talk 17:49, 5 May 2025 (UTC)

Tech News: 2025-19

MediaWiki message delivery 00:11, 6 May 2025 (UTC)

Lost the delete button again

Hi. I've lost the ability to delete. It was fine yesterday but today the option has disappeared from the "Page" drop-down. This isn't the first time it's happened. Last time this happened, all the suggested solutions failed but the option was restored without explanation. Deb (talk) 08:14, 6 May 2025 (UTC)

Well, it's back again. I wonder if I'll ever know what caused it. Deb (talk) 09:18, 6 May 2025 (UTC)
If it happens again then try Special:DeletePage or add ?safemode=1 to the url of a wiki page. It doesn't fix the original problem but you can probably delete while the problem persists. PrimeHunter (talk) 10:10, 6 May 2025 (UTC)
Also, try a different skin, and see if it's still missing. --Redrose64 🌹 (talk) 11:25, 6 May 2025 (UTC)
One odd thing is it looks like you are 2x or even 3x loading a related userscript in (via your global.js, commons.js, and monobook.js). May want to review that. — xaosflux Talk 10:24, 6 May 2025 (UTC)

The insert downbar is missing

Suddenly the bar to insert special characters disappeared. Is this a consequence of some update? Svartner (talk) 03:21, 5 May 2025 (UTC)

It's occurring in the Vector Legacy template at least. Svartner (talk) 03:34, 5 May 2025 (UTC)
@Svartner I tried testing the special characters menus in Vector-2022, Vector-Legacy, and Monobook, and they all (both top and bottom menus, on Enwiki) seem to work: Screenshot. (I also tested them in the visual editor, with the same results). I wonder if it might be related to other settings that you use. If you're still experiencing this problem, please (1) clarify if you're talking about the top or bottom special characters menu in the source editor, or the top-menu in the visual editor, (2) try testing with all your gadgets/user-scripts disabled via safemode=1 (e.g. this link), (3) perhaps link to a screenshot of the problem, if it's more complex to describe in words. -- I hope that helps. Quiddity (WMF) (talk) 20:09, 5 May 2025 (UTC)
@Svartner: At Preferences → Gadgets make sure that "(D) CharInsert: add a toolbar under the edit window for quickly inserting wiki markup and special characters (troubles?)" is enabled. --Redrose64 🌹 (talk) 23:05, 5 May 2025 (UTC)
The option is enabled, but the toolbar still disappeared. I guess it's a bug in the Vector Legacy template. Svartner (talk) 03:36, 6 May 2025 (UTC)
Try these links:
When I do so,  Works for me in all skins, including Vector legacy. Sometimes, there's a slight delay before the box appears, but that often happens with JavaScript. There might be some collision between the charinsert gadget and some other gadget that you have enabled. Other than that, it's going to be something at your end - a browser setting, most likely. --Redrose64 🌹 (talk) 06:54, 6 May 2025 (UTC)
Done, worked after I deleted all the browser cookies. Thank you so much. Svartner (talk) 12:18, 6 May 2025 (UTC)
Is about the bottom special characters ([43]) Svartner (talk) 03:40, 6 May 2025 (UTC)

"This editor has been thanked ____ times" userbox

I'd like to make a userbox for my collection that generates a "This editor has been thanked ____ times", and which auto-populates the blank with the number of thanks received in the "Thanks log" (it would be a real pain to maintain manually for me). Is this feasible? BD2412 T 18:54, 5 May 2025 (UTC)

Not a full solution, but monitor WP:QUARRY#Number of thanks received for possible help in that direction. I suspect a module could be written to run it and return the value, and then either wrap it in a template or invoke it from your userbox, but you would still need to write the module. Anyway, this is a starting point. Mathglot (talk) 20:13, 5 May 2025 (UTC)
Thanks. This is not just for me, by the way, I have seen another editor keeping a manual count of their thanks received, and it struck me that this was a good metric to post. BD2412 T 20:24, 5 May 2025 (UTC)
Indeed. I am interested in a subset of this, involving being thanked for a revert. Sometimes when I revert an edit, depending on some combination of the user's level of good-faith editing, amount of effort they expended on their edit, and their newcomer status, I will leave a very detailed edit summary, both to let them down gently about why I reverted their edit, and to try to link relevant P&G and explain how to avoid the issue in the future. Some of those editors then come back and thank me for reverting them (or, more likely, for the long explanation). In any case, that is a particularly gratifying kind of thanks to receive. If your user box works out, it would be nice to have it be extensible in various directions, such that it would, as an option, provide the "thanks for reverting me" count, and link it to the Quarry query so you could execute it and see the list. I can imagine other thanks-interested users might have other subsets of thanks they might want to examine, and your user box solution, if it works out, could, I hope, be the baseline for several flavors of thanks queries. Good luck, and I am very interested to see how this develops. (edit conflict) Mathglot (talk) 20:41, 5 May 2025 (UTC)
@Mathglot Unless something has changed, modules can't run database queries. --Ahecht (TALK
PAGE
)
14:07, 6 May 2025 (UTC)
Yes, but bots can, apparently, and another way was proposed involving {{database report}} and that seems like the way to go. Mathglot (talk) 15:03, 6 May 2025 (UTC)
Auto-population is not possible in current wikitext. Izno (talk) 20:32, 5 May 2025 (UTC)
At worst, one could very easily create a userbox template that says, "See how many times this user has been thanked", and link 'how many times' to the Quarry query, and 'been thanked' to the first 50 in the log. Find an existing userbox with colors and styles that you like, and some new text for it, or create one, and I can update it to provide the links. Mathglot (talk) 20:48, 5 May 2025 (UTC)
You could probably wrangle SDZeroBot into wrapping onlyinclude tags around the query result on a {{database report}} subpage. —Cryptic 23:14, 5 May 2025 (UTC)
Oooh, I need to look into that! Great tip. Mathglot (talk) 23:46, 5 May 2025 (UTC)
"This user has given thanks _____ times" might also be a good thing. DuncanHill (talk) 20:37, 5 May 2025 (UTC)
What about userbox operation with text something like this:
  • {{userbox thank stats|to-me=yes|by-me=yes}} ⟶ "See how many times this user has [Quarry-link-1 been thanked] or [Quarry-link-2 thanked others]"
Or suggest wording. Mathglot (talk) 20:55, 5 May 2025 (UTC)
BD2412, here's your quarry query, thanks to Cryptic. It has to be run each time, but as mentioned above, it could be embedded as a link in a user box, if you wish. Mathglot (talk) 23:20, 5 May 2025 (UTC)
Thank you, that is something. Is there a way another editor could personalize it to themselves? Or would they just need to request a new query? BD2412 T 23:50, 5 May 2025 (UTC)
I think Cryptic's suggestion @23:14 above is the way to go. I think we probably have what we need to get you something closer or even exactly what you want, and we should probably adjourn here and move to your Talk page to deal with the details of implementing a new {{database report}} for you that other VPT readers won't be interested in. That said, keep monitoring this page in case someone comes up with an even better idea, but failing that, I think we are done here. Rendezvous at your Talk page. Mathglot (talk) 01:12, 6 May 2025 (UTC)
To make this into a service for everyone: editors sign up with their username listed on a page. This page is read by a bot running on Toolforge or anywhere. For each name the bot retrieves the Quarry results once a day, and posts the results to a Commons .tab page (JSON object). The JSON is retrieved by a Module on Enwiki using mw.ext.data.get(), which displays the results in the userbox, via a template that invokes the Module. Since the JSON is hosted on Commons, it would be accessible to all 300+ wikis, and so the list of usernames in step 1 could be hosted on metawiki to make into a multi-site service. -- GreenC 01:54, 6 May 2025 (UTC)
A singular database report could list top 10,000 or so editors by number of thanks, and a module could extract the numbers to show on the userbox. Here's a module I created to extract my editcount and rank from the Wikipedia:List of Wikipedians by number of edits. CX Zoom[he/him] (let's talk • {CX}) 05:05, 6 May 2025 (UTC)
Reluctant to do this, because it seems more likely to be used for evil than good, but enh. Remember to like and subscribe. —Cryptic 09:01, 6 May 2025 (UTC)
I can't believe that this didn't already exist :) —Alalch E. 17:57, 6 May 2025 (UTC)

Template:Video game reviews, custom scores blank

Hi! On Star Wars: Return of the Jedi (video game)#Reception, all the review scores made by custom reviewers are blank. I have 11 reviewers that aren't named by the template, so they get custom names. The template docs says it only supports 10 but it's the same if I delete the 11th one. If I insert a dummy score like "rev1score = Test Score 123" it's still blank. I don't know what else to do! Is it possible to show these scores, and to show 11 reviewers? See also my minor citation errors and tell me if there's a better location for those URLs. Thanks! — Smuckola(talk) 21:01, 6 May 2025 (UTC)

For some reason, the template requires the "S" in |rev1Score= to be upper-cased, unlike nearly all templates. I fixed the parameter names for you. – Jonesey95 (talk) 21:34, 6 May 2025 (UTC)
@Jonesey95: You are so good! I see you started a thread, thanks. — Smuckola(talk) 23:55, 6 May 2025 (UTC)

Dual right-float interaction: 'Pinned' box showing up in wrong Teahouse discussion

If you go to the WP:Teahouse, the top discussion, § Assistance for new editors unable to post here is pinned with the {{Pinned}} template, which displays a small, right-floated box identifying the archive suppression. However, the 'Pinned' box appears down the page, currently near the bottom of the second discussion. This is also where the long, right-floated Table of Contents ends. It seems clear that there is some kind of unintended interaction of two right-floated elements, which I would have expected to see with the inner one right-floated within the outer one, not after it.

Anyway, I tried various adjustments usings breaks and clears and other things, and was not able to get the 'Pinned' box back to the top discussion where it belongs. CSS hero needed. Thanks, Mathglot (talk) 09:21, 5 May 2025 (UTC)

Mathglot, what skin is this? It looks fine for me on V22. — Qwerfjkltalk 10:19, 5 May 2025 (UTC)
I added overflow: hidden to the yellow box in that section to trap the floating elements inside the box (see explanation at MDN: Block_formatting_context#contain_internal_floats).
Matma Rex talk 17:34, 5 May 2025 (UTC)
@Mathglot Re [44], display: flow-root works too, but it's a relatively new feature (https://caniuse.com/flow-root) and I didn't want to have to figure out which browsers it would or wouldn't work on. Matma Rex talk 18:28, 5 May 2025 (UTC)
(edit conflict) Matma Rex, many thanks for that, and especially for the BFC link, which kind of unlocked a door for me. My knowledge of the box model was pretty good, but I was sadly lacking in BFC and its effects, and have been reading up. I came up with an alternate solution of defining that div as a flow-root which feels like attacking it top-down, so to speak, instead of using overflow:hidden which feels like mopping up after, sort of. This works, too (at least on V2010). Can you have a quick look and see if this seems like a decent approach, or should we go back to yours? I am still reading (and found several other good sources, including this one, which works for me) but your link to MDN is what got me started. And thanks for the phab links, that's my next stop.
Qwerfjkl, I am on Vector legacy, in fact. Can you have a quick look at the Teahouse again, to make sure that my recent change in approach did not break it for V22? I am a neophyte in BFC, but I need to get on board, and this is helping me a lot. Mathglot (talk) 18:34, 5 May 2025 (UTC)
(post-ec) Matma Rex, oh, so I should revert my change for maximum robustness, would you agree? Mathglot (talk) 18:36, 5 May 2025 (UTC)
It's probably fine. Matma Rex talk 18:40, 5 May 2025 (UTC)
Just noticed your caniuse link: what a great resource for looking at browser compatibility issues. Only, they don't have a column for the best browser (ahem) which is Vivaldi! Also, that took me to something called the clearfix hack; I presume that was what your original fix was, right? Mathglot (talk) 20:00, 5 May 2025 (UTC)
There are two varieties of clear fix. One just adds a thing that clears like {{clear}} to the end of the container, which is employed here and there for floating things but can make downstream behavior kind of hard to predict for a template user (and may add undesirable padding). The second is to add some CSS :after the element you're trying to ensure clears the entirety of the internal elements, but that requires TemplateStyles. Generally, flow-root is probably the right approach today if you don't want to add a clear fix, and has been in use in a few widely used templates for a bit now. (At worst, there is some non-optimal display in browsers that are presently old enough soon to be in the MediaWiki Basic support level, but nothing that would prevent a user from reading the text.) And using flow-root directly makes the natural upgrade to flow root at a much later date easy to know and perform trivially. That said, I'm pretty sure I've bumped into some pecularities here and there with flow-root, or at least have felt tweaked by it. Izno (talk) 20:29, 5 May 2025 (UTC)
As for Vivaldi, it it obviously a Chromium browser and as such does not need separate tracking from the multiple other Chromium browsers. ;) One thing to look for besides MDN for quality of support is the statements at the top of MDN and elsewhere that call specific properties out as "baseline", for example MDN for display has "Baseline Widely available *", which can be more or less trusted to hit a significant chunk of our audience. Izno (talk) 20:31, 5 May 2025 (UTC)
Much appreciated; thanks! Mathglot (talk) 08:58, 7 May 2025 (UTC)

Sub-referencing: User testing

Hi I’m Johannes from Wikimedia Deutschland's Technical Wishes team. We are making great strides with the new sub-referencing feature and we’d love to invite you to take part in two activities to help us move this work further:

  1. Try it out and share your feedback
    Please try the updated wikitext feature on the beta wiki and let us know what you think, either on our talk page or by booking a call with our UX researcher.
  2. Get a sneak peak and help shape the Visual Editor user designs
    Help us test the new design prototypes by participating in user sessions – sign up here to receive an invite. We're especially hoping to speak with people from underrepresented and diverse groups. If that's you, please consider signing up! No prior or extensive editing experience is required. User sessions will start May 14th.

We plan to bring this feature to Wikimedia wikis later this year. We’ll reach out to wikis for piloting in time for deployments. Creators and maintainers of reference-related tools and templates will be contacted beforehand as well.

Thank you very much for your support and encouragement so far in helping bring this feature to life! Johannes Richter (WMDE) (talk) 15:06, 28 April 2025 (UTC)

If only you hadn't decided that VE's shortcomings meant you had to change from the straightforward syntax people had hammered out over years of discussion to a previously rejected option that tries to shove wikitext into a tag parameter. Anomie 12:41, 29 April 2025 (UTC)
Yes, the previous approach of wrapping a subreference citation in <ref>...</ref> with a parameter identifying the main citation was much cleaner and more flexible. It also allowed for generating metadata. -- Shmuel (Seymour J.) Metz Username:Chatul (talk) 14:36, 29 April 2025 (UTC)
Thanks for your feedback! See meta:Talk:WMDE Technical Wishes/Sub-referencing#Moving forward with sub-referencing for a detailed explanation why we chose the new syntax approach. In short: One of the main goals of sub-referencing was providing a MediaWiki solution for re-using references with different details which works for all users, no matter which editing interface they use. That's why we reached out to communities for feedback last year and decided to go with the new syntax. Johannes Richter (WMDE) (talk) 08:01, 30 April 2025 (UTC)
I've commented there already, and you ignored me there too. I read your reasoning there as "VE has shortcomings and we don't want to fix it, so we're choosing a worse solution". Anomie 11:20, 30 April 2025 (UTC)
Sorry for leaving your comment [45] without a reply, I was on leave until this week [46]. Please note that WMDE Technical Wishes is a small team dedicated to improve certain MediaWiki features. We do not have the resources to take on VisualEditor, that's what the Wikimedia Foundation is doing. We were faced with the option to stop our work on sub-referencing indefinitely – despite having worked on it for years – or continue with a different approach. Based on community feedback from different projects we decided to do the latter. Johannes Richter (WMDE) (talk) 12:19, 30 April 2025 (UTC)
I can't speak for Anomie, but personally, I worry with a new feature like this that it will be deployed half-baked, as the Visual Editor and Vector 2022 and dark mode have been, and then the developers will move on to another project, even as volunteer editors dutifully report bugs in Phabricator. If the Wikimedia Foundation has a lot of resources and still lets the Visual Editor and Vector 2022 languish for years with unresolved bugs that make life difficult for editors who need to fix or work around problems, how is the WMDE going to address the inevitable bugs that are reported when editors get their hands on this new feature and start making a mess? – Jonesey95 (talk) 13:32, 30 April 2025 (UTC)
Thanks for your feedback. As with any other feature we've developed in past years [47] we will continue to provide support for sub-references after deployment. Johannes Richter (WMDE) (talk) 10:46, 5 May 2025 (UTC)
Will there be a way to make it as user-friendly as {{sfn}} (which creates nice and readable wikitext) by suitable wrapper templates? And how would something like {{sfnm}} work with sub-references? —Kusma (talk) 13:44, 30 April 2025 (UTC)
sfn and sfnm would need to be provided the parent's name in addition to their current information, and the general references would need to be moved into a <references> or equivalent (at a minimum). At which point it is a serious question whether even to continue using sfn on any specific page. There is no template-use-wide promotion from one system to the other without bot or script or manual effort. Izno (talk) 15:40, 30 April 2025 (UTC)
So there's no way to make an intelligent version of {{sfn}}? The "parent" of {{sfn|Foo|Bar|2019|pp=3–5}} should obviously be CITEREFFooBar2019, which would need to be put somewhere as reference but that should not be necessary to specify again. I don't quite understand how {{sfnm}} could be emulated, though.
I can't personally see how the new system would be generally superior to use of our current sfn (but I can see that it would greatly improve the citation sections of German Wikipedia, where the use of citation templates is much less common than here). It will be just another citation style with its own set of advantages and disadvantages. —Kusma (talk) 16:43, 30 April 2025 (UTC)
There is no way to make an intelligent version of sfn that is guaranteed to work into the arbitrary future, even if it potentially works now, based on statements already made by the parsing team. And based on how strip markers work, I am pretty sure it would not be something that could be used today.
sfnm would need a new additional syntax, 1ap=Parent_Name or similar, just the same as sfn.
I can't personally see how the new system would be generally superior to use of our current sfn There are two primary preferable factors.
  1. It would not rely on templates, making it much more suitable for large pages. Eventually, we may even be able to remove the IDs that the cite modules output, benefiting the largest pages (WP:PEIS would be reduced).
  2. It integrates well with the Cite display. References in the reference list will be listed in the context of their parent, rather than arbitrarily located. And also, there will be integration with reference popups, so that you can see both the child and parent reference at the same time.
I think the second factors are the pretty killer feature that doom sfn, but being able to decrease the output of our citation module would be another win. And would coincidentally fix the issue that a number of Wikipedians think is a non-issue with respect to ouptutting duplicate IDs on many pages. Izno (talk) 16:54, 30 April 2025 (UTC)
I haven't actually met WP:PEIS in articles yet, so I don't think it is a huge issue. And the code looks a bit messy so I am sure people will use suitable wrapper templates anyway. For the second point, the proposal replaces one arbitrary ordering (by the point where a specific reference including page number is first used in an article) by a different arbitrary ordering (by the point where a specific reference is first used, and these are then sorted by where the specific page number is first used). It is just a new and additional citation style. I don't think the features are "killer" enough to convince the people at FAC to make this the default in less than a decade or two. —Kusma (talk) 18:27, 30 April 2025 (UTC)
@Kusma I monitor this search, and there are usually half a dozen or so articles per day that exceed the limit and need to be fixed. I'd say that the majority of my edits these days are fixing WP:PEIS errors in mainspace. --Ahecht (TALK
PAGE
)
19:08, 7 May 2025 (UTC)
@Ahecht, thank you. From a cursory glance, excerpt transclusion and flags seem to be typical culprits, mostly in list-type articles (which I don't interact with much). Are there any where citation templates are a problem? That would be very useful to know for the folks over at Wikipedia_talk:Citing_sources#RFC_on_preferring_templates_in_citations. —Kusma (talk) 19:49, 7 May 2025 (UTC)
@Kusma Sure, there are lots of longer pages where a majority of the post-expand include size is citation templates. In many of these cases this could be fixed by using {{#invoke:cite|web}} in place of {{cite web}} (the former has half the include size of the latter), but that's usually a last resort since it makes the source "ugly". Usually, if an article has so many citations that the citation templates are the problem (and we're often talking close to 1,000 citations), it's time to split the article anyway. --Ahecht (TALK
PAGE
)
21:22, 7 May 2025 (UTC)

Neither id nor anchor worked properly inside table

Please see Template talk:Anchor#neither id nor anchor worked properly in one case. --Altenmann >talk 21:24, 7 May 2025 (UTC)

Hello. For some reason, the mobile search bar seems to be having issues with some pages, where it refuses to show them as a partial title match. It seems completely random which pages are affected, but try typing Kirby and the Forgotten Land or Georgette Heyer into the search bar and you will see what I mean. This issue affects both desktop and mobile. The weirdest part is that not every page is affected, only some. If anybody knows what is causing this, please let me know. Thanks, QuicoleJR (talk) 17:12, 7 May 2025 (UTC)

I've also noticed this. For some reason, it seems that search is currently not working correctly. Lovelyfurball (talk) 17:14, 7 May 2025 (UTC)
It also is an issue on the desktop with the legacy 2010 skin. - Favre1fan93 (talk) 19:49, 7 May 2025 (UTC)
me to if you search like macos 10.9-15 the versions wont show up 50.209.62.201 (talk) 20:19, 7 May 2025 (UTC)
“partial” ye more like completely inaccurate i get 2005 page search results when i look up 2025 2601:586:4600:58B0:D874:DC52:810D:1C3C (talk) 21:25, 7 May 2025 (UTC)
Wikidata weirdness
...is it possible that this is somehow related to the search/selection dropdowns on Wikidata being...discolored (in MonoBook)? - The Bushranger One ping only 21:08, 7 May 2025 (UTC)
My suspicion: WP:ITSTHURSDAY. --Redrose64 🌹 (talk) 22:35, 7 May 2025 (UTC)
I have had difficulty in searching for Second presidency of Donald Trump, Kash Patel, and United States Secretary of Health and Human Services, though I was able to populate the last page just by searching "United States Secretary of Health", a redirect. elijahpepe@wikipedia (he/him) 22:40, 7 May 2025 (UTC)
Been having this issue today as well. On mobile and desktop. Skyversay (talk) 02:59, 8 May 2025 (UTC)
Seems to be about half of all articles:
Extended content
(async function() {
	let list = "", random = (await $.get('https://en.wikipedia.org/w/api.php?action=query&format=json&list=random&rnlimit=25&rnnamespace=0')).query.random;
  
 	for (let r of random) {
	  let result = await $.get(`https://en.wikipedia.org/w/rest.php/v1/search/title?q=${ encodeURIComponent(r.title.slice(0, -1))}&limit=100`);
    list += `${r.id} ${r.title}: ${result.pages.map(s => s.id).includes(r.id) ? "FOUND" : "MISSING"}\n`;
   }
	console.log(list);
})()
20711499 Big Daddy G: FOUND
23148143 List of Salyut expeditions: FOUND
63868331 Sinicia gens: MISSING
1517496 Blessed Sacrament Catholic Church (Ottawa): FOUND
61762773 Francesco d'Errico: MISSING
40368221 Dasht-e Ahmad: MISSING
1806748 Doumbi Fakoly: FOUND
57248169 Thomas Kavali: MISSING
14070558 Celtic academy: FOUND
63368386 Árpád Érsek: MISSING
27371437 Antliff: FOUND
10393060 Paul Masnick: FOUND
43161650 Squash at the 2014 Commonwealth Games – Women's doubles: MISSING
20474762 Ponca Reservation: FOUND
17987330 Qiu Fazu: FOUND
15262879 Diocese of Killala: FOUND
7246021 Star-Spangled Banner (flag): MISSING
30371379 Amasa Day House: FOUND
9930252 Iosif Chișinevschi: MISSING
2011429 Wafangdian: FOUND
4302235 Lillias Hamilton: MISSING
67844683 Tachidiidae: MISSING
57345495 Ceraticelus bulbosus: MISSING
40275632 Blacksburg Historic District: MISSING
40898555 Djiboutian art: MISSING
Suffusion of Yellow (talk) 03:17, 8 May 2025 (UTC)
I filed T393663 about this now. Matma Rex talk 03:44, 8 May 2025 (UTC)
The issue seems to have been resolved. QuicoleJR (talk) 13:17, 8 May 2025 (UTC)

XTools error

I've tried logging in again but the error message persists. Achmad Rachmani (talk) 12:22, 8 May 2025 (UTC)

Seems to be a problem on their end. A bug, phab:T393703 is open on this. — xaosflux Talk 13:14, 8 May 2025 (UTC)
See also phab:T393520. Achmad Rachmani (talk) 14:38, 8 May 2025 (UTC)
Fixed! My apologies for the disruption. MusikAnimal talk 19:53, 8 May 2025 (UTC)

Is this a potential security risk?

Hello. I have thought of this hypothetical scenario:

  1. Example Jr makes a user script, User:Example Jr/script.js.
  2. Other users import the script with importScript('User:Example Jr/script.js');.
  3. Example Jr changes their username to Example Sr.
  4. A bad actor creates an account with the now available username Example Jr.
  5. That bad actor, now able to edit User:Example Jr/script.js, places whatever code they wish to steal accounts, cause mass vandalism (if the script is widely used), etc.

Can this happen? Or do I not understand? I know that the page would be moved (because of the name change) but they could remove the redirect.  loserhead (talk 16:26, 9 May 2025 (UTC)

@Loserhead for WMF wikis at least, ordinary users should not be able to create new accounts with the now vacated username. A "bad actor" as described in step 4 would be a trusted user in one of the many Foundation wikis (holding the override-antispoof userright). – robertsky (talk) 16:41, 9 May 2025 (UTC)
@Robertsky Thanks for clearing that up.  loserhead (talk 17:30, 9 May 2025 (UTC)
Redirects do not work in Javascript pages, so when a javascript page is moved, no redir is created. --Redrose64 🌹 (talk) 20:24, 9 May 2025 (UTC)
@Redrose64 That is not correct, they do and it is. They use a different format from wikitext redirects. Matma Rex talk 21:40, 9 May 2025 (UTC)
You mean like User:Serial Number 54129/common.js? That's just a normal line of Javascript that uses the mw.loader.load() function to pull in another JavaScript page. --Redrose64 🌹 (talk) 22:34, 9 May 2025 (UTC)
Yes, it's valid JavaScript. But it's also recognized as a redirect by the software, as illustrated by the fact that you had to use {{-r}} to link directly to it. CSS pages work similarly with a specially marked @import, and Lua modules with return require. Anomie 22:51, 9 May 2025 (UTC)
It is a redirect, otherwise you wouldn't have to use a link with redirect=no to link to it :) Its "Page information" also states this clearly. Matma Rex talk 22:52, 9 May 2025 (UTC)
The relevant change for Javascript pages was phab:T73200. Izno (talk) 01:20, 10 May 2025 (UTC)

New user's userspace caught in title blacklist

So, I recently found that a new user's talk page: User talk:Epic failure72 is caught in Mediawiki:Titleblacklist due to .*Epic fail.* in it, meaning that they won't be able to create pages in their own userspace and user talk space. I believe that the blacklisted title should also blacklist usernames automatically, or there should be a way to exempt users from titleblacklist within their own userspace. Thanks! CX Zoom[he/him] (let's talk • {CX}) 12:05, 9 May 2025 (UTC)

@CX Zoom, AFAIK username blacklisting works via m:Title blacklist only. —Kusma (talk) 12:30, 9 May 2025 (UTC)
Yes, just those in the title blacklist at Meta. Those that are in the local blacklist prevent page creation but do not prevent username creation. CX Zoom[he/him] (let's talk • {CX}) 13:57, 9 May 2025 (UTC)
Suppose they could ask for an override in MediaWiki:Titlewhitelist for the more specific username + wildcard. 14:06, 9 May 2025 (UTC) — xaosflux Talk 14:06, 9 May 2025 (UTC)
Makes sense. Thanks! CX Zoom[he/him] (let's talk • {CX}) 09:05, 10 May 2025 (UTC)
Since SUL, the local title blacklist can't block account creation, because someone could easily get around it by creating their account on Meta. The only other way for it to possibly work would be for all 800-some active projects' blacklists to apply, which would be challenging to check for every creation. Anomie 22:47, 9 May 2025 (UTC)

Noladeti Lashalom needs to be linked to this Hebrew article. I can't do it through wikidata since I am VPN-locked. Can someone do it for me? thanks NorthernWinds (talk) 08:59, 10 May 2025 (UTC)

@NorthernWinds don't worry about the language links in the future. New articles are usually picked up quite fast by bots and editors on wikidata side. If it is still an issue editing on wikidata for you, you might want to apply for WP:IPBE there. – robertsky (talk) 09:16, 10 May 2025 (UTC)
Thank you! If it becomes an issue again, I will apply for WP:IPBE there too NorthernWinds (talk) 09:37, 10 May 2025 (UTC)

Can't SSH to my Toolforge account

I'm running a bot on Toolforge, but suddenly I can't SSH into login.toolforge.org any longer. The issue persists even after generating a new key and registering it to my developer account.

debug1: Server accepts key: [EMAIL REDACTED] ED25519 SHA256:[KEY REDACTED] agent
debug3: sign_and_send_pubkey: using publickey-hostbound-v00@openssh.com with ED25519 SHA256:[KEY REDACTED]
debug3: sign_and_send_pubkey: signing using ssh-ed25519 SHA256:[KEY REDACTED]
debug3: send packet: type 50
Connection closed by 185.15.56.62 port 22

The server accepts the key, but then immediately closes the connection. Has anyone else experienced this or know what might be going on? Dragoniez (talk) 07:15, 10 May 2025 (UTC)

Never mind, I didn't do anything but it's working again now. Maybe the system was down? We never know. Dragoniez (talk) 08:27, 10 May 2025 (UTC)
See phab:T393732. — Alien  3
3 3
15:03, 10 May 2025 (UTC)

Can the template list be closed by default in the editing window?

Note: Actually, it is just after the edit window, and is labeled "Templates used in this preview".

It is really annoying to have to scroll by a huge list of templates (especially in country list articles) before I can see changes, or see the full preview.

I know I could close the list but I often forget to do so before scrolling past the point I can easily do so. --Timeshifter (talk) 01:40, 10 May 2025 (UTC)

Not by default afaik, but there's a keyboard shortcut for folding. (I only discovered it a few weeks ago, and it blew my mind!) -- Avocado (talk) 14:41, 10 May 2025 (UTC)
@Avocado: It isn't working for me. See:
List of countries by intentional homicide rate#By country, region, or dependent territory
Mediawiki remembers whether the template list was collapsed or not from before. Most of the time though I don't pay attention because I am not on country list pages, and the template list is much shorter. And I may have looked for some template on that short list.
But then I happen to be working on a country list page, and have this problem. I would like some CSS to keep the template list closed by default regardless of my last use of it. --Timeshifter (talk) 17:58, 10 May 2025 (UTC)
Yeah, the keyboard shortcut isn't sticky. Fwiw, I don't think this is something you can do with CSS, but there might be a javascript solution. Afraid I'm not personally familiar enough with the editor to make any specific suggestions for that, tho. -- Avocado (talk) 18:59, 10 May 2025 (UTC)
The keyboard shortcut is not working for me at all on Firefox on Win 10 Pro.
Javascript is fine too. --Timeshifter (talk) 19:35, 10 May 2025 (UTC)
It works for me in Firefox on Mac -- or at least, the "fold all"/"unfold all" ones do. You do have to click into the edit box first, which sometimes gets me. (And this is in the 2010 source editor, fwiw, with syntax highlighting enabled.) -- Avocado (talk) 23:19, 10 May 2025 (UTC)

I see the problem. We are talking about 2 different things. You are talking about within the edit window.

I am talking about the template dropdown list after the edit window labeled "Templates used in this preview". I added a note at the top of the thread. --Timeshifter (talk) 23:38, 10 May 2025 (UTC)

Oh! Sorry for not reading closely! -- Avocado (talk) 00:03, 11 May 2025 (UTC)
The "Templates used in this preview" list, and the other collapsible lists below the edit form, should remember their state. If you collapse it, then it should start off collapsed the next time you open the editor. Matma Rex talk 00:07, 11 May 2025 (UTC)
Timeshifter knows that. They wrote I would like some CSS to keep the template list closed by default regardless of my last use of it., so what they want is for the collapse state to be forgotten, and re-initialised to collapsed. The related HTML is
<div class="templatesUsed">
  <div class="mw-templatesUsedExplanation mw-editfooter-toggler mw-editfooter-toggler-collapsed" ...>
    ...
  </div>
  <ul class="mw-editfooter-list mw-collapsible mw-made-collapsible mw-collapsed" style="display: none;">
    ...
  </ul>
</div>
when collapsed, and
<div class="templatesUsed">
  <div class="mw-templatesUsedExplanation mw-editfooter-toggler" ...>
    ...
  </div>
  <ul class="mw-editfooter-list mw-collapsible mw-made-collapsible" style="">
    ...
  </ul>
</div>
when uncollapsed. There's an associated CSS rule:
[dir="ltr"] .mw-editfooter-toggler-collapsed.mw-editfooter-toggler::before {
  transform: rotate(-90deg);
}
which makes the triangles point to the right when the list is collapsed. Collapsing and uncollapsing are done by means of some JavaScript, which:
  • if the current state is collapsed: removes the mw-editfooter-toggler-collapsed and mw-collapsed classes, and also removes the display: none; declaration
  • if the current state is uncollapsed: restores the mw-editfooter-toggler-collapsed and mw-collapsed classes, and also restores the display: none; declaration
The presence or absence of the mw-editfooter-toggler-collapsed class determines whether the triangle points right or down.
The presence or absence of the display: none; declaration declaration determines whether the list is hidden or visible.
I can write a CSS rule (or two) which will make the list start off collapsed, but the collapsing would then be permanent; I think that JavaScript is required to then make it uncollapsed on click. --Redrose64 🌹 (talk) 10:42, 11 May 2025 (UTC)
If you can get it to always be collapsed when I load, reload, or save a page that would be great. But I want to be able to manually open the list. I'll use whatever works that I can add to my user CSS and user JS. --Timeshifter (talk) 18:18, 11 May 2025 (UTC)
Oh, sorry I misread that. You could do this in your user JS:
localStorage.setItem('mwedit-state-templatesUsed', '0');
This will change the remembered state of the list to be collapsed whenever you load a page. Matma Rex talk 19:54, 11 May 2025 (UTC)
Thanks! It works. Others may be interested. If so, add it here:
Special:MyPage/common.js
I see you are a mediawiki developer. Maybe this option can be added here:
Special:Preferences#mw-prefsection-editing
--Timeshifter (talk) 00:41, 12 May 2025 (UTC)