Wikiwand AI

Wikipedia:Village pump (technical)/Archive 229

From Wikipedia, the free encyclopedia

HTML bold tags displayed literally for LDRs

I have noticed that HTML bold tags are displayed literally for LDRs when previewing a section edit. Firefox in Windows; Safari in iPad OS; logged in or out. Steps to reproduce:

  1. Go to any page that uses WP:List-defined references - for example, Duffield Memorial, which is TFA today
  2. Find the section where the LDRs are defined - usually, "References"
  3. Click the Edit link for that section
  4. Click Show preview
  5. Observe that every reference begins with the eight characters <b>^</b> displayed literally, and not as the expected caret in boldface

Is this a new bug? --Redrose64 🌹 (talk) 15:43, 6 April 2026 (UTC)

I can reproduce in Brave as well. It appears to be a bug. We have customized MediaWiki:Cite references link one and MediaWiki:Cite references link many format to add the bold tick marks this way. I do not see a change in the Cite project on Phab. LDR is probably also not well-tested. The issue does not appear when you edit the entire article, rather than just the section, so it may be an interaction with the code that checks for use of references in the rest of the article, which does appear to have a change or two recently in the Cite project. Izno (talk) 16:00, 6 April 2026 (UTC)
phab:T422458 now. Izno (talk) 04:47, 7 April 2026 (UTC)
Thank you --Redrose64 🌹 (talk) 07:30, 7 April 2026 (UTC)

notification from another wiki not clearing visually

Since yesterday, I had a "More alerts from another wiki -> Simple English Wikipedia" notification. I clicked to clear it as I've been doing so far, but it just comes back. Clicking on the notification body gets me to the meta help page, and doesn't help. I had to actually manually go to the simple URL, and clear it over there.

Did something change about this? It used to be possible to clear the notification from here. --Joy (talk) 13:28, 7 April 2026 (UTC)

That's phab:T422218. Ponor (talk) 13:36, 7 April 2026 (UTC)

DISPLAYTITLE doesn't work on User pages on mobile

For example User:DVRTed just has the regular title when viewing on mobile, but a custom one on desktop. In main space, like in Untitled Warhammer 40,000 television series, it seems to work fine. Is this intended? 🍅 fx (talk) 01:28, 8 April 2026 (UTC)

Border corners

Hello, I encountered a bug in the wikicode. (or HTML, CSS, PHP, ...) Compare the following two tables; it looks like the border corners are "allergic" to rowspans:

So as you can see, the corners on the right side are broken. Or maybe it's a Firefox issue. Or wiki-skin (Vector legacy 2010)... Could you write what you think about it? Thanks.
Maiō T. (talk) 20:10, 6 April 2026 (UTC)

@Maiō T. Those look identical to me in Edge. Might be a Firefox problem. --Ahecht (TALK
PAGE
)
20:50, 6 April 2026 (UTC)
Can confirm that the issue is present in Firefox for Android. No rendering issues in Chrome on Android. So it is specific to Firefox. Might be related to Bug 1000435 "Table cell borders disappear partially with border-collapse and rowspan". —⁠andrybak (talk) 20:52, 6 April 2026 (UTC)
I see the odd corners in Firefox but not Microsoft Edge, Google Chrome or Opera. It's unrelated to Wikipedia and MediaWiki. It happens when border-collapse:collapse (see https://www.w3schools.com/cssref/pr_border-collapse.php) and rowspan are combined. I uploaded a simplified example at http://primerecords.dk/Wikipedia/border-collapse.html. The only content of the file is:
<table style="border-collapse:collapse">
<tr>
<td style="border:8px solid">A</td>
<td rowspan="2">C</td>
</tr>
<tr>
<td style="border:8px solid">B</td>
</tr>
</table>
PrimeHunter (talk) 20:53, 6 April 2026 (UTC)
Using Safari on an iPad, the two are identical, with neat square corners. Using Firefox 149 in Windows, the one on the left is the same as Safari, but the one on the right has two notches - it's like three of the borders stop short. The top border stops at the left edge of the right border; the right border stops at the mid point of the top border and also at the top of the bottom border; the bottom border stops the the mid-point of the right border. If this were SVG I'd consider it to be an incorrect selection of values for the stroke-linecap= attribute. --Redrose64 🌹 (talk) 21:16, 6 April 2026 (UTC)
Thank you guys. I think it's time to report this issue to the Mozilla team. Should I do it myself? Maiō T. (talk) 09:47, 7 April 2026 (UTC)
It's not a new bug in Firefox: I've tried it on an older machine running Firefox 115.34.0esr (32-bit) and the behaviour is as described above. --Redrose64 🌹 (talk) 12:52, 7 April 2026 (UTC)
PrimeHunter's example could be added to the existing bug as a comment. —⁠andrybak (talk) 05:48, 8 April 2026 (UTC)

Alberto della Valle

There must be an error with some template used on that page. The title mistakenly appeared in italics by default, but while cleaning up I couldn’t identify the exact source of the problem. For the moment, I have implemented the DISPLAYTITLE magic word. ~ IvanScrooge98 (talk) 11:35, 8 April 2026 (UTC)

I couldn’t identify the exact source of the problem – Special:ExpandTemplates can be used to find where in the wikitext is DISPLAYTITLE produced. —⁠andrybak (talk) 11:43, 8 April 2026 (UTC)
Thanks for the suggestion, much appreciated! Unfortunately, I still haven’t managed to find the issue. ~ IvanScrooge98 (talk) 11:53, 8 April 2026 (UTC)
Indeed, I was just wrong. None of the checkboxes there allow seeing where DISPLAYTITLE appears, since it's not part of the "parser output". —⁠andrybak (talk) 12:00, 8 April 2026 (UTC)
{{it}} means {{Italic title}}, rather than the intended "(In Italian)". Quite a confusing redirect, considering its history. NguoiDungKhongDinhDanh 11:53, 8 April 2026 (UTC)
Thanks a lot! Problem solved now. ~ IvanScrooge98 (talk) 11:56, 8 April 2026 (UTC)
Yes, one of those that would probably better being replaced by the target and the redirect deleting. Nthep (talk) 12:00, 8 April 2026 (UTC)

Discussion at WT:Dark mode § Removing beta label from Dark Mode

 You are invited to join the discussion at WT:Dark mode § Removing beta label from Dark Mode. EBlackorby-WMF (talk) 17:40, 8 April 2026 (UTC)

Collapsed tables are scrunched and wrapped

I just posted a couple of large collapsed tables to a talk page. What I wanted and expected was approximately this:

Guam, Hungary, Iceland, Romania [show]

But what I got was:

Guam,

Hungary,

Iceland,

Romania

[show]

I assume this means there's something ~wrong with the CSS for collapsing. Can someone fix this? WhatamIdoing (talk) 17:16, 8 April 2026 (UTC)

@WhatamIdoing I suspect the CSS for the table has narrow columns, so when collapsed it forces the caption to fit the column width. You can counter this by wrapping the caption in {{nowrap}}. Nthep (talk) 17:44, 8 April 2026 (UTC)
This is the advice given at Help:Advanced table features#Tables with captions. It is odd that the show/hide link is below the caption. – Jonesey95 (talk) 18:27, 8 April 2026 (UTC)
Thanks to both of you. WhatamIdoing (talk) 18:34, 8 April 2026 (UTC)
This is expected behavior. Nowrap is one way to force the width, another is to set the width of the table. Izno (talk) 18:35, 8 April 2026 (UTC)

Stub count?

Hi, can somebody tell me what the total stub count is in each of Category:South America stubs and Category:North America stubs? ♦ Dr. Blofeld 15:19, 9 April 2026 (UTC)

@Dr. Blofeld Looks like 68,000 (per https://petscan.wmcloud.org/?psid=45925496) and 407,000 (per https://petscan.wmcloud.org/?psid=45925623), assuming no more than 10 levels of subcategories. --Ahecht (TALK
PAGE
)
17:34, 9 April 2026 (UTC)
Thanks, much appreciated. ♦ Dr. Blofeld 17:36, 9 April 2026 (UTC)

Fixing dark mode on Template:Multiple image

As a follow up to Wikipedia:Village pump (technical)/Archive 227#Bug report at Template talk:Multiple image/Archive 4#Dark mode skin invert image problem, {{multiple image}} is currently broken in dark mode. It excessively places white backgrounds where they shouldn't be, causing images using the skin-invert{-image} classes to be washed out, and the bg-transparent class to do nothing at all, despite them reportedly being supported on the template documentation.

I fixed the issues with it in the sandbox, and requested the changes at Template talk:Multiple image/Archive 4#Edit request 25 March 2026, but there has been no activity on it at all in over two weeks, apart from a single comment from an admin telling me not to put diffs in edit requests on talk pages and to use the sandbox instead (which, as I said, I had already done; and if diffs are such a problem on talk pages, {{Request edit button/preload}} really needs to be updated). Is there something I'm missing? ~ oklopfer (💬) 19:51, 9 April 2026 (UTC)

Thank you for working on the fix. You're not missing anything, Category:Wikipedia template-protected edit requests is just backlogged at the moment. —⁠andrybak (talk) 16:03, 10 April 2026 (UTC)
Understood and fair enough - I'll be more patient. ~ oklopfer (💬) 16:37, 10 April 2026 (UTC)

Deepcat searches and redirects.

When I do the following search:
intitle:/List of.*chapters/ -deepcat:"Lists of chapters of United States student societies by society"
, one of the entries it returns is
Theta Nu Xi (redirect from List of Theta Nu Xi chapters)
. However, the redirecting page List of Theta Nu Xi chapters is in the category Category:Lists of chapters of United States student societies by society and as such it shouldn't show up, right? If List of Theta Nu Xi chapters is what is being returned then it matches with the title search, but should be knocked out by the negative category search, OTOH, it shouldn't return Theta Nu Xi since that doesn't fit the intitle search.

The search does appear to be properly handling the non-redirect pages as the non-redirect pages under Lists of chapters of United States student societies by society are being excluded. Naraht (talk) 19:15, 10 April 2026 (UTC)

@Naraht: You cannot search for the content of redirects. They just count as an extra title for the target. Consider incategory:"Redirects from plurals". Category:Redirects from plurals has 37,000 pages but the search currently only returns 5 mainspace pages which aren't working redirects. Your -deepcat: is based on the article, not the redirect even if the intitle part is a match on the redirect title. PrimeHunter (talk) 20:32, 10 April 2026 (UTC)
@PrimeHunter: to simplify, I *think*. Is the following true? If there was a Category had 10 articles and 5 redirects (each to an article not in the category) in it and I did an insource: search for a string in the category name (presuming it existed nowhere else), the search would return the 10 articles, but not the five redirects.Naraht (talk) 20:42, 10 April 2026 (UTC)
@Naraht: Yes, that's exactly what happens for insource:"Lists of chapters of United States student societies by society". It returns the 29 articles in Category:Lists of chapters of United States student societies by society, not the 10 redirects or their targets. PrimeHunter (talk) 20:52, 10 April 2026 (UTC)

Phase 1: Mobile page previews

Hi everyone,

The Reader Growth team is launching an experiment to test how to make it easier and more intuitive for readers to navigate through articles on mobile. To do this, we want to test Mobile Page Previews — a pop-up bottom sheet that appears when a reader taps a blue link, showing the thumbnail, lead paragraph, and an option to open the article — on mobile web article pages. This experiment, a mobile-only A/B test for 10% of logged-out readers on Arabic, French, Italian, Polish, and Vietnamese Wikipedias and 0.1% of logged-out readers on English Wikipedia, will go live the week of April 20 and will run for four weeks.

Design mock for mobile page previews, showing what it might look like to upon first clicking a blue link in an article.

Why are we working on this?

The percentage of the world that visits Wikipedia is decreasing, visible in the drop in the number of readers, and in turn, impacting the number of accounts created and contributions to our sites. We also know that the vast majority of internet users today default to mobile-first experiences. Page Previews have already existed on the Wikipedia desktop experience and both mobile apps for the last ten years and are a crucial part of the reading experience on those platforms. They were intended to help readers understand a word or concept within the context of the subject they are reading without having to open multiple tabs or leave the original article. Mobile web currently has no equivalent — tapping a link navigates you away to that article immediately.

In an effort to make the reading experience on mobile as enjoyable and effective as possible, we want to test to see if they’re useful for mobile web as well. By reducing the friction in exploring a link and allowing readers to gain context without navigating away from their original topic, Mobile Page Previews may make it easier for casual readers to get an overview of an article before deciding whether or not to browse to it. We expect this benefit to hold on mobile, where it’s suboptimal and clunky to read from multiple tabs in one session.

What idea are we testing?

We want to offer previews for readers who are interested in exploring an article’s blue links to see whether this feature supports retention for logged-out readers.

What is the timeline?

We will A/B test this version starting the week of April 20 and ending four weeks later. We’ll measure whether people engage with the feature, whether they tap blue links more often, and whether they visit Wikipedia more often. If we see positive results, we’ll share the results of this A/B test and decide together whether to proceed and what changes to make if we do.

What does the experiment include?

This feature would appear upon clicking a blue link in an article, which would trigger a pop-up preview of a clicked-link’s article at the bottom of the screen, known as a mobile bottom sheet. The preview includes an article’s lede and the first image. It also has an easy way for readers to exit out of the preview by X-ing out, or to navigate to the previewed article with a “read more” link. Since this work is still experimental, we expect to refine and adjust this idea based on your feedback.  

Please share your thoughts and questions here. For more info on our research, mock-ups, and other details, see our project page. Thank you! EBlackorby-WMF (talk) 18:45, 8 April 2026 (UTC)

I'm assuming that by "first image" you mean the page image shown on the "Page information" page for an article. Choosing the first image every time would be inadvisable. – Jonesey95 (talk) 22:58, 8 April 2026 (UTC)
Also, when I am looking at a Wikipedia page in my mobile browser (iOS Safari), tapping on a blue link takes me to the linked page, as expected since the dawn of the web. When you say above that this mobile page preview is a "pop-up bottom sheet that appears when a reader taps a blue link", are you planning to break the way that the web has always worked, but only for readers of Wikipedia, or am I misunderstanding what the words you wrote actually mean? If the former, will this be an opt-in or opt-out feature? – Jonesey95 (talk) 23:00, 8 April 2026 (UTC)
Maybe it's different in different places on the internet, but anecdotally I would consider a pop-up on tapping a blue link rather than changing pages a relatively common and desirable functionality on mobile. I most often see the equivalence of mobile tap = desktop hover, then a second tap follows through after you get the hover information that you would normally get on desktop and otherwise would not be able to get on mobile. All that said, I do not have a specific opinion on this application - I just wanted to point out that this is not an outrageous or unexpected feature and is not "break[ing] the way that the web has always worked, but only for readers of Wikipedia" Nebman227 (talk) 12:30, 9 April 2026 (UTC)
+1 on that, also "summary on hover" has been a thing on enwiki for a while, this is just testing if having readers are okay with having feature parity with desktop. Sohom (talk) 12:36, 9 April 2026 (UTC)
On iOS you can hold down on a link to see a preview, is that replicable on other devices? Kowal2701 (talk, contribs) 12:42, 9 April 2026 (UTC)
Thanks for the question, @Kowal2701. I believe you're referring to the long press/tap action on iOS; while there is a similar action on non-iOS devices as well (at least for Android), it does not consistently bring up a preview. This test we have planned will help standardize a mobile web Page Preview experience, based on short tap, across devices. It should not disrupt the existing long tap actions. SherryYang-WMF (talk) 22:10, 10 April 2026 (UTC)

Archive page article link

Maybe I am the only one to notice this, but I presume it occurs everywhere. On a archive talk page, the Article tab doesn't link to the article, but instead to the appropriate numbered archive page. But there are, as well as I know, not archive articles. Would it be hard to have the links point to the actual article? Gah4 (talk) 19:03, 9 April 2026 (UTC)

@Gah4: The tabs are a MediaWiki feature and not made by Wikipedia. There are old requests at phab:T15119 and phab:T262656. We do add a link in {{Archive}} which is used on numerous archives like Talk:MediaWiki/Archive 1. PrimeHunter (talk) 20:49, 9 April 2026 (UTC)
@PrimeHunter: I think I suspected that, but wasn't sure where to ask, so I asked here. Is there a MediaWiki page to discuss these things? Yes, I now found the link you mention. But the link to the article page archive is completely useless, so it would seem nice to have it point the right way. OK, I will look at the ones you mention. Gah4 (talk) 02:59, 10 April 2026 (UTC)
@Gah4: Phabricator at phab: is the place to request MediaWiki features. phab:T15119 was your request. A software engineer at the Wikimedia Foundation which makes MediaWiki found it similar enough to phab:T262656 to close it as duplicate of the latter which is still open. I see you have commented there. There is something else we could do here. The article link on Talk:MediaWiki/Archive 1 goes to MediaWiki/Archive 1 which is useless as you say. Subpages are disabled in mainspace so it doesn't even have a link to MediaWiki like the link to Talk:MediaWiki near the top of Talk:MediaWiki/Archive 1. MediaWiki/Archive 1 is red so it automatically displays MediaWiki:Noarticletext. We control that page and could make it display a "Did you mean" link to MediaWiki with code in {{New page DYM}}: If you are on a non-existing mainspace page with a slash in the title and the part before the slash is an existing title then suggest that. We already do this for titles with nothing after the slash like MediaWiki/. The issue is not unique to archive subpages. There are other types of talk subpages like Talk:First Wikipedia edit/GA1. This suggestion could be posted to Template talk:New page DYM or the more active Template talk:No article text. In theory we could also create all pages like MediaWiki/Archive 1 with a redirect to MediaWiki, but I oppose that. Or we could make sitewide JavaScript in MediaWiki:Common.js which can manipulate the interface in various ways for users with JavaScript enabled, including to add or change tabs. But we want to limit sitewide JavaScript and I think this would be opposed. PrimeHunter (talk) 11:22, 10 April 2026 (UTC)
Could have a redirect page for each archive talk page, to redirect to the article page. I am not sure how archive pages are generated, but it might be that the redirect page could be generated at the same time. It was some time after I started using WP that I found the article tab link, which I use when editing a talk page, to refer back. Control-click, open in a new tab, and it is there. Is the cost of redirect pages too high? Gah4 (talk) 00:41, 11 April 2026 (UTC)
The cost of the redirect itself in isolation is not high, but it will get in the way of other things, like search results, redirect counts, editors and bots going through article namespace, etc. Existence of such redirects will be inconvenient for little benefit. —⁠andrybak (talk) 01:10, 11 April 2026 (UTC)
OK, I mentioned it in User_talk:ClueBot_Commons, which seems to be where to ask about ClueBot III. I am not sure at all about benefit. I don't look at archives often, but in this case I was trying to find one that I previously posted. And I have even less idea how much anyone else looks at archives. It is, though, always nice to know that the archives are there. Thanks much. Gah4 (talk) 01:20, 11 April 2026 (UTC)
@Gah4: I am not sure how archive pages are generated - archive pages are created just like any other page, there's no special procedure. Although most are created by an archiving bot (the two in greatest use are ClueBot III (talk · contribs) and lowercase sigmabot III (talk · contribs)), any user can do so, including WP:TAs (subject to WP:SALT). What any unconfirmed user (including TAs) cannot do is create redirects in mainspace. --Redrose64 🌹 (talk) 13:21, 11 April 2026 (UTC)
The current system is that the article (or similar name) tab always points to the associated page, and when on a non-talk page, the talk tab always points to the associated talk page. That is simple to understand and reliable. It also means the GUI is predictable—clicking a tab always works the same way. Another point is that it shows whether or not the associated page exists (it might, for some obscure reason). That system should not be changed. If really needed, a template could be devised that, when placed at the top of an archive page, showed a link to the base article. Johnuniq (talk) 03:32, 11 April 2026 (UTC)

MediaWiki:Mobile-frontend-console-recruit

In User talk:Jon (WMF)#MediaWiki:Mobile-frontend-console-recruit, it was suggested to add additional links to the message, since one has been removed in the past. 1234qwer1234qwer4 19:27, 9 April 2026 (UTC)

You may file a {{edit protected}} request on the talk page. To some degree I think this is best owned by WMF, ignoring any routine updates as it were. Izno (talk) 19:43, 9 April 2026 (UTC)
@Izno I was actually going to recommend disabling it (wgMFEnableJSConsoleRecruitment) if volunteers are not interested in repurposing it.
I am also at Wikicred Con and it seems like we have many tools in need of new maintainers.. perhaps this could also be a way to reach new contributors? Perhaps it could also be used to draw attention to new tools, games, technical RFCs?
Personally in my volunteer capacity I'd love to suggest some kind of community maintained easter egg for developers who might curious to contribute.
So in short I'd be fully supportive of any edit protected request, particularly ones that try out some new creative ideas. Jon (WMF) (talk) 16:24, 11 April 2026 (UTC)
Thoughts about:
Hello friend! 🍦

Wikipedia is built by developers like you 👨‍💻 (yes it's open source)

Start your journey 🛤️ here @ https://developer.wikimedia.org

💪 Or work with us @ https://wikimediafoundation.org/about/jobs/
Sohom (talk) 18:17, 11 April 2026 (UTC)

User:Enterprisey/parent-cats.js

It is likely to work with hidden categories, how can we do to prevent this? Henrydat (talk) 04:28, 13 April 2026 (UTC)

{{!}} doesn't work within #if function

Hello. How to write this in a template?
if parameter {{{age1}}} has a value, then display {{{age1}}} {{!}} {{{team1}}}, otherwise display {{{age2}}} {{!}} {{{team2}}}.
I tried the following code, but it doesn't work:
{{bku | {{#if:{{{age1|}}} | {{{age1}}} {{!}} {{{team1}}} | {{{age2}}} {{!}} {{{team2}}} }} }}
For example, parameters could look like this:

{{Test template
|age1=20
|team1=GER
|age2=17
|team2=FRA
}}

Can you advise me? I know, it's a pretty strange topic, but I hope you won't be angry. Thanks, Maiō T. (talk) 22:50, 11 April 2026 (UTC)

@Maiō T.: I guess from your code that you want two parameters of {{bku}} to be determined by whether {{{age1}}} has a value. I don't think it can be done in the way you are trying. You have to do something else. You can move the template call inside the test which means bku is repeated:
{{#if:{{{age1|}}} | {{bku | {{{age1}}} | {{{team1}}} }} | {{bku | {{{age2}}} | {{{team2}}} }} }}
Or you can move the test inside the parameters which means the test is repeated:
{{bku | {{#if:{{{age1|}}} | {{{age1}}} | {{{age2}}} }} | {{#if:{{{age1|}}} | {{{team1}}} | {{{team2}}} }} }}
The code is untested. PrimeHunter (talk) 23:14, 11 April 2026 (UTC)
Okay, PrimeHunter. What a pity that it doesn't work the way I expected... {{!}} is only a 90% magic word. Maybe the MediaWiki 1.50 or 1.60 will improve this matter...
Maiō T. (talk) 11:03, 13 April 2026 (UTC)

Undeleted file revisions not showing

I just undeleted 3 revisions of File:Genie immediately after rescue.jpg but although the logs show it was done, and I can no longer see the redacted versions, the revisions still show as deleted.

Of the last couple of days I have noticed the odd state of deleted images when going the other way, but they all self resolved in a couple of minutes. However this is still shown as broken after ~15 minutes. Any ideas? KylieTastic (talk) 13:10, 13 April 2026 (UTC)

Nevermind, just noticed this has a phab ticket already T423065. KylieTastic (talk) 13:15, 13 April 2026 (UTC)

Issue with {{nbnd}}

Hi there. There seems to be an issue with the template {{nbnd}}, preventing users from editing using the visual editor. See this discussion, for instance. The issue was raised here, but it wasn't solved back then. Thanks in advance, Alavense (talk) 13:25, 14 April 2026 (UTC)

Non-free images saying “View license” when clicked

When I go on The Matrix#Plot and click on the image on the right captioned “Frame from the scene”, I see it says “View license” instead of “Fair use” in the bottom right corner. The same applies to when I go on Red pill and blue pill#Antecedents and click on the image captioned “Frame from the 1990 film...”. I recently edited these files' pages to use Template:Non-free media data paired with Template:Non-free media rationale instead of two Template:Non-free use rationale (because when a non-free file is used on more than one page, it is preferred; see Template:Non-free use rationale#See also). Ever since then I've noticed the bottom right corner says “View license” instead of the previous “Fair use”. At first, i assumed this was because the “media” templates were coded incorrectly, but, as it turns out, that is not the case. Can anybody help me with this issue? Nutella lover • [ chat│supervise ] 16:39, 12 April 2026 (UTC)

mw:Extension:MultimediaViewer uses data from mw:Extension:CommonsMetadata to display the data about the image, and specifically the part at the bottom comes from its "LicenseShortName" property. To determine that property, CommonsMetadata searches for elements with class licensetpl in the description page's HTML, and reads subelements with various classes to get the information about the license; the one for "LicenseShortName" is licensetpl_short. If it gets multiple licensetpl blocks, it does a partial sort and returns the "best" one. But this partial sort only considers public domain and various CC licenses; "fair use" gets 0 priority, same as anything else that's not recognized.
Special:PermaLink/1344736708 has four licensetpl blocks, one from each {{Non-free use rationale}} (with licensetpl_short "Fair use"), one from the {{imbox|type=license}} in {{Non-free film screenshot}} (with no licensetpl_short), and one from {{Non-free media}} in {{Non-free film screenshot}} (with licensetpl_short "Fair use"). Since these are all equal priority to CommonsMetadata, it picks the first one and gets "Fair use".
Special:PermaLink/1348378264, on the other hand, has only two licensetpl blocks, as apparently neither {{Non-free media data}} nor {{Non-free media rationale}} produces one. That leaves the first one as the empty one from {{imbox|type=license}} in {{Non-free film screenshot}}, and MultimediaViewer therefore falls back to its default "View license" message. Anomie⚔ 18:15, 12 April 2026 (UTC)
Thank you for this very in-depth explanation of how machine-readable metadata works. If I understand correctly, we should add the licensetpl_short block to {{Non-free media data}} or {{Non-free media rationale}} in order for this to function properly? Nutella lover • [ chat│supervise ] 18:29, 12 April 2026 (UTC)
Or somehow make sure that {{Non-free film screenshot}} doesn't produce an empty licensetpl block. Same if there are any other templates doing the same thing. Anomie⚔ 23:54, 12 April 2026 (UTC)
It seems that {{Non-free film screenshot}} already has {{Non-free media}} inside it. Since {{Non-free media}} already has the licensetpl_nonfree block (written exactly like this: <div class="licensetpl" style="display:none"><div class="licensetpl_short">Fair use</div><div class="licensetpl_nonfree">true</div></div>). Neither {{Non-free media data}} or {{Non-free media rationale}} have any licensetpl or licensetpl_short blocks at all.

By logic, it seems that mw:Extension:MultimediaViewer should render the data from only one licensetpl block available. Why does it not? Nutella lover • [ chat│supervise ] 16:41, 13 April 2026 (UTC)
As I explained above, {{Non-free film screenshot}} produces two licensetpl elements, and MediaViewer uses the first (empty) one (produced by {{imbox|type=license}}) rather than the second (produced by {{Non-free media}}). While MediaViewer could probably make a better choice there, that would be a matter for Phabricator (and may already be there). Anomie⚔ 00:02, 14 April 2026 (UTC)
Could this then be fixed by moving the {{Non-free media}} template higher up so MediaViewer prioritises it? If so, please do it as I'm not an admin and would otherwise have to file an edit request. Nutella lover • [ chat│supervise ] 11:58, 14 April 2026 (UTC)
it could, or we can fix Non-free film screenshot to not emit two license annotations, for something that is one license (template). —TheDJ (talk • contribs) 12:03, 16 April 2026 (UTC)
There is an property for fair use and other non-free usage exceptions in other countries than the US, it is 'licensetpl_nonfree'. I would choose 'licensetpl_nonfree' over looking at 'licensetpl_short'. It seems to me like having no priority on 'fair use' ('licensetpl_nonfree' licences) is something that was thought for wikimedia commons but not non-free use on other projects.
Imagine a file on commons, it would have a CC-BY-SA licence and a GPL license and the user wanting to reuse it could just choose either one. This is not the case with local Wikipedia files (and not just the English Wikipedia). On Wikipedia, you would have an CC-BY-SA license from the photographer, but wait, the photographed object is under copyright by the designer. As such, MediaViewer should look at and prioritise 'licensetpl_nonfree' as it is the more restrictive license of the two and both licenses need to be followed. I think this is an issue in MultimediaViewer/CommonsMetadata. Snævar (talk) 21:52, 12 April 2026 (UTC)
Probably one of phab:T77108, phab:T77481, phab:T77639. Izno (talk) 22:14, 12 April 2026 (UTC)
The actual problem here is that licensetpl data is for license templates (or rather rationale for a license state) templates. We have created a system on wikimedia sites that is very convoluted, where we require a fair use rationale and a separate fair use 'license', and people have annotated both to be a 'license'. From a data modeling perspective the way we have created licenses, rationales and information templates makes 0 sense, which makes it difficult to properly model and reflect in other systems. This "wait, the photographed object is under copyright by the designer" is a perfect example of that. This has ZILCH to do with the license of the file. It is ARGUMENTATION that explains why the license of the file is considered valid by the community. But it isn't a license of the file, and thus shouldn't be using a license template. —TheDJ (talk • contribs) 11:59, 16 April 2026 (UTC)
Those statements could easily be made without using attacks. In copyright law, both the photographer and the designer have rights, the rights of the photographer are just largely overshadowed by the rights of the designer. Then when the copyright of the designer expires the rights of the photographer become more relevant, and that information would be used to determine when to move the file to Wikimedia Commons. Trying to figure out that information later is going to be orders of magnitude harder than it is now. One danish user and multiple Wikimedia Commons people agree with this. Even if WMF wanted to make a policy that conflicts with law, they could'nt - that policy would be fully invalid. So, despite your attempt to make me look stupid, there is a point to this. Shouting weakens your argument, it does not make it stronger. Snævar (talk) 14:37, 16 April 2026 (UTC)

Ability to set Watchlist Labels from "Add to Watchlist" Button?

Apologies if this is the wrong place to put this. IDK at what level this kind of change would be made (can it be done by a userscript?). The new Watchlist Labels feature is helpful for me since I have a large number of pages on my watchlist, however to use it I have to add a page to my watchlist, then go to the "manage labels" page and scroll until I find the page I just added to set labels. This is inconvenient, especially on mobile. Since one of the main reasons I watchlist pages is because I notice an issue I want to examine more deeply later when I'm back on desktop, the ability to pop pages directly into a watchlist label would be really helpful. I can already set the watchlist time period from the button, why not the labels? -- LWG talk (VOPOV) 20:29, 15 April 2026 (UTC)

Something like this will be good for you?
IKhitron (talk) 20:59, 15 April 2026 (UTC)
This has been worked on already, see phab:T417847. If I'm interpreting that right then it should go live in two weeks. the wub "?!" 21:28, 15 April 2026 (UTC)
That's exactly what I'm hoping for, thanks! -- LWG talk (VOPOV) 15:28, 16 April 2026 (UTC)
In this case you can wait for two weeks. Until then, there is a second best thing, a field below the edit window in "Edit source" mode. IKhitron (talk) 15:31, 16 April 2026 (UTC)

Migration to Parsoid

The WMF plans to migrate the parser to use Parsoid soon. See Wikipedia:Village pump (miscellaneous) § Migration to Parsoid for other details. Izno (talk) 16:26, 16 April 2026 (UTC)

Images broken?

Almost every image, except some svgs/smiley templates, are broken and not appearing right now. This started maybe an hour or so ago, and the frame or spot where the picture should be just displays my browser's default 'broken image' icon. Sarsenet•he/they•(talk) 12:20, 16 April 2026 (UTC)

Yesterday the plus symbol in the Wikipedia:Administrators' newsletter wasn't loading for me, but it's back now. Might be some instability somewhere. CMD (talk) 12:29, 16 April 2026 (UTC)
It's happening to me, too. When I try clicking the direct image link, it takes me to a Wikimedia error page that says "too many requests" and something about "please respect our bot policy". -- Veggies (talk) 13:09, 16 April 2026 (UTC)
@Sarsenet Thanks for flagging. This issue was caused by changes to our rate limiting rules that we have now fixed. EBlackorby-WMF (talk) 16:50, 16 April 2026 (UTC)

ICU Unicode library migration - sorting of some category pages will be distorted

Hi everyone,

Starting on Monday, 20th April 2026, the Wikimedia Foundation Site Reliability Engineering team will migrate MediaWiki application servers to a new release of the ICU Unicode library (to version 72). This unblocks some future work on upgrading the servers to a new Operating System release and will also allow the use of improved internationalisation in the future (as wikis will then be able to use features introduced by the new ICU release such as new collation definitions; this will also allow us to use a more recent version of Unicode in MediaWiki).

This migration will cause some unavoidable temporary user-visible impact: The sorting of some category pages will be distorted – all pages which have been updated with the new software version will use the new sorting while untouched pages still use the old sorting. As such, SRE need to run a maintenance script to update the sorting for old entries.

The distortions may last from a few hours (on medium-sized wikis), up to a few days (on the largest wikis), and a up to a week on English Wikipedia. The start-time will depend upon when the migration script reaches each wiki.

The detailed list and the task for the technical implementation is at T422544. If this message seems familiar, it's because we've done similar updates in the past, the latest one in 2023.

Potential updates will be posted following this message.

This operation will be announced in Tech News. Other impacted wikis will also have a similar message. Please share this message where it needs to be posted!

Thank you, Trizek_(WMF) (talk) 09:44, 17 April 2026 (UTC)

Tech News: 2026-16

MediaWiki message delivery 15:17, 13 April 2026 (UTC)

Oh, boy. Another week of complaints here and about six other boards complaining that category pages are not in the expected order. --Redrose64 🌹 (talk) 19:15, 13 April 2026 (UTC)
I see myself in the "chorus of ugh!!1!" on this one. the Stefen 𝕋ower 20:21, 13 April 2026 (UTC)
Should we put an announcement at Template:Editnotices/Namespace/Category so it'll display whenever anyone tries to edit a category page (such as to do a null edit)? --Ahecht (TALK
PAGE
)
21:11, 13 April 2026 (UTC)
I don't know how many sortings will be changed but I suggest we start with a notice at Help:Category#Sorting category pages. PrimeHunter (talk) 12:50, 17 April 2026 (UTC)

Admin: option to unhide file revisions not working?

I was trying to move File:Qwen Logo.svg to Commons, but the import failed because some file revisions were hidden. But when I tried to unhide the revisions, I got an error saying that the visibility of the selected revisions were the same as what I was trying to set them to. However, there was no indication that anything was changed.

I ended up having to "fully" delete the hidden revisions for the import to succeed. This obviously isn't ideal because some parts of the file history did not get transferred to Commons.

Is this a known issue, or am I doing something wrong? Ixfd64 (talk) 01:23, 18 April 2026 (UTC)

Worth filing a bug. I know another user filed phab:T423755 but I couldn't say if that one is exactly the same or just similar. Izno (talk) 02:39, 18 April 2026 (UTC)
Also see phab:T423065. * Pppery * it has begun... 02:49, 18 April 2026 (UTC)
I think this issue is related to the one I encountered. Ixfd64 (talk) 03:45, 18 April 2026 (UTC)

Where to put styles.css of a template's sandbox?

 You are invited to join the discussion at Wikipedia talk:WikiProject Templates § Where to put styles.css of a template's sandbox?. —⁠andrybak (talk) 14:55, 18 April 2026 (UTC)

Issue with the use of "packed" in galleries

In certain devices, such as iPhones, "packed" does not render correctly and the gallery becomes a mess of text overlapping over images. ~2026-22071-94 (talk) 09:28, 18 April 2026 (UTC)

Could you link to a specific example, like an article where you've been having this issue? Would be easier to figure out the problem if we could reproduce the issue. – Scyrme (talk) 12:58, 18 April 2026 (UTC)
Probably the same issues as the one reported with the image on the right for "packed"-mode galleries on Commons on mobile. This was in the context of wish W534: Fix the display of Commons categories and Wikipedia article galleries on mobile (normal galleries are broken too as can be seen in the screenshots on that proposal page). Prototyperspective (talk) 13:42, 18 April 2026 (UTC)
There have been some longstanding issues with galleries.. performance and UX wise. I really wish we would move away from them until they are modernized. 🐸 Jdlrobson (talk) 16:40, 18 April 2026 (UTC)
The issue can be reproduced by finding a random gallery in some article, and setting the mode of the gallery to "packed". ~2026-22071-94 (talk) 17:29, 18 April 2026 (UTC)
E.g.

~2026-22071-94 (talk) 17:35, 18 April 2026 (UTC)

Wait what it’s not showing up? ~2026-22071-94 (talk) 17:37, 18 April 2026 (UTC)
It's not showing up because the reply tool is broken and adds indentations that breaks the gallery syntax. See wish W368: Fix the issues breaking the Reply tool. As with the other wish I've linked, if you'd like to see things get fixed you can support the request (you may not to create an account for that though). Fixed it for you so now it shows up. --Prototyperspective (talk) 17:49, 18 April 2026 (UTC)
It seems to have been fixed? It was broken a few days ago. . . ~2026-22071-94 (talk) 18:29, 18 April 2026 (UTC)
Maybe this depends on the heights/widths or lengths of the captions. Best to check an article(s) where you know this problem occurred. Prototyperspective (talk) 18:32, 18 April 2026 (UTC)

Edit tag for reverts, similar to mw-reverted

Currently, any edit that gets reverted (at least in a way that the system can detect) gets mw-reverted applied to it; this makes the (reverted) indicator appear in the edit history and can be filtered for when viewing edit histories, making it easy to find reverted edits. However, there is not, as far as I can tell, a corresponding tag for edits that are reverts. Having a tag like that would be extremely useful for eg. detecting possible edit wars or determining at a glance if an editor is revert-warring excessively across many pages. Obviously it would not catch every possible revert (in the same way mw-reverted doesn't) and could only be useful as a vague signal suggesting further manual examination, but it would still be a valuable thing to have. --Aquillion (talk) 16:14, 18 April 2026 (UTC)

@Aquillion You'll see a number of "undo", "rollback", and "manual revert" tags in this page history, for example. Ponor (talk) 16:37, 18 April 2026 (UTC)
(edit conflict) There are tags for undo and rollback. Their IDs are mw-undo (MediaWiki:Tag-mw-undo) and mw-rollback (MediaWiki:Tag-mw-rollback) respectively. Edits, that are "reverts" done via the gadget Twinkle, get two tags: mw-undo and twinkle (MediaWiki:Tag-twinkle). Manual reverts, if detected by MediaWiki, get tag with the ID mw-manual-revert (MediaWiki:Tag-mw-manual-revert). —⁠andrybak (talk) 16:39, 18 April 2026 (UTC)
Hrm, thanks. Is there any way to search for all these tags together? --Aquillion (talk) 18:01, 18 April 2026 (UTC)
To search both in user contributions and in page histories, use tag filters at the top of the page.
The tag filter field also links to Special:Tags, where you can find a listing of tags. —⁠andrybak (talk) 18:16, 18 April 2026 (UTC)
Yes, but it can only filter to one at once. Is there a way to filter it to "any edit that has any of these tags"? --Aquillion (talk) 19:43, 18 April 2026 (UTC)
Yes, the different values can be separated by a pipe character |. For example mw-manual-revert|mw-undo.
I haven't seen it documented in any help pages here on English Wikipedia, but I know about this format from MediaWiki API, where it is used in many of the requests, including the request "action=feedcontributions". —⁠andrybak (talk) 20:04, 18 April 2026 (UTC)

Lua module/Infobox mapframe help needed

Does {{Infobox military conflict}} support |mapframe-custom=? The documentation says it does, but that part is transcluded from the documentation for {{Infobox mapframe}}. Does it actually support that parameter? If so, how do I make it work? When I attempted to use it, it didn't have any effect. When I looked at the source and the module I didn't see anything that looked like it would implement that functionality. This was even with |mapframe=yes set. I'm not proficient in programming modules, so I may be missing something obvious. Any Lua wizards able to help? I'd appreciate if someone could take a look at Module:Infobox military conflict to see if |mapframe-custom= actually works as intended.

This request was prompted by the discussion at Talk:2026 Iran war § Image at the top. – Scyrme (talk) 20:23, 17 April 2026 (UTC)

I just tried using |mapframe-custom= with {{Infobox mapframe}} directly and it didn't display anything either. Maybe the parameter is broken? Or I've misunderstood the documentation? I'd appreciate help with this.
See the discussion at Template talk:Infobox mapframe § "mapframe-custom" parameter for more details of what I've tried. – Scyrme (talk) 14:11, 19 April 2026 (UTC)

instructing editors to use redirects to templates

For almost 19 years, {{infobox officeholder}} has instructed users to, instead of transcluding the template directly, to use one of its redirects as is best-specific to the article. That instruction is currently under discussion for its purpose, usefulness, and retention. — Fourthords | =Λ= | 14:12, 19 April 2026 (UTC)

automatic citation

Hey. i added some links in the automatic citation tool. It cuts the path behind the domain name.

  • https://www.wizzair.com/en-gb/information-and-services/investor-relations/general-information -> https://www.wizzair.com/
  • https://data.worldbank.org/indicator/CM.MKT.LCAP.CD -> https://data.worldbank.org/

Can you please fix it? WikiPate (talk) 15:58, 19 April 2026 (UTC)

That's probably phab:T242089. Ponor (talk) 16:59, 19 April 2026 (UTC)
Yes, the second source line of https://www.wizzair.com/en-gb/information-and-services/investor-relations/general-information says: <meta property="og:url" content="https://www.wizzair.com">. This is a false claim that the canonical URL of the page is https://www.wizzair.com, indicating that the website would prefer you use that. See https://ogp.me/#metadata. They have the same bad code on many other pages. Maybe somebody should contact them. https://www.wizzair.com/en-gb/legal/accessibility-statement-for-wizzair-com has a "contact us" link "to provide feedback on the accessibility of our website". Ironically the link goes to https://www.wizzair.com/en-gb/legal/Item%20with%20ID:%20'838cb288-d1af-6a18-ba03-ff00007faa96'%20was%20not%20found! which is as broken as it sounds. https://www.wizzair.com/en-gb/help-centre/contact-us has other contact methods but not about the website so I don't know wether it would ever reach the right people. If somebody does try to contact them then please post it here so others don't flood them.
https://data.worldbank.org/indicator/CM.MKT.LCAP.CD says: <meta property="og:url" content="https://data.worldbank.org" data-reactid="13"/>. PrimeHunter (talk) 20:25, 19 April 2026 (UTC)

DBTransactionSizeError on page move – possible high-watch count involvement

Readers of this page may be interested in the Database Transaction Size Error first reported by Robertsky at Help talk:List of tutorials and introductions#Post moving notes (diff) in the wake of a failed attempted page move of a Help_talk page with 23,000 watchers, and reported by him at T423809. The immediate talk page move problem has been resolved (via copy-past move & HISTMERGE; thanks to Pppery) but the underlying problem still exists, and may recur. Interested parties may wish to follow the phab ticket. Personally, I am interested in any possible workarounds if/until something more permanent can be devised. Thanks, Mathglot (talk) 23:41, 19 April 2026 (UTC)

Use of last name to refer to subject of article within article

Could someone take a look at Denis Leary and reply here as to the why the many recent changes from just the last name to his full name (first & last) is incorrect? I know there's a policy or a guideline about this & was going to revert these recent edits but I cannot, for the life of me, remember what the actual policy IS. Thanks - Shearonink (talk) 15:34, 19 April 2026 (UTC)

MOS:SURNAME the Stefen 𝕋ower 16:38, 19 April 2026 (UTC)
Oh, thank you SO much. I tried and tried and tried to find it...thank you! - Shearonink (talk) 00:43, 20 April 2026 (UTC)

Webfonts not loading again

I lately had an issue that was resolved when external webfont weblinks were blocked from getting used on custom CCS pages, now it seems like some of my imported fonts dont work again. Did they block them again?

DejaVu Sans Mono imported from cdn.jsdelivr.net isn't loading, Courier Code imported from fontlibrary.org isn't loading as well, for example. --Esperfulmo (talk) 02:02, 18 April 2026 (UTC)

I'm withdrawing this since they worked again. Thanks. --Esperfulmo (talk) 10:51, 20 April 2026 (UTC)

Tech News: 2026-17

MediaWiki message delivery 14:58, 20 April 2026 (UTC)

A style declaration for a page.

Hi,
Can a style be declared for a page? Eg. Declare
<style type="text/css"> div.example { display:inline-block; width: 300px; padding: 3px; border: none; margin: 2; background-color:#FFD700"; }</style>
and then use
<div class="example">Some content.</div>
rather than repeat the attributes whenever required.

Thx, ... PeterEasthope (talk) 05:40, 20 April 2026 (UTC)

What are you trying to do that would lead you to a solution like this one? Where? Izno (talk) 05:58, 20 April 2026 (UTC)
Yes, see WP:TemplateStyles. – SD0001 (talk) 10:52, 20 April 2026 (UTC)
> Where?
The last (third) case in my sandbox achieves the intended objective but the code is repetitive. A style as hypothesized above would simplify.
Also observed that the width of the background color boxes could not be declared in the plainlist and the unbulleted list failed entirely.
Thanks, ... PeterEasthope (talk) 15:47, 20 April 2026 (UTC)
If you want to use templatestyles in userspace then create a css page in the template namespace and possibly move it to your userspace. Otherwise you will need an interface administrator to change the content model. PrimeHunter (talk) 16:03, 20 April 2026 (UTC)
Note, you no longer have to be an administrator to create a page with non standard content model. All you have to be is autoconfirmed so long as the page doesnt exist yet. Bawolff (talk) 20:39, 20 April 2026 (UTC)

Pageviews tool not working since 17 April

By looking at the Wikipedia:Did you know/Statistics/Monthly DYK pageview leaders (and sorting by date), the tool has stopped working from 17 April onwards, and hasn't given any pageviews data for the 18th and 19th. The last time it worked was on the 16th. I'm surprised this wasn't reported earlier. (I may also notify WT:DYK) JuniperChill (talk) 13:52, 20 April 2026 (UTC)

@JuniperChill: The linked tool https://pageviews.wmcloud.org has a "Report an issue" link at the bottom where missing data was reported 19 April at meta:Talk:Pageviews Analysis#Topviews bug report. PrimeHunter (talk) 13:58, 20 April 2026 (UTC)
thank you PrimeHunter! I didn't notice that the linked tool had a report button, and the fact that there is a few comments on that exact issue in Meta. But I agree that it definitely needs fixing soon. JuniperChill (talk) 14:07, 20 April 2026 (UTC)
Update: now tracked in Phabricator (see also the comment at Meta JuniperChill (talk) 21:24, 20 April 2026 (UTC)

Suggestion Mode A/B test with newcomers

Suggestion Mode is a new feature for the VisualEditor. It proactively suggests actions to improve Wikipedia articles, such as "add citation", "improve tone", or "fix an ambiguous link". The feature is locally configurable (see Special:EditChecks), and can and should be locally customized (see mw:Help:Suggestion mode#For administrators – local customization). It has been available as a global Beta Feature since early March and at English Wikipedia since early February.

After 2 months of feedback, thousands of edits across Wikipedias, and ongoing feature improvements, we think this feature is almost ready for you all (volunteers) and us (staff) to evaluate its impact together through a short controlled experiment. This experiment will run for 4 weeks and make the feature available to 50% of newcomers (accounts with fewer than 100 edits at that wiki) at ~20 wikis.

Before the test can begin, we need your help. Could you please review the "Requests for help and feedback" section below to ensure the feature is translated and configured in ways that aligns with your wiki's preferences?

Why Suggestion Mode?

Suggestion Mode is meant to benefit two audiences:

  • [Primary] Newcomers who are eager to edit and struggle with how to start doing so constructively, plus it gives them encouragement to explore the policies and guidelines.
    • Note: everyday, 150,000–200,000 mobile web editing sessions end with someone abandoning the editing experience after looking around for at least 2 seconds without making any changes.
  • [Secondary] Experienced editors seeking easier ways to find out what might need fixing, and assembling the context needed to decide how and if to act.
    • Note: volunteers have helpfully created many tools/gadgets/user scripts to help with the above. (examples, more examples) Suggestion Mode aims to make the functionality that these tools offer easier to access for more people and in more languages.

Requests for help and feedback

We plan to start the experiment next week, once we've confirmed that your wiki has created or updated the local MediaWiki:Editcheck-config.json and completed 85% of the interface translations, and if there are not any crucial concerns. The experiment will measure the impact that Suggestion Mode has on the proportion of newcomer mobile web edits that result in constructive (un-reverted) article edits. The experiment will also evaluate the feature's impact on editor retention, and monitor changes in revert and block rates.

Thank you! User:Quiddity (WMF) 19:55, 21 April 2026 (UTC)

User:Cacycle/wikEdDiff.js

This script makes clickable inner [[]] and outer [] links in diff's text. It doesn't work correctly with temporary accounts, because tilde character (~) isn't processed correctly. In ruwiki, one user suggested a fix: . Enwiki IntAdmins, could you deploy this or another (your own) fix? MBH (talk) 10:17, 14 April 2026 (UTC)

@MBH Cacycle is still occastionally active. Have you tried emailing them? --Ahecht (TALK
PAGE
)
13:40, 14 April 2026 (UTC)
User_talk:Cacycle#Wikipedia:Village_pump_(technical)#User:Cacycle/wikEdDiff.js. But looks like he is not actually active (also, we in ruwiki are fixing user scripts without participation of its author). MBH (talk) 13:38, 15 April 2026 (UTC)
I'm inclined to agree with MBH and say that Cacycle has become inactive enough (despite one minor content edit a month ago) that interface admins should be willing to fix their scripts. * Pppery * it has begun... 14:33, 15 April 2026 (UTC)
@Pppery you are intAdmin, so could you do that? MBH (talk) 03:41, 18 April 2026 (UTC)
I am. But I haven't had a chance to actually evaluate the request yet. * Pppery * it has begun... 03:42, 18 April 2026 (UTC)
 Done using different code than suggested here. * Pppery * it has begun... 21:36, 18 April 2026 (UTC)
Thanks for fixing the code. Unfortunately, I am busy with other things in my life and am no longer able to maintain the code. So please feel free to step in and improve it. :-) Cacycle (talk) 07:32, 22 April 2026 (UTC)
Please use {{edit request}} on the talk page of the script (or where it redirects in this case) with the change you believe should be made to our version. That will get it into an appropriate queue. Izno (talk) 04:46, 18 April 2026 (UTC)

Where is forcetoc documented?

I searched for info about "__FORCETOC__" without success. Why would someone add it to a Talk page? Johnjbarton (talk) 22:56, 18 April 2026 (UTC)

@Johnjbarton: People who use a proper desktop skin (i.e. not that space-wasting Vector 2022) will only get a table of contents when there are four or more headings. The __FORCETOC__ magic word forces it to appear when there are fewer than four. See H:MW#Behavior switches. --Redrose64 🌹 (talk) 23:05, 18 April 2026 (UTC)
I don't know the answer about FORCETOC but there's also __TOC__... - Shearonink (talk) 15:37, 19 April 2026 (UTC)
https://www.mediawiki.org/wiki/Help:Magic_words#Behavior_switches Matma Rex talk 17:29, 19 April 2026 (UTC)
Which doesn't add anything, except for overriding __NOTOC__, to the description in H:MW#Behavior switches that I linked earlier; and which also has a link to mw:Help:Magic words#Behavior switches. --Redrose64 🌹 (talk) 17:17, 20 April 2026 (UTC)
So how can we make finding this information easier? WP:FORCETOC does not have anything about "__FORCETOC__". Johnjbarton (talk) 23:22, 20 April 2026 (UTC)
__FORCETOC__ is mentioned in the "Legacy behaviors" collapsible section on that page. --rchard2scout (talk) 06:58, 21 April 2026 (UTC)
Yes; when you use the Ctrl+F feature to carry out a text search, some browsers will open up collapsed sections if those sections contain the search string. Recent versions of Chrome and Firefox do this; Safari for iPad (the "Find on page" feature) does not. --Redrose64 🌹 (talk) 07:33, 22 April 2026 (UTC)

Some broken scripts because of a change to thumbnails

I noticed that neither User:Awesome Aasim/searchengine.js nor User:Awesome Aasim/DetectProtectionLevels.js is adding working images from Wikimedia Commons. Has a change happened to how images are stored in the backend? And what can be done to fix it? Aasim (話す(はなす)) 19:18, 20 April 2026 (UTC)

(Yes this is a request for help fixing my own scripts) Aasim (話す(はなす)) 19:19, 20 April 2026 (UTC)
You can only use thumbnail sizes from the list at mw:Common thumbnail sizes. Bawolff (talk) 20:36, 20 April 2026 (UTC)
Shouldn't thumbnails be cached with most common sizes okay as second copy but less common sizes computed instead? Aasim (話す(はなす)) 00:58, 21 April 2026 (UTC)
A busybody at WMF decided that they needed to save space on the servers by forcing all thumbnails to a small list of sizes, without considering use cases that can't easily be scaled in HTML, very wide panorama images, or the like. This sort of thing seems increasingly common lately. Anomie⚔ 01:44, 21 April 2026 (UTC)
Regardless of what "should" have happened, that is not what was done, and now you can only use sizes from that list. Personally i dont understand why we didn't just make the non standard size urls redirect to the next highest size. The change has been so disruptive in a way that feels very unneccesary. Bawolff (talk) 03:26, 21 April 2026 (UTC)
I opened a ticket on Phabricator here: phab:T423977. Probably will be closed as a duplicate of some other task but I think it is still worth preserving backwards compatibility with older scripts as well as websites.
I never thought it would actually use space on servers in this manner. But that doesn't justify breaking what's been working for essentially the entire history of the project just so less images are stored on server and caches. Aasim (話す(はなす)) 04:08, 21 April 2026 (UTC)
There is a patch in phab:T420740 to get the bucket size. You would use mw:API:Imageinfo for it. Then you just set the size to 15px where you want it and your browser takes care of the 20px to 15px transformation. Snævar (talk) 13:42, 21 April 2026 (UTC)
How would you get the browser to do that for CSS like #my-thing::after { content: url( '.../12px-image1.png' ), url( '.../12px-image2.png' ); }? Anomie⚔ 11:59, 22 April 2026 (UTC)
I note that redirecting to the next higher size would likely cause visual errors in some cases, expanding icons larger than intended (e.g. a 10px or 12px icon now being 20px, making it significantly larger than adjacent text or making it be oddly cropped). Anomie⚔ 11:39, 21 April 2026 (UTC)
Welp - my task was declined.
The attitude seems to be "this is intended behavior now" but I did not get any warning that this change was coming.
Perhaps fixing the dozens of scripts using non standard sizes could be botted by rounding to the nearest standard size. Aasim (話す(はなす)) 15:15, 21 April 2026 (UTC)
Most of the warnings were months ago, but honestly communication around this has been a mess, so has QA. The whole thing has been pretty frustrating. Bawolff (talk) 19:25, 21 April 2026 (UTC)
Weirdly one of my scripts appears to be using one of these defined steps and it is still failing to load the image. I don't know why. Aasim (話す(はなす)) 19:34, 21 April 2026 (UTC)
Nevermind found the cause I think. Aasim (話す(はなす)) 19:36, 21 April 2026 (UTC)

Bug in Vector 2022

Need help in making svg or png files

WikiProject tags on talk pages of redirects

'find' template problem

Account with contributions before creation

Redlinked terrorism categories

Receiving a mentorship question as a non-mentor

How is Twinkle messing up this bad?

Update this technical advice

Disable Special:ReadingLists/Shushugah

Template:Extended confirmed restriction wording

Image not appearing

Lua Assistance needed on Wikispecies

Can some one help us to resolve this in ps wikipedia?

mapframe layout in infobox?

New sitewide requirement to enable Javascript to edit

Outdated Article Version on Mobile App?

Open Street Map

Tech News: 2026-18

Skin changed

Cirrus search query

Discussion at Wikipedia:Village pump (miscellaneous) § Seeking input on editing in the mobile apps

"429 Too many requests"

Cascading template-protection

GREP for an article split

Request to review a page-protection script

Stuck in visual editor mode

Nonexistent conflicting parameter in infobox

Tree list template still breaking on mainspace articles

Global CSS/JS skin pages

Accident...

Small images on Vector mobile

Big red error at Donald Trump

Need help loading User:Xiplus/TwinkleGlobal/load.js

Automatic file deletions?

Questions About Visual Editor

Commons logo on the top right does not redirect to corresponding Commons page

CodeMirror update

Zotero citations causing CS1 errors

Link to article in Vector 2022 sticky header is broken from talk page archives

Pages scrolling horizontally to right

Wiki Palestine Images incorrectly marked as public domain in preview

Preventing open/closed access symbols in citations?

Visual editor not updating reflist on new ref

Collapsible sections option - Eva Maamo article

Request to move submitted AfC draft to Draft space

Some new mobile (web) issues

Share card experiment: phase 1

Using template:DISPLAYTITLE to substitute three characters

Cannot publish any edits — Publish changes button unresponsive

Weird filter issue

Redirects to sections not working

Peer reviewer script

Topic disappeared from here?

Parsoid on Mobile Web for enwiki

The strikethrough when you paste deleted text

Unable to update or remove email address

Watchlist button

Why isn't this article's talk page auto-archiving?

Very slow page loads

Ping problem

Email doesn't go to recipient

Catalogue of CSS classes

Problem loading "review changes"

Map cut off on right

Please can I have some help with my topicon

"Find" feature in source editor ignores F3

Is it possible for Mediawiki software to ignore ~ in front of table numbers?

Tech News: 2026-20

Columns

Page preview issue on Mauser M71/84

Bug when copying code from another wiki

Cross-wiki search results?

Feasibility of a built-in tour in the Special:Preferences page?

Edit on desktop mode

Problem with editing top section

Expiry time of infinite

The short description for the page Venezuela is not showing up.

What does this "warning" mean on Massacre of Monzievaird

The visual editor ATTACKS me!

Unable to log in due to delays in validation codes

Wikipedia app shows strange characters in title of image

Robert Falcon Scott

Bug with non-free images (article previews)

Systems of government and upright

Space vs underscore on Special:Contributions

JS not working?

Tables skewed with infobox class

Tech News: 2026-21

Loading inconsistencies

Related Articles

Timelines

Top Qs

Fact Checks