Wikipedia:Village pump (technical)

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

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

Page stats tool effects unclear edit

I installed the following editing tool in my common.js page and when I open VE or source editing I don't see any difference. It says it adds more links to the toolbox. What toolbox does it mean? Qwerty284651 (talk) 06:30, 9 February 2024 (UTC)Reply[reply]

@Qwerty284651 Replicating the mw.util.addPortletLink(..) function call, it seems it adds them to the end of the "Tools" dropdown menu to the right of "View history" at the top right of the page. – (talk) 07:14, 9 February 2024 (UTC)Reply[reply]
Thanks. Qwerty284651 (talk) 03:46, 10 February 2024 (UTC)Reply[reply]
It's also debatable if ten year old scripts still function well. Sjoerd de Bruin (talk) 09:07, 11 February 2024 (UTC)Reply[reply]
Of the four links that that tool adds, only one currently works. should probably be changed to WikiShark, and the other two are down until Dispenser ports them to Kubernetes (which is somewhat unlikely as they had a number of spats with the wikitech team and haven't been active for years). --Ahecht (TALK
) 15:50, 16 February 2024 (UTC)Reply[reply]
Courtesy ping to Anomie, as it's their script. --Ahecht (TALK
) 16:00, 16 February 2024 (UTC)Reply[reply]
I haven't used it myself since 2017, after I noticed that my ad blocker had been blocking it (probably because of "stats" in the name) for some time and I hadn't missed it. 🤷 Anomie 17:34, 16 February 2024 (UTC)Reply[reply]
😢 Qwerty284651 (talk) 17:57, 16 February 2024 (UTC)Reply[reply]

Correcting or changing a repeated word edit

How can I change a specific word, for example a name that appears many times in the same article? Is there a Gadget to help? Or do I have to do it manually? Anyway please kindly let me know as soon as possible so I can move forward with my project. Arbabi second (talk) 08:25, 14 February 2024 (UTC)Reply[reply]

Probably the easiest way is to use VisualEditor's search and replace feature. Nardog (talk) 08:28, 14 February 2024 (UTC)Reply[reply]
The desktop source editor also has search and replace. Click "Advanced" in the toolbar and then the magnifying glass icon at the far right. PrimeHunter (talk) 14:26, 14 February 2024 (UTC)Reply[reply]
But that doesn't allow you to replace only the occurrences visible in the output. Nardog (talk) 07:11, 15 February 2024 (UTC)Reply[reply]
On the basis of the more the merrier, most browsers have plugins that will enable such a function (if not natively available). Neils51 (talk) 23:27, 15 February 2024 (UTC)Reply[reply]
I have to imagine Arbabi second is looking for a feature that allows them to replace a word for everyone reading the article, not just for themself. Nardog (talk) 23:38, 15 February 2024 (UTC)Reply[reply]
Absolutely, I have a Firefox plugin that does that (well, once you have clicked on 'Publish Changes'). It's great to have options. Neils51 (talk) 07:52, 16 February 2024 (UTC)Reply[reply]
Huh? What is the plugin? You mean there's a plugin that allows you to replace occurrences of a string only in the parts of wikitext that get rendered as entered in the parsed output? Nardog (talk) 08:12, 16 February 2024 (UTC)Reply[reply]
I use it for global replace in the page or section being edited. Rare to have to do this though. I use substitution lists for say 'accessdate', etc. Neils51 (talk) 08:46, 16 February 2024 (UTC)Reply[reply]

REST API returning HTML that doesn't exist in standard page edit

I'm unable to upload screenshots of the HTML, so I'll do my best to explain. In the table for, the second row is an empty table row element; . But on the normal page,, this empty table row element does not exist. I looked at the source code for the table template, but I don't have much experience there, so I didn't see anything obvious that would explain it. Why does the REST API have this empty table row element? Tyephlosion (talk) 13:42, 14 February 2024 (UTC)Reply[reply]

The output of the REST API is generated by a new wikitext parser called Parsoid, which will eventually also be used for normal page views. You can see the Parsoid output in the context of a normal page view like this: (there's also a preference to enable it: Special:Preferences#mw-prefsection-editing-developertools).
So the question now is, why is Parsoid output different from the old wikitext parser? I'm not sure, but we can make some guesses. You can paste the {{Graphic novel …}} templates into Special:ExpandTemplates to reveal the wikitext that is fed to both of the parsers, and there's a fragment that looks like this:
!width=24%|English release date

<tr style="text-align: center;"><th scope="row" id="vol1" style="text-align: center; font-weight: normal; background-color: transparent;">1</th>
I would guess that the |- markup preceding the <tr> generates the extra empty table row. I have no idea why that doesn't happen in the old parser. The |- doesn't seem necessary anyhow, and if you track down which template it comes from, you could probably remove it. Matma Rex talk 17:01, 14 February 2024 (UTC)Reply[reply]
The template generating the |- is
{{Graphic novel list/header
|Language = Japanese
|SecondLanguage = English
|WithTitle = yes
|Width = 100%
{|class="wikitable" width=100% style=""
|-style="border-bottom: 3px solid #CCF"
!width=4%|<abbr title="Number">No.</abbr>
!width=24%|Original release date
!width=24%|English release date
But I don't see anything to change in the template. Is is the Parser that is adding it and there is nothing to change here? Tyephlosion (talk) 14:22, 15 February 2024 (UTC)Reply[reply]
Like I said, just remove the |- [1]. I tried it out, found and fixed another minor issue, and made an edit request for the template: Template talk:Graphic novel list#Edit request: remove extra table row. Matma Rex talk 16:05, 15 February 2024 (UTC)Reply[reply]

Talk page font size edit

On mobile edition, the first post in a talk page section (or anywhere else that uses the same tool for topics, including this page) has a larger font size than normal. This does not apply to the title, subsequent posts in the section, or desktop edition. Is this supposed to happen? QuicoleJR (talk) 19:43, 15 February 2024 (UTC)Reply[reply]

It also applies to Meta-Wiki, so it seems to be a MediaWiki thing. QuicoleJR (talk) 19:47, 15 February 2024 (UTC)Reply[reply]
Actually, upon looking at mainspace, it seems like talk page replies and section titles are some of the only things not affected. Can someone with a bit more technical knowledge please explain why the font size went up? Thanks, QuicoleJR (talk) 19:49, 15 February 2024 (UTC)Reply[reply]
This is probably related to phab:T349303, by Jon (WMF). You should be able to change the font size at Special:MobileOptions. It seems like indentation size has increased drastically on mobile too. Sdrqaz (talk) 20:03, 15 February 2024 (UTC)Reply[reply]
Weird, seems like setting it to small and then back to the default it was on fixed the problem. QuicoleJR (talk) 21:18, 15 February 2024 (UTC)Reply[reply]
Actually, that only fixed it for this specific page, and not any of the others. QuicoleJR (talk) 21:21, 15 February 2024 (UTC)Reply[reply]
The indentation issue is now tracked in a separate ticket . Jdlrobson (talk) 01:58, 16 February 2024 (UTC)Reply[reply]
Really hope this isn’t the intended design (talk) 20:05, 15 February 2024 (UTC)Reply[reply]
I'm noticing the font size is drastically differing between articles in the mainspace on mobile. It is quite disorienting. Y2Kcrazyjoker4 (talkcontributions) 21:37, 15 February 2024 (UTC)Reply[reply]
Came here to ask about it too. Not happy with the change at all. Would appreciate any help in how to revert it back if possible. Thriley (talk) 21:40, 15 February 2024 (UTC)Reply[reply]
Quite literally made an account about this. Looks awful and is just way too big of a font. Not everyone that uses wikipedia is my 97 year old grandmother. Also would like a way to revert this. Someguyfromminnesota (talk) 23:36, 15 February 2024 (UTC)Reply[reply]
Click the hamburger button at the top, "Settings", and then "Small". Nardog (talk) 23:41, 15 February 2024 (UTC)Reply[reply]
There are two issues here. For logged in users as Nardog suggests change your font size to small. It is mislabelled but this is meant to be default.
For anonymous users we have an issue with cache. It should fix itself over the next 24 hours. Jdlrobson (talk) 00:14, 16 February 2024 (UTC)Reply[reply]
Hi Jon, is the line spacing supposed to remain close together or as it was before? Victor Grigas (talk) 02:05, 16 February 2024 (UTC)Reply[reply]
According to phab:T356339#9510249, this is an intentional change. — The Earwig (talk) 02:24, 16 February 2024 (UTC)Reply[reply]
It shouldn't be. QuicoleJR (talk) 14:40, 16 February 2024 (UTC)Reply[reply]
I’d echo the complaints about the font size/line spacing change, as it’s actually creating an accessibility issue for me- I have vision issues that make it difficult to follow lines of closely-vertically spaced text, and it is genuinely difficult to read the mobile wiki right now. Setting it to “regular” helps but it makes everything look stupidly large (because it is). I’d also advocate for a revert. Padgriffin Griffin's Nest 01:13, 16 February 2024 (UTC)Reply[reply]
It looks awful. Left alignment instead of justified? Are they insane? --2800:AC:4010:C67:1:0:28ED:3368 (talk) 13:44, 16 February 2024 (UTC)Reply[reply]
Justified text is generally a bad idea on the web. The technology isn't advanced enough to match print typesetting [2] and W3C advise against it for accessibility reasons [3]. the wub "?!" 14:30, 20 February 2024 (UTC)Reply[reply]
At one time we had a user preference "Justify paragraphs", which IIRC was in Preferences → Appearance somewhere near to "Show hidden categories". It was removed a little over ten years ago as part of a general clearout of little-used preferences (every preference, whether enabled or not, adds a little to the overhead of every page). For those who complained about the loss, a gadget was provided instead, to achieve the same effect. It's still there, at Preferences → Gadgets, under the "Appearance" heading. --Redrose64 🌹 (talk) 23:53, 20 February 2024 (UTC)Reply[reply]

Mobile font line spacing edit

This update in my opinion is hard to read, it’s harder to tap hyperlinks, I looked at the New York Times app and for every 10 lines on New York Times now Wikipedia has 11. Victor Grigas (talk) 02:58, 16 February 2024 (UTC)Reply[reply]

A comment was posted about this at Wikipedia talk:WikiProject Accessibility; I've copied it below. Graham87 (talk) 07:37, 16 February 2024 (UTC)Reply[reply]

I can't use Vector Wikipedia due to migraines, and redirect to Mobile Wikipedia.

I also switch fonts and increase font sizes due to eye strain. Now Mobile Wikipedia limits many lines to 24 px to 27 px. Which can be awfully cramped. I think Mobile Wikipedia should either revert the change or use a multiple of the users' specified font size. (talk) 02:27, 16 February 2024 (UTC)Reply[reply]

New text size / format issue edit

Is there a way I can revert back to the old mobile version? I really don’t like the new format. Hurts my eyes. Thriley (talk) 06:46, 16 February 2024 (UTC)Reply[reply]

I agree. Spent the last hour trying to track this. It’s also on WikiMedia too. The rendering of inline styles is affected too with content bleeding over each other. I can’t believe this was by design, feels more like a gaff/malicious event hopefully to be changed soon. (talk) 07:17, 16 February 2024 (UTC)Reply[reply]

Mobile line spacing edit

This new mobile spacing, which I see was an intentional change, is just unreadable for me. Everything is hard to read and cluttered. Is there any way to revert it on my end? And I think it should be reverted altogether; this is awful. Zanahary (talk) 11:13, 16 February 2024 (UTC)Reply[reply]

Ok, I found this custom CSS that works:
.mw-body p,
	.content p { line-height: 26.4px !important;}
` — Preceding unsigned comment added by Zanahary (talkcontribs) 11:21, 16 February 2024 (UTC)Reply[reply]
If you already increase font sizes, that may still be too cramped. (talk) 17:17, 16 February 2024 (UTC)Reply[reply]

Font change on mobile view edit

Hello there, Wiki changed the font on Thursday night but is there any way you are able to revert it back to the original font before the changes on Thursday. The new font changes on mobile looks very ugly and I personally would much prefer the original font design. VileName8089289 (talk) 18:16, 18 February 2024 (UTC)Reply[reply]

VileName8089289, you can personally change it back, as described above. — Qwerfjkltalk 20:54, 18 February 2024 (UTC)Reply[reply]
Could you help direct me to this please. VileName8089289 (talk) 21:18, 18 February 2024 (UTC)Reply[reply]
  • Hello there, Wiki changed the font on Thursday night but is there any way you are able to revert it back to the original font before the changes on Thursday. The new font changes on mobile looks very ugly and I personally would much prefer the original font design before Thursday night. Could anyone help send me the instructions to revert it back to the original font design on mobile please. VileName8089289 (talk) 13:09, 19 February 2024 (UTC)Reply[reply]
    • VileName8089289, Click the hamburger button at the top, "Settings", and then "Small".— Qwerfjkltalk 16:59, 19 February 2024 (UTC)Reply[reply]
      I meant the fonts used before Thursday night not the current ones in use now. Even when I click on settings it comes out with the current font designs I.e. Small, Standard and Large as opposed to the prior four options of Very Small, Small, Medium and Large. Is there any way of going back to the original font designs on Wikipedia before they changed everything. VileName8089289 (talk) 17:48, 19 February 2024 (UTC)Reply[reply]
      No. — Qwerfjkltalk 17:49, 19 February 2024 (UTC)Reply[reply]

The new font size on mobile is awful and half-baked edit

The larger font ("standard") for paragraph texts looks awful. The ability to switch font size is appreciated, but it's hidden behind a hamburger menu and then a settings page on mobile site, which few, if any, persons will notice. It took myself days to realise that it is a personalisation option, and not shoved down the throats. And personally, I believe that the "standard" font size is way too large than it needs to be, considering that most mobile sites like news articles, etc. uses a font size comparable to the "small" size on Wikipedia, to which my (and other people's) eyes have been accustomed over the years. Furthermore, the <li> items, infobox items, image captions, etc. do not respect the personalisation choice, which is bad, they are always "small". If someone does choose "large" or "standard" font, they should have the entire article in that font, not just the paragraph text. Thanks! CX Zoom[he/him] (let's talk • {CX}) 17:22, 20 February 2024 (UTC)Reply[reply]

There is currently a typo in the interface. The small is meant to be standard (default) and standard is meant to be "medium" but some logged in users are getting the incorrectly labelled "Standard" as default. This will be corrected soon. Jdlrobson (talk) 02:18, 21 February 2024 (UTC)Reply[reply]

Category tree bullet color change edit

If you visit a category page that has subcategories to at least two levels (e.g. Category:Wikipedia help forums), each subcat name is preceded by a right-pointing triangle. If this triangle is clicked, the next level of subcats are listed and the triangle changes to point downwards. This triangle, being a clickable hotspot, counts as a link, and in the past it was clearly indicated as a link by being shown in the blue link color. As of today, it's now the black text color. This seems to be the following rule:

.CategoryTreeBullet a,
.CategoryTreeBullet a:link,
.CategoryTreeBullet a:active,
.CategoryTreeBullet a:visited {
  text-decoration: none;
  color: inherit;
  speak: none;

Specifically, it's the color: inherit; declaration, since if this is suppressed, the triangles take on the blue color that they previously had. I think that the change to inheriting the black text color is detrimental, as itt goes against MOS:COLOR, second bullet Links should clearly be identifiable as a link to our readers. Is there a phab task related to this? --Redrose64 🌹 (talk) 21:50, 15 February 2024 (UTC)Reply[reply]

This seems to be an unintentional effect of change by @Nardog. This CSS for .CategoryTreeBullet a has already existed in the extension, but it didn't apply to anything (as far as I can tell – don't know how that happened). The recent change replaced some <span> tags with <a>, accidentally causing it to take effect. Matma Rex talk 22:36, 15 February 2024 (UTC)Reply[reply]
Thanks for the report and apologies for the oversight. Patch submitted. Nardog (talk) 23:15, 15 February 2024 (UTC)Reply[reply]

Re-using source on VisualEditor does not work edit

Hiya, while trying to re-use a source using VisualEditor via adding a citation on User:Tails Wx/1965 Colorado floods, it apparently would not let me click on the source that I intend to re-use. As I'm editing on desktop, it does show a list of sources that I could re-use, but I can't seem to click on a source that I'd like to re-use. Automatically and manually adding a source does work, however. Thanks! ~ Tails Wx (🐾, me!) 02:59, 16 February 2024 (UTC)Reply[reply]

Thanks for pointing this out. You're right, and it seems to be because of a change made in T336417. I've made 1003837 to revert that change, so once I get that approved I'll try to get it backported so this will work again. DLynch (WMF) (talk) 03:58, 16 February 2024 (UTC)Reply[reply]
I'm also having this problem. WhatamIdoing (talk) 04:51, 16 February 2024 (UTC)Reply[reply]
It'll be happening to absolutely everyone, unfortunately. (Though fortunately I think it's only citation reuse that's affected. But I didn't go hunting for other side-effects.) DLynch (WMF) (talk) 04:59, 16 February 2024 (UTC)Reply[reply]
This wound up being put in phabricator as T357745, and the fix was put out to all the wikis about 3 hours ago. DLynch (WMF) (talk) 15:45, 16 February 2024 (UTC)Reply[reply]

Sortable table is not sorting numbers correctly edit

For some reason, at List of people with absolute pitch, if you try to sort by year of birth, most of the entries will show up in proper ascending or descending order, but some will be strangely at the end. E.g. click to sort that column for either "sort initial" or "sort descending" and Brian Wilson (1942), Stevie Wonder (1950), and Yo-Yo Ma (1955) are always at the end. ...? ¯\_(ツ)_/¯Justin (koavf)TCM 11:31, 16 February 2024 (UTC)Reply[reply]

Fixed Indagate (talk) 11:51, 16 February 2024 (UTC)Reply[reply]
Wow, someone was accidentally throwing in an empty table caption in the middle. Thanks, I. ―Justin (koavf)TCM 11:54, 16 February 2024 (UTC)Reply[reply]
Justin (koavf)TCM 11:54, 16 February 2024 (UTC)Reply[reply]

Xtools edit

Many wikis allow users to opt-in to showing some of the more private information on XTools. En-WP, on the other hand, seems to have done a project-wide opt-in by default. How do I opt out of that? 🌺 Cremastra (talk) 14:39, 16 February 2024 (UTC)Reply[reply]

You can't, as per local consensus. I found Wikipedia:Village pump (proposals)/Archive 111#Edit Counter Optin but I seem to recall at least one other local RfC. At any rate, it's been quite a while since this was last discussed. If anyone feels compelled, they should feel free to start a new RfC. MusikAnimal talk 15:38, 16 February 2024 (UTC)Reply[reply]
I have started a discussion at VPPR. 🌺 Cremastra (talk) 20:15, 19 February 2024 (UTC)Reply[reply]

{{Deceased Wikipedian}} and {{nobots}} edit

Wikipedia:Deceased Wikipedians/Guidelines § On the talk page says that the template {{Deceased Wikipedian}} includes {{Nobots}}; however, this isn't mentioned in the template documentation. I therefore just wanted to check whether or not this is correct (and therefore, whether talk pages that contain {{Deceased Wikipedian}} should also contain {{nobots}}). (Pinging Pigsonthewing, who WikiBlame tells me added this in 2015.)

All the best, ‍—‍a smart kitten[meow] 17:34, 16 February 2024 (UTC)Reply[reply]

Template talk:Deceased Wikipedian#Nobots. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:40, 16 February 2024 (UTC)Reply[reply]
Thanks for that link, and apologies that I didn't think to check that talk page :) Based on the final comment in the linked section, I'll remove the part of the guidelines that says the former template includes the latter. All the best, ‍—‍a smart kitten[meow] 17:47, 16 February 2024 (UTC)Reply[reply]

Sandbox page in categories edit

A user sandbox page, User:Blenge Hackett/sandbox/L-Z, is sitting in Category:Proposed constituencies of the Parliament of the United Kingdom by virtue of the transclusion of dozens of "next election" results templates from pages in articlespace. User sandbox pages can't be in articlespace categories as if they were already finished articles, so it has to be removed from the category, but I'm struggling to figure out how to do that — trying to manually wrap each individual template in the {{suppress categories}} wrapper one-by-one would be a long and tedious task, trying to do it in AWB didn't work because I couldn't make AWB replace }} with }}}} at the end of each line (it's presumably programmed to consider that a likely error and thus refuse to do it), and trying to embed the whole mass of templates in a single invocation of suppress categories just breaks the whole page with a "Post-expand include size is too large" error.

So is there another way that I'm missing and/or a bot that can be programmed to whip it out, or am I just going to have to sit here for an hour manually wrapping each individual template on the page myself? Bearcat (talk) 18:42, 16 February 2024 (UTC)Reply[reply]

Never mind, I figured out how to get it done in AWB, I needed to turn off "Apply general fixes" so that it wasn't simultaneously fixing }}}} back down to }} at the same time as I was trying to expand it the other way. Bearcat (talk) 19:02, 16 February 2024 (UTC)Reply[reply]
Disregard my nevermind, that also broke all the templates, so I do still need help getting the page out of the category some other way. (Though I am thanking my lucky stars I tried that before wasting an hour doing it all manually...) Bearcat (talk) 19:04, 16 February 2024 (UTC)Reply[reply]
I think Pppery fixed it for you with this edit. I was working on copying the whole page into Special:ExpandTemplates, which would have revealed which page was causing the problem. – Jonesey95 (talk) 19:29, 16 February 2024 (UTC)Reply[reply]
(edit conflict) Your AWB attempt didn't work because it produced {{suppress categories|#section-h:Lagan Valley (UK Parliament constituency)|Elections in the 2020s}}}}, whereas the syntax you wanted was {{suppress categories|{{#section-h:Lagan Valley (UK Parliament constituency)|Elections in the 2020s}}}}, but that probably also would have PEIS-ed out. This is moot now, since I've fixed the categorization via an edit to Weald of Kent (UK Parliament constituency) and filed phab:T357813 for the underlying issue I was working around. * Pppery * it has begun... 19:30, 16 February 2024 (UTC)Reply[reply]
If only __NOCATEGORY__ was ever created.... (Set the WABAC machine to 2008 Mr. Peabody). — xaosflux Talk 19:06, 16 February 2024 (UTC)Reply[reply]
or deploy mw:Extension:NoCat. * Pppery * it has begun... 19:30, 16 February 2024 (UTC)Reply[reply]
Couldn't you just place no wiki tags around the entire contents of the page? You could then remove them and edit the page, only using preview instead of actually publishing your edits. When you have it looking the way you want, you would simply readd the no wiki tags before saving. --User:Khajidha (talk) (contributions) 13:04, 17 February 2024 (UTC)Reply[reply]
And templates should not normally be adding categories to articles. Any categories should be in a noinclude section. This is to avoid this sort of situation. Graeme Bartlett (talk) 02:08, 19 February 2024 (UTC)Reply[reply]

Template:Colored box 2 edit


Could anyone assist me in completing the page for this template?

Regards Riad Salih (talk) 21:21, 16 February 2024 (UTC)Reply[reply]

It looks like you copied this template from French Wikipedia. If you want it to work here, I recommend changing the parameter names to English and then documenting them in the /doc subpage. Before doing that, though, why is a new template needed here? Is there an existing template that can do what you need? – Jonesey95 (talk) 21:34, 16 February 2024 (UTC)Reply[reply]
I've translated the parameter names roughly into English. Cremastra (JWB) (talk) 19:22, 17 February 2024 (UTC)Reply[reply]

Free Image Search Tool broken? edit

As seen on {{Photo requested}}, the Toolforge Free Image Search Tool has been broken for quite some time. Every time I go to I get a 500 or 404 error. Is there a replacement or workaround for this? Ten Pound Hammer(What did I screw up now?) 01:53, 18 February 2024 (UTC)Reply[reply]

Have you notified the owner of the tool ? (talkcontribs) 12:53, 18 February 2024 (UTC)Reply[reply]
How do I do that? I don't see a way to do so on that site. Ten Pound Hammer(What did I screw up now?) 21:36, 18 February 2024 (UTC)Reply[reply]
It looks like that external tool's maintainer has asked for issues to be reported here. I've removed the broken listing from that template, feel free to revert if it ever gets fixed. — xaosflux Talk 15:09, 19 February 2024 (UTC)Reply[reply]

Tech News: 2024-08 edit

MediaWiki message delivery 15:34, 19 February 2024 (UTC)Reply[reply]

What if there is an error in a headline? edit

The cite news template won't let me do sic.— Vchimpanzee • talk • contributions • 19:07, 19 February 2024 (UTC)Reply[reply]

@Vchimpanzee Generally leave it as is or use {{not a typo}}, but this is more of a question for Help talk:Citation Style 1. --Ahecht (TALK
) 19:52, 19 February 2024 (UTC)Reply[reply]
I asked there.— Vchimpanzee • talk • contributions • 20:59, 19 February 2024 (UTC)Reply[reply]
You can put [sic] in plain text, or if it is just an obvious typo, you can correct it (However, insignificant spelling and typographic errors should simply be silently corrected). – Jonesey95 (talk) 21:09, 19 February 2024 (UTC)Reply[reply]
I did that. I was advised to use the template for a similar situation but I have no idea where I asked.— Vchimpanzee • talk • contributions • 23:23, 19 February 2024 (UTC)Reply[reply]
Use sic template like this: {{sic|nolink=y|reason=error in source|errror txet}}. But check the original publication, as sometimes the indexing web site makes an error, but the original was correct. And Wikipedia editors have also made errors too. Graeme Bartlett (talk) 11:06, 20 February 2024 (UTC)Reply[reply]
{{sic}} can't be used within citation templates as the italic text it outputs breaks the COinS metadata. --Ahecht (TALK
) 15:14, 20 February 2024 (UTC)Reply[reply]

AbuseFilter warning for WikiProjects edit

Related to Wikipedia:Miscellany for deletion/Wikipedia:WikiProject Glasgow:

A WP:WikiProject is a group of people, not a group of pages. We have a difficulty with pages being created when there's no group, sometimes due to a Build it and they will come mentality. The end result is that we have two thousand "groups", of which only a fraction are really effective.

My question for you all is: Could we have an AbuseFilter/something like that to "warn" against (but not prevent) the creation of new WikiProject pages? It would need to pick up "Wikipedia:WikiProject Foo" but not subpages. The warning message ought to say something like "A WikiProject is a group of people. Please do not create a WikiProject page unless you have already identified several other editors who want to join the group." (They can be directed to ask for more help at Wikipedia talk:WikiProject Council.)

Is this feasible? Is it worth it? WhatamIdoing (talk) 21:40, 19 February 2024 (UTC)Reply[reply]

This is feasible. No opinion on worth, or whether it's common enough to warrant a filter. * Pppery * it has begun... 21:54, 19 February 2024 (UTC)Reply[reply]
And the correct venue would be WP:EFR * Pppery * it has begun... 21:54, 19 February 2024 (UTC)Reply[reply]

Findlinks edit

Tool I recently made that might be of use to bot operators or admins who want to know which pages contain a certain domain name. There are other ways to do this (Quarry, Elasticsearch, Dumps etc). The advantage of the method - SQL query over an ssh tunnel to the replication server - is that it doesn't top out at 10,000 results like Elasticsearch, it can be called from the command-line on any computer and thus incorporated into other programs, it's fast and accurate, and can return results from 1 to over 800+ wikis with a single run. It's an awk script that doesn't require libraries. Only requires you have a Toolforge account (free registration). -- GreenC 23:39, 19 February 2024 (UTC)Reply[reply]

Italics question edit

This question has probably been answered before, but does anyone understand why the italics in Useful idiot#Origin are behaving as they are? Compassionate727 (T·C) 23:56, 19 February 2024 (UTC)Reply[reply]

Removed unclosed ''. Nardog (talk) 00:01, 20 February 2024 (UTC)Reply[reply]
The syntax highlighter gadget can be helpful in finding problems like this. Compassionate727, you can enable it in Special:Preferences#mw-prefsection-gadgets. – Jonesey95 (talk) 02:54, 20 February 2024 (UTC)Reply[reply]
You don't need the gadget for syntax highlighting. Just click the pen button in the source editor to enable it. It's also way better than that gadget. Aaron Liu (talk) 03:26, 20 February 2024 (UTC)Reply[reply]

Manually trigger an edit conflict edit

Recently, my browser has been going berserk (i.e. suddenly using a lot of CPU after the page has loaded along with that page, and only that page, freezing) whenever it sees the slightest of edit conflicts. How can I manually trigger one so I can investigate what's happening? Aaron Liu (talk) 03:28, 20 February 2024 (UTC)Reply[reply]

You just need to:
1. Open 2 tabs in the edit screen for the same page,
2. Make different changes on each editor (to the same part of the text, adding a new line works),
3. Publish changes in one of the 2 tabs,
4. Try to publish changes in the other tab after the first has finished publishing. – (talk) 05:37, 20 February 2024 (UTC)Reply[reply]
You need two different user accounts to trigger a conflict. Open the 2 tabs in different browsers logged into separate accounts. – SD0001 (talk) 06:32, 20 February 2024 (UTC)Reply[reply]
I (who am the IPv4 IP, not sure why it changes sometimes) tested this in the sandbox(with this edit) before I mentioned it.
Did it only work because I am an IP? – 2804:F14:809C:9001:40B8:9DB3:208F:16FD (talk) 08:37, 20 February 2024 (UTC)Reply[reply]
Apparently yes, I had a look at how it works and it only checks user IDs, which you don't have as a logged-out user ([9] [10]). It's a weird limitation. This behavior isn't really thought out well, and some people have wanted to change it for a while (T175745). Matma Rex talk 16:38, 20 February 2024 (UTC)Reply[reply]
It worked for me. Aaron Liu (talk) 17:11, 20 February 2024 (UTC)Reply[reply]
Thanks, I'll try that! Aaron Liu (talk) 14:16, 20 February 2024 (UTC)Reply[reply]
Weird, my browser didn't lag out this time. Aaron Liu (talk) 15:11, 20 February 2024 (UTC)Reply[reply]

spreadsheet to table? edit

Is there an easy way of importing a simple Excel spreadsheet into a table in Wikipedia? I will shortly have 100 lines of a four column spreadsheet that analyses the citation and informational footnote style of a sample of featured articles (the results are a little surprising – so much for consistency of citation style within an article!)

Thanks, ThoughtIdRetired (talk) 09:33, 20 February 2024 (UTC)Reply[reply]

Yes. Just copy-paste it in VisualEditor. (I tested this with Google Sheets, but it should work while copying from Excel as well. If not, just upload it to Google Drive first). – SD0001 (talk) 10:21, 20 February 2024 (UTC)Reply[reply]
If that doesn't work you can just use an excel formula to generate the wikitext for the table rows
e.g. formula for e1: =CONCAT("|-\n|",A1,"||",B1,"||",C1,"||",D1)
I may have the syntax slightly off, but that demostrates the idea. This is how I usually do it. —  Jts1882 | talk  10:32, 20 February 2024 (UTC)Reply[reply]
There's also an excel2wiki tool on Toolforge, which seems to work fine as well. --rchard2scout (talk) 11:04, 20 February 2024 (UTC)Reply[reply]
In addition to copy-pasting, you can also drag-and-drop a .csv or .tsv file into the visual editor. It's a bit of a secret feature. Matma Rex talk 16:41, 20 February 2024 (UTC)Reply[reply]
For future reference: Help:Tables covers copying and pasting into Visual Editor (or dragging a .csv file to it) and the Toolforge link. Wikipedia:Village pump (technical)/Archive 204 § Excel to Wikipedia tables has a more detailed step-by-step about using Excel to generate the desired wikitext. isaacl (talk) 18:01, 20 February 2024 (UTC)Reply[reply]

Thanks – I actually used the concatenate function in excel as that is something, within the depths of the memory banks, with which I have some familiarity. ThoughtIdRetired (talk) 13:51, 21 February 2024 (UTC)Reply[reply]

Template:Dubious span edit

Could someone please look at the page and edit the instructions?

'Span' does not appear in the body, just {{Dubious}}.

I got it working perfectly in this change, formatted as {{Dubious span|text=and, as of 2024<ref></ref>, a Teams World Championship.|1="Teams World Championship"|date=February 2024}}.

So, I had to add the word span after Dubious. Thanks.-- (talk) 02:35, 21 February 2024 (UTC)Reply[reply]

{{Dubious}} is used without explicating the specific span of dubious text, unless I'm misunderstanding your trouble. Remsense 02:55, 21 February 2024 (UTC)Reply[reply]
Remsense I would prefer - for clarity - if the usage/instructions were to read |span text=, instead of |text=. Never mind, I should remember for the future  .-- (talk) 13:09, 21 February 2024 (UTC)Reply[reply]
You're talking about two different templates: {{Dubious}} and {{Dubious span}}. The first is used after a dubious statement, while the second includes the dubious statement. Compare:
Hope this helps! --rchard2scout (talk) 13:37, 21 February 2024 (UTC)Reply[reply]
Rchard2scout - apologies for promoting confusion. I wrote it wrongly in the first line here, showing as Template:dubious instead of Template: dubious span (too many tabs open at the time and it was after 2.00AM).

The long sentence I pasted in above was actually what was added to the article, but I felt that the instruction showing text= would better-serve the end-user if written as span text= (emphasis added). I have used before, but infrequently. Thanks.-- (talk) 12:23, 22 February 2024 (UTC)Reply[reply]

Cross-language links for "Pig butchering scam" edit

In advance, sorry for the verbose post, but if you have patience, it should all make sense.

FIRST, I am massively frustrated by this editor. If I switch to another window (say, to copy text), then return to this edit, and paste whatever - it gets pasted at the 'START of the line or paragraph, NOT where the cursor is (was). WTH?!? This also (sometimes) happens if I return and just simply type where the cursor is (was). Also, if I press [Shift] the cursor flies to the start of the line or start of paragraph. This means that whenever I type a caps [Shift], the cursor flies to the start of the line or paragraph.

The workaround appears to be to place the cursor in the middle of a word and start typing there. To add to the confusion, sometimes the characters appear in reverse order, as if it were a right to left scrip (such as Arabic). Meaning that I have to cut text from the beginning of the line and paste where it belongs (assuming that it is not backwards words). Damn!

This obviously appears to be a bug. I wish I could revert to the old and trusty Wikipedia interface.

Anyway, to the task in hand, I have just been editing the cross-language links for Pig butchering scam which, previously, did not have any cross-language links - although I knew that there are pages in Chinese (simplified, HK, TW, SG, etc.). However, since the Chinese language pages were previously linked to Romance scam, I first unlinked it in order to link the Chinese page 杀猪盘.

BTW why does [[zh:杀猪盘]] not render as expected, per:

Just to add to the confusion, after successfully linking the (simplified) Chinese 杀猪盘 page to "Pig butchering scam" and creating a "Pig butchering scam" section in Romance scam, with link to "Pig butchering scam" — I discovered that the Chinese page now ONLY shows cross-language links to the English page "Pig butchering scam" — apparently (unintentionally) severing the several other cross-language links which included, amongst others:

There are others...

I tried to repair this in WikiData here:

If I type zh (ISO code for Chinese), a drop down appears with (ONLY) three cryptic options:

  • 文言 (zh_classical) - which I understand to be ancient Chinese
  • Bân-lâm-gú (zh_min_nan) - which I understand to be Southern Min (Taiwanese, Fujian and other regions)
  • 粵語 (zh_yue) - which I understand to be Cantonese

This is a far from complete list of Chinese written languages. No matter, the three options proffered by Wikidata are not easy to recognize except, perhaps, for Chinese scholars.

I realize that the above issues are probably partly due to the migration (in progress) from in-page cross-language links to linkages between the different language editions mediated by Wikidata.

I also suspect that, possibly, the issue with the "flying cursor" may be some conflicts between Wikipedia editor and some browser add-on, Google "assistant" or other wigit. Maybe others have similar experiences and/or know what else might be causing the cursor to fly-away when typing. I suspect that this is Google automatic translation pop-up wigit (maybe [Shift] is a hotkey) - I just turned it OFF.

Anyway, hopefully someone reading this post can assist me in repairing and re-connecting the cross-language links for Pig butchering scam

Enquire (talk) 04:31, 21 February 2024 (UTC)Reply[reply]

For reference, I found the following:
Enquire (talk) 04:48, 21 February 2024 (UTC)Reply[reply]

BTW why does [[zh:杀猪盘]] not render as expected, per: Help:Interlanguage_links#Syntax ?!? Because that's the wrong syntax. The link there would change the interwiki link value in the sidebar (in what is now basically a project-specific override for Wikidata). If you want to see the link, you need a colon in front of the language code: [[:zh:杀猪盘]] produces zh:杀猪盘. :Izno (talk) 05:21, 21 February 2024 (UTC)Reply[reply]

If your wish is to link the article zh:杀猪盘 and Pig butchering scam together, it is already working as intended.
Chinese Wikipedia is a multilingual Wikipedia. Different from most other language versions of Wikipedia, Chinese Wikipedia has a built-in mw:LanguageConverter (which is often forgotten by developers and it causes lots of troubles) that converts between CN, TW, HK, SG Chinese listed above. Linking to "CN Chinese" article equals to linking "TW Chinese", "HK Chinese", "SG Chinese" (as well as "MO Chinese" for Macau and "MY Chinese" for Malaysia) in one place.
You are seeing TW, HK, SG Chinese options in Language Switcher because you are in mobile view. You see them disappear because you are in desktop view. MilkyDefer 06:14, 21 February 2024 (UTC)Reply[reply]
@MilkyDefer, @Izno, thank you both for pointing out the correct syntax for cross-language links. zh:杀猪盘 is what I was looking for. However, this appears to conflict with the advice here:
In this page, the syntax is stated to be:
Apparently, this is in conflict with what actually works. I was tempted to edit that Help page, but first I would like to check back with you.
I didn't know before about the built-in Chinese Wikipedia mw:LanguageConverter – this is most helpful. However, I am still wondering why the Chinese (zh) page previously showed several Chinese dialects (plus, AFAICR, other languages) in the language pull-down [Language] menu before I linked it to the English page via Wikidata.
If I am not mistaken, some of the language options that I saw previously were not Chinese dialects. Is there a simple way to idenfify other language pages on the same subject?
Moving on, what did you mean by "mobile view" and "desktop view", per:

You are seeing TW, HK, SG Chinese options in Language Switcher because you are in mobile view.


You are seeing TW, HK, SG Chinese options in Language Switcher because you are in mobile view. You see them disappear because you are in desktop view.

For clarification, I made these edits using Chrome browser on Windows 11 – what I saw before (half a dozen language options on the Chinese page) and after my edits (just one alternate language) was all done in Chrome browser on Windows 11.
I do know that the Language switcher was moved from the sidebar to the top right of the page, but I was not clear what you meant by:

The link there would change the interwiki link value in the sidebar (in what is now basically a project-specific override for Wikidata)

Does this mean that, notwithstanding the switch to top-right language switcher menu (mediated via Wikidata), that it is still possible to add specified language links in the sidebar under "Languages"?
AFAIK, going forward, Language switching is accomplished solely via the top-right pull-down language menu. Am I missing something?
Regards, Enquire (talk) 20:35, 21 February 2024 (UTC)Reply[reply]
In this page, the syntax is stated to be
This syntax is the syntax to create the override for Wikidata (in general, don't do that). That page is completely correct in its details. As before, there are two closely related syntaxes. One creates a wiki link to another project, and that uses the colon. The other overrides the Wikidata inter wiki link, and that does not.
Izno (talk) 21:17, 21 February 2024 (UTC)Reply[reply]
In desktop view, the language variant switcher and the language switcher are kept in separate places. You can find the language switcher on the rightmost of the article title, but the language variant switcher sits below the title.
In mobile view (either by using Minevanene skin or visit, they are merged in one place. You linked four links, only the first one (CN Chinese) is the desktop address of the article, all three other links are mobile addresses.
The current available Chinese dialects are shown below. I am not sure which ones are missing according to your memory:
You might also mistake Japanese (ja:) as Chinese.
MilkyDefer 02:33, 22 February 2024 (UTC)Reply[reply]
@MilkyDefer, @Izno Thank you both, this feedback has been most helpful. I previously lived in HK and travelled around Asia, including organizing a product launch at Computex Taipei for CJK text - so I would not confuse Japanese as Chinese, even if do not really read or write either. However, I do not take note or recall what languages (Chinese or other) that previously showed up in the language switcher pull-down since it never occurred to me that they would apparently disappear. Is there a simple way to cross-seach other Wikipedia languages to find other instances of "Pig butchering scam"?
Enquire (talk) 00:42, 23 February 2024 (UTC)Reply[reply]
@MilkyDefer I did find a very long list of hits when I searched Google:
  • 杀猪盘
Since I only recognize at most 100 Chinese characters, it would take me an awful long time to groom through the results to identify other language instances that could or should be linked.
Enquire (talk) 01:52, 23 February 2024 (UTC)Reply[reply]
From my search results, all of them except the first one are only remotely related. Other results: zh:信任骗局, zh:网络诈骗, zh:电信诈骗, zh:珍愛網 (a dating website), :zh:分类:诈骗 MilkyDefer 13:49, 23 February 2024 (UTC)Reply[reply]

@MilkyDefer, @Izno Incidentally, the page "Pig butchering scam" was created only 3 months ago (2023-11-03). AFAICR, there was a page with the same name prior to that. I am therefore inclined to suspect that a previous incarnation of this page was deleted for whatever reason. If true, is there any way to recover the contents of such prior instance of that page?
Enquire (talk) 02:07, 23 February 2024 (UTC)Reply[reply]

@Enquire there may have been a previous page but it is not at the same title as the page you've created has no deleted history. You would need to be able to produce the exact title, and then you could request the contents at WP:REFUND. Izno (talk) 02:09, 23 February 2024 (UTC)Reply[reply]

To upload the image edit

From which center in Wikipedia can you ask for help to upload the image and possibly correct the permission label. Arbabi second (talk) 07:53, 21 February 2024 (UTC)Reply[reply]

What image? Nardog (talk) 08:36, 21 February 2024 (UTC)Reply[reply]
@Nardog Biography picture of Reza Roosta which is very old and probably under public ownership. Arbabi second (talk) 13:53, 21 February 2024 (UTC)Reply[reply]
You mean fa:File:Reza rousta.jpg? We can't help with matters on other wikis. If you want to determine the copyright status, c:Commons:Village pump/Copyright might be able to help you. Nardog (talk) 14:31, 21 February 2024 (UTC)Reply[reply]
@Nardog.😊 Arbabi second (talk) 20:10, 21 February 2024 (UTC)Reply[reply]

Help report at WM Phabricator edit

Images for Sonu Gowda doesn't get loaded in preview popup (example: at Paramesha Panwala casting section), most probably because her image from Wikipedia was deleted as it was already available on commons (cache issue). I don't use email on Wiki, so somebody could report it? ExclusiveEditor Notify Me! 09:26, 21 February 2024 (UTC)Reply[reply]

Purging worked. Nardog (talk) 09:28, 21 February 2024 (UTC)Reply[reply]

@import doesn't work edit

I've recently moved some styles from m:User:Aaron Liu/global.css to m:User:Aaron Liu/v22.css, and added @import url(//; to the top of the former file. However, now the latter styles don't load. Any idea why? Aaron Liu (talk) 15:05, 21 February 2024 (UTC)Reply[reply]

&type should be &ctype. Matma Rex talk 18:07, 21 February 2024 (UTC)Reply[reply]
To further expand, without the appropriate ctype parameter, the returned page doesn't have a CSS content type specified in the response headers and won't be processed by your browser as CSS. isaacl (talk) 18:10, 21 February 2024 (UTC)Reply[reply]
Well, m:Template:Css import lied to me then. Thanks! Aaron Liu (talk) 19:37, 21 February 2024 (UTC)Reply[reply]

  You are invited to join the discussion at Wikipedia talk:TemplateStyles § RfC: converting sitewide CSS to TemplateStyles. HouseBlaster (talk · he/him) 15:30, 21 February 2024 (UTC)Reply[reply]

The {{spamublock}} tool edit

The {{spamublock}} tool is supposed to delete a promotional page, normally a userpage with advertising on it, and block the user, and has always worked fine for me. But today, when I tried to use it on the page User:Baby Life for Manufacturing of Hygienic Products, it only blocked the user, and did not delete the page — I had to do that separately. Is something up with the tool? Bishonen | tålk 10:29, 22 February 2024 (UTC).Reply[reply]

After some searching I guess you refer to User:MusikAnimal/spamublock by MusikAnimal. You import User:MusikAnimal/spamublock-toolbox.js in User:Bishonen/common.js. I don't use the script and haven't examined it. PrimeHunter (talk) 13:40, 22 February 2024 (UTC)Reply[reply]
@Bishonen I just tested it now on User:MusikPuppet and it worked as expected. I'm assuming there was a network hiccup or something like that. Let me know if it keeps happening and I can investigate further. MusikAnimal talk 18:32, 22 February 2024 (UTC)Reply[reply]
Ah, sorry, I didn't remember if it was a script or what — I've had it since forever. Thank you, Musik. And thank you for creating the script, it's very useful. Bishonen | tålk 19:15, 22 February 2024 (UTC).Reply[reply]

Question regarding page IDs edit

Hullo friends. This isn't really a problem with Wikipedia, but rather something i was curious about something involving page IDs, and I figured someone here would know. Why is is that page IDs seem to randomly cut off at 5281 and smaller numbers? To me, it would make sense if page IDs were given by order of page creation, but that doesn't appear to be the case. That's all. Thanks! Antrotherkus Talk to me! 16:29, 22 February 2024 (UTC)Reply[reply]

The smallest is actually, Page ID 10. mw:Manual:Page ID says "New page IDs are incrementally generated." I think the page ID of a deleted page may be reused, or was in the past. The English Wikipedia originally used UseModWiki and then Wikipedia:Phase II software before MediaWiki. See Wikipedia:Wikipedia's oldest articles. I don't know whether page ID's existed before MediaWiki or what happened when existing pages were transferred. PrimeHunter (talk) 17:25, 22 February 2024 (UTC)Reply[reply]
AFAIK page IDs are never reused. This is because when a page is deleted, it may subsequently be undeleted - and it regains the page ID that it had before it was deleted. During the intervening time, the deleted edits still exist in the database - and are keyed to the page ID.
Anyway, Graham87 (talk · contribs) is the expert for such matters. --Redrose64 🌹 (talk) 21:29, 22 February 2024 (UTC)Reply[reply]
Yes, page IDs are indeed never reused for more than one page. They may change however when a page is deleted/undeleted but MediaWiki now attempts to give a restored page its old page ID. This wasn't the case however before 2016 and when a page was restored it got a new page ID. See this help page on (which is actually fairly new) for more information. To demonstrate that old pages can have newer page IDs on-wiki, I'll adapt and update my message in this thread from 2009. The whatlinkshere function orders pages by namespace and then page ID. For example, in Special:Whatlinkshere/Fleishhacker Pool, one would expect the swimming pool article to be listed first, as it was created in March 2002. However this is not the case because it has been deleted and restored several times.
When a page is deleted, its primary key becomes the ar_id, not the page ID, per this page about the archive table on Graham87 (talk) 03:54, 23 February 2024 (UTC)Reply[reply]

Strange bug causing crashing /refreshing edit

Hello all, I have been experiencing a strange bug as of recently, where sometimes, seemingly completely random as of now, the Wikipedia site only allows me to delete or add 1 single character at a time when editing, and if I try to add or delete more, the site seemingly crashes and reloads automatically, undoing my edits and thus erasing any progress I made. Same thing also can happen when editing my own user page. Very, very frustrating. Any tips would be greatly appreciated. I am using a mobile Android phone. I was told to post here after posting this same request on the help desk. LoneWolf803 (talk) 20:14, 22 February 2024 (UTC)Reply[reply]

Judging from the tags, I assume you're talking about the mobile web site (, not the app, correct? What version of what browser are you using? What keyboard app (e.g. Gboard) are you using to add and delete characters?
Does it typically happen after the editing page has been open for a while, or as soon as you start editing? Nardog (talk) 22:46, 22 February 2024 (UTC)Reply[reply]
Thanks for your reply, correct, I am using the website not the app. I’m using the latest version (121.0.6167.178) (as far as I know, I’m 99% sure but I’ll double check and update this reply if otherwise) of Google Chrome. I tried using Firefox as well and had the exact same issue. And yes I am using the latest version of Gboard (again I’ll double check but I’m almost positive I updated to the latest). Never had an issue with Gboard before either. I also tried clearing cache to no avail. It happens seemingly randomly like I said. Sometimes it’s when I just start editing a page (for the first time even), sometimes when I’ve had it open for a while. Seems to be no pattern to speak of from what I’ve seen. Should I try deleting and re downloading my browser apps? Thanks again. LoneWolf803 (talk) 00:54, 23 February 2024 (UTC)Reply[reply]
Hello, are you still available? LoneWolf803 (talk) 20:45, 24 February 2024 (UTC)Reply[reply]
If it's only happening on Wikipedia, I doubt reinstalling the apps would help you. With no one else corroborating it's difficult to pin down what's happening, but you can report it on Phabricator.
What do you mean, by the way, to try to add or delete more [than one character at a time]? AFAIK you can't add or delete more than one character at a time with mobile keyboards, unless you're pasting something from the clipboard or you've selected a string. Exactly what action causes the page to reload? Nardog (talk) 23:25, 24 February 2024 (UTC)Reply[reply]

Invalid detection of infinite template loop with only one level of nest edit

I'm getting a Template loop detected error in Draft:RecursionTester:

{{Draft:RecursionTester|all}}Template loop detected: Draft:RecursionTesterTemplate loop detected: Draft:RecursionTesterTemplate loop detected: Draft:RecursionTester


A template can call itself, but the recursion will stop after one nesting to prevent an infinite loop. Attempting to go beyond one nesting produces an error message and causes the page to be marked by MediaWiki as having a template loop.

As there can never be more than one level of nest in the recursion tester, it should succeed; nevertheless, it fails. As a guess, the loop detector appears to dislike multiple calls at the same level, even though it only nests one level down.

This draft is a stripped-down tester created to illustrate the problem; my RW use case is Draft:Article attribute decoration. I know how to work around the problem with a wrapper, but I don't see any reason this shouldn't work as coded. Unless I'm missing something, it seems to me that either the template loop detection software is broken, or the description at WP:TEMPLATE LOOP is wrong, and should be rewritten. Mathglot (talk) 22:01, 22 February 2024 (UTC)Reply[reply]

@Mathglot: WP:TEMPLATE LOOP is inaccurate. A template is only allowed to call itself on its own template page. This is used extensively in template documentation. But if page A calls Template:B then Template:B is not allowed to call itself at all during the evaluation. PrimeHunter (talk) 22:32, 22 February 2024 (UTC)Reply[reply]
Wow, that's very different than what it says now.
I propose the following change to WP:TEMPLATE LOOP: delete the paragraph quoted above, and replace it with this:
Generally, template recursion is forbidden; that is, a template may not call itself. Attempting to do so produces an error message and causes the page to be marked by MediaWiki as having a template loop. The one exception is that a template may call itself on its own template page for the purpose of documentation.
That ought to avoid a lot of wasted effort going forward. Mathglot (talk) 22:46, 22 February 2024 (UTC)Reply[reply]
I've boldly changed Help:Template per above. Thanks, Mathglot (talk) 22:51, 22 February 2024 (UTC)Reply[reply]
The one nesting only rule applies on the template page itself but I guess this limitation is not important. PrimeHunter (talk) 23:10, 22 February 2024 (UTC)Reply[reply]

Span style problem in signature edit

I may be asking in the wrong place, but take a look at this. I went to the edit screen and saw <span style="color:silver">[[User:Wikiwow1102|Wikiwow is just W0W!! ]] ([[User talk:Wikiwow1102|talk]]) 19:21, 29 November 2022 (UTC)</span>. Now this has been archived, so there's no point in asking the person to change their signature, unless it's still happening. — Vchimpanzee • talk • contributions • 22:28, 22 February 2024 (UTC)Reply[reply]

Diff. They probably didn't sign with four ~~~~ but either wrote the whole signature manually or signed with three ~~~. This omits a time stamp which can be faked by being part of the stored signature, using subst on code which produces the current time. It's confusing and I would ask an active user to change it but they haven't edited since January 2023. PrimeHunter (talk) 22:47, 22 February 2024 (UTC)Reply[reply]
I have to wonder why the span style didn't do anything to the actual signature, though.— Vchimpanzee • talk • contributions • 23:16, 22 February 2024 (UTC)Reply[reply]
Links are colored to clearly identify them as links. It can only be overwritten by setting a color inside a piped link. [[User:Wikiwow1102|<span style="color:silver">Wikiwow is just W0W!!</span>]] ([[User talk:Wikiwow1102|<span style="color:silver">talk</span>]]) produces: Wikiwow is just W0W!! (talk). Silver text on white background has awful contrast but that's another matter. PrimeHunter (talk) 23:25, 22 February 2024 (UTC)Reply[reply]
In my years of fixing Linter errors, I have seen a few signatures in which people have applied formatting to the time stamp as well as their signature. I suspect that it involves some trickery and that it confuses bots. If the signature also has Linter syntax errors, I will sometimes move the formatting so that it leaves the time stamp alone. – Jonesey95 (talk) 01:52, 23 February 2024 (UTC)Reply[reply]
No trickery, it can be done manually: <span style="color:silver">~~~~</span>Redrose64 🌹 (talk) 18:06, 23 February 2024 (UTC)Reply[reply]
@PrimeHunter: You can get just the timestamp part of the signature by typing ~~~~~, 5 instead of 4. – 2804:F14:80C5:3C01:95F6:953B:7E66:6B4C (talk) 23:45, 23 February 2024 (UTC)Reply[reply]

Weird issue where Vector 2022 is being forced on a single page. edit

So I use desktop Vector 2010 on mobile, and have a global preference set to enforce it. But when I go to Wikipedia:Sockpuppet investigations/PaullyMatthews (I was checking back on a report I made) I get Vector 2022 forced.


I can't find any reason why this page is forcing Vector 2022 (it's archive is doing the same). No other pages are effected, not even other SPI pages. -- LCU ActivelyDisinterested «@» °∆t° 22:40, 22 February 2024 (UTC)Reply[reply]

I also saw that, and also on some other SPI pages. I'll bet it was a WP:THURSDAY feature. I've refreshed and purged a few times and it seems to have now gone (for me anyway). -- zzuuzz (talk) 22:50, 22 February 2024 (UTC)Reply[reply]
Probably not, this has been happening to pages translcuding special pages (PrefixIndex in this case). See /Archive 210#One page looks like Wikipedia does now. Nardog (talk) 22:54, 22 February 2024 (UTC)Reply[reply]
Force-refreshing the SPI page has fixed it for me. This wasn't the first time; I recall some other time that an editor at VPT found Vector22 being forced and the link to it caused me to see it as well. SWinxy (talk) 04:53, 23 February 2024 (UTC)Reply[reply]
Happening on Module:RoundN too. SWinxy (talk) 02:50, 25 February 2024 (UTC)Reply[reply]
I get Vector 2022 instead of my preferred Monobook on Wikipedia:Featured article candidates/Dorothy Olsen/archive1, three times out of four reloads. —Kusma (talk) 23:00, 22 February 2024 (UTC)Reply[reply]
If I purge the archives and refresh I get the proper skin, but if I refresh again it's back to 2022. -- LCU ActivelyDisinterested «@» °∆t° 23:10, 22 February 2024 (UTC)Reply[reply]
I'll just add that I've seen the same thing RoySmith (talk) 23:44, 22 February 2024 (UTC)Reply[reply]
@STei (WMF) I'm guessing this may be related to the Edit Recovery feature you rolled out earlier today. RoySmith (talk) 00:36, 23 February 2024 (UTC)Reply[reply]
I also have it on Wikipedia:Sockpuppet investigations/PaullyMatthews (my default skin in Vector2010). But a hard refresh fixed it, and presumably hardest refresh would do the trick too. 🌺 Cremastra (talk) 00:57, 23 February 2024 (UTC)Reply[reply]
I've purged and refreshed the page, still the same problem. I'm using the desktop site on mobile, so the hardest refresh isn't an option (and why Vector 2022 is so very thoroughly broken for my purposes). -- LCU ActivelyDisinterested «@» °∆t° 02:25, 23 February 2024 (UTC)Reply[reply]
Wow, this is bizarre. I'm now getting V22 on Wikipedia:Sockpuppet investigations/PaullyMatthews and Wikipedia:Featured article candidates/Dorothy Olsen/archive1! Looks like it's somehow sticky to those pages. RoySmith (talk) 02:34, 23 February 2024 (UTC)Reply[reply]
I'm working my way through all the FAC pages listed at WP:FAC. So far, it's pretty repeatable that each /archive1 page I open up, it opens in V22. Doesn't seem to matter if it's a FAC I've ever looked at or not. Some unreproducible number of page reloads eventually gets me to the non-V22 version. RoySmith (talk) 02:57, 23 February 2024 (UTC)Reply[reply]
I noticed this at Wikipedia:Articles for deletion/¡Tchkung! (2nd nomination). Extraordinary Writ (talk) 06:52, 23 February 2024 (UTC)Reply[reply]
I likewise have the issue on this page: Cortador (talk) 19:08, 24 February 2024 (UTC)Reply[reply]
Can confirm I'm having this problem on certain random pages, all under the Wikipedia namespace (mostly AFDs and SPIs), and it usually goes away when I refresh. I also have Vector 2010 as default. LilianaUwU (talk / contributions) 02:44, 25 February 2024 (UTC)Reply[reply]

Wrong skin on just one page edit

I use the "Vector legacy (2010)" skin and all pages display as they should. Except one: Wikipedia:WikiProject Canoeing and Kayaking. This page displays using the new Vector skin. Why? — GhostInTheMachine talk to me 09:49, 23 February 2024 (UTC)Reply[reply]

Yep, I see it — GhostInTheMachine talk to me 09:52, 23 February 2024 (UTC)Reply[reply]
It's a bunch of pages, upstream regression. — xaosflux Talk 15:35, 23 February 2024 (UTC)Reply[reply]
Yeah, but this one doesn't fit the pattern of transcluding Special:Prefixindex (which typically happens on sub-pages to create the back-link header). @GhostInTheMachine is this reproducible for you? RoySmith (talk) 15:50, 23 February 2024 (UTC)Reply[reply]
@RoySmith that page does indeed transclude prefixindex, it is in the navbox. — xaosflux Talk 15:56, 23 February 2024 (UTC)Reply[reply]
Ah, interesting. So now I'm wondering why I can't reproduce the problem on that page :-) RoySmith (talk) 16:11, 23 February 2024 (UTC)Reply[reply]
Oh, now I just got it in V2022. Weird. RoySmith (talk) 16:16, 23 February 2024 (UTC)Reply[reply]
The page is still being evil ... — Preceding unsigned comment added by GhostInTheMachine (talkcontribs) 17:00, 23 February 2024 (UTC)Reply[reply]
I get the wrong skin on a number of module pages, but not all. Ones with the wrong skin include Module:Clade, Module:Biota infobox and Module:Goalscorers, but Module:Taxonbar and Module:Autotaxobox shows with the skin in my preferences (MonoBook). —  Jts1882 | talk  17:37, 23 February 2024 (UTC)Reply[reply]
For me the first three also appear in the wrong skin, but the last two don't. It will be interesting to learn what's causing this. -- LCU ActivelyDisinterested «@» °∆t° 18:45, 23 February 2024 (UTC)Reply[reply]

I've got the same issues as the people above but also with Wikipedia:Articles for deletion/Log/2024 February 23. It seems to resolve for a bit if I changed to the new skin and back in a different tab and refresh, but it reverts to the issue later. Shaws username . talk . 22:00, 23 February 2024 (UTC)Reply[reply]

  • I also stumbled across this - a random selection of AfD date pages appear in Vector 2022 for me. This RfA is in V2022, but this one appears in V2010. Bizarre! —Ganesha811 (talk) 15:48, 24 February 2024 (UTC)Reply[reply]
Same, but some logs don't have the issue. Glad it's not my system. Star Mississippi 18:09, 24 February 2024 (UTC)Reply[reply]

Shifting "skins" edit

Sorry if this has been brought up already but I do a lot of work on AFD daily log pages and they keep shifting skins. The layout can even change when I refresh the page. The view I don't want is a small middle column and two wide columns on either side. I'm used to the old view with a large middle column that has the majority of content and a top menu and only a right-hand side columns. There was a message at the top of a page that mentioned XFD discussion so I uninstalled that feature but it hasn't changed things for me. I have a week of AFD daily logs open in tabs and about 5 pages have the old view and 3 pages have the alternate view. Refreshing the page helped this morning (the view would switch back) but that doesn't work any longer. I've looked at my Preferences but nothing has changed there, still Vector Legacy.

It's strange how the layout of content really affects how I work and I find this new view, with tons of white space, off-putting. Any ideas how I can return things to normal for all AFD daily log pages? Thanks for any suggestions. Liz Read! Talk! 05:19, 24 February 2024 (UTC)Reply[reply]

@Liz: Sounds like the same problem as Wikipedia:Village_pump_(technical)#Weird_issue_where_Vector_2022_is_being_forced_on_a_single_page. Where there are some cases where a page will use the new skin instead of the user's preferred skin. Or is this a different problem you are seeing? RudolfRed (talk) 06:02, 24 February 2024 (UTC)Reply[reply]
Well, Wikipedia:Articles for deletion/Log/2024 February 17 was one particular page that just kept showing the alternate, white space skin (I should really learn their names). I did find I could hide the right-hand side menu which helped. But I just refreshed this page and got the old style came back so who knows? But this time, I was running into this phenomena on AFD daily log pages (as mentioned in the message below this one). I should have known it was a system bug, not just me, so thanks for moving my message to join others that mention similar problems. Liz Read! Talk! 20:07, 24 February 2024 (UTC)Reply[reply]

Technical summary edit

Where Special:PrefixIndex is typically used

To summarize what's going on in a non-technical way, this appears to be a bug related to Special:PrefixIndex, which is used to generate the back-link header that's seen on subpages. A subpage is basically any page that has a slash in its title in certain namespaces (possibly all spaces except mainspace?). And what I'm calling the "back-link header" is the collection of links that take you back to the parent page. This is commonly seen in process pages such as WP:AfD, WP:SPI and WP:FAC. If you're seeing this on one of those kinds of pages, that explains it. If you're seeing this on a page that's not a subpage, that's a lot more interesting, and please post your exmples here. RoySmith (talk) 19:28, 24 February 2024 (UTC)Reply[reply]

That is incorrect. The breadcrumb links have nothing to do with this. It's happening on pages where Special:PrefixIndex is transcluded, usually via templates like {{Featured article tools}} and {{SPI archive notice}}. Nardog (talk) 19:43, 24 February 2024 (UTC)Reply[reply]
Oh, I thought the back links also called PrefixIndex. In any case, thank you for the correction. RoySmith (talk) 19:49, 24 February 2024 (UTC)Reply[reply]

Theme switching back and forth edit

I use the Vector 2010 theme, but have noticed that on a few AfD pages it switches to some sort of different, worse, minimalist theme. When I click "switch to old look" it takes me to the user page where it shows I am using the old look. Most pages are fine including this one. Is this a bug? SportingFlyer T·C 22:32, 24 February 2024 (UTC)Reply[reply]

Yes. See above. * Pppery * it has begun... 22:35, 24 February 2024 (UTC)Reply[reply]

Tool to convert external links to refs edit

When I'm in visual editing, there's already a tool that, when I click a bare reference (<ref></ref>), displays a Convert button to click to generate the full reference. Is there something like that for pure external links ([])? If not, can there be one? Largoplazo (talk) 23:24, 22 February 2024 (UTC)Reply[reply]

I suggest one of two ways. First, in VE, click the Cite tool (the big quote marks on the toolbar), click "Automatic", and then paste the URL into the box. Another way is to install User:V111P/js/WebRef. Neither is perfect, but both are better than constructing the citation entirely by hand. RoySmith (talk) 01:15, 23 February 2024 (UTC)Reply[reply]
Thanks, the former is what I've been doing. I was looking for something with fewer steps. Largoplazo (talk) 01:51, 23 February 2024 (UTC)Reply[reply]

everything is broken edit

I am confused

You Know on the main page."}]}" data-mw="{"caption":"This user helped get \"Frelinghuysen University\" listed at Did You Know on the main page."}">You Know on the main page." data-parsoid="{}">This user helped get "Frelinghuysen University" listed at Did <strong style=You Know on the main page." resource="//" src="//" decoding="async" data-file-width="144" data-file-height="166" data-file-type="drawing" height="20" width="17" srcset="// 1.5x, // 2x" class="mw-file-element hide-images-handled" data-parsoid="{"a":{"resource":"./File:DYK_questionmark_icon.svg","height":"20","width":"17"},"sa":{"resource":"File:DYK questionmark icon.svg"}}">
You Know on the main page."}]}" data-mw="{"caption":"This user helped get \"Lisa Winter\" listed at Did You Know on the main page."}">You Know on the main page." data-parsoid="{}">This user helped get "Lisa Winter" listed at Did <strong style=You Know on the main page." resource="//" src="//" decoding="async" data-file-width="144" data-file-height="166" data-file-type="drawing" height="20" width="17" srcset="// 1.5x, // 2x" class="mw-file-element hide-images-handled" data-parsoid="{"a":{"resource":"./File:DYK_questionmark_icon.svg","height":"20","width":"17"},"sa":{"resource":"File:DYK questionmark icon.svg"}}">
You Know on the main page."}]}" data-mw="{"caption":"This user helped get \"Shit flow diagram\" listed at Did You Know on the main page."}">You Know on the main page." data-parsoid="{}">This user helped get "Shit flow diagram" listed at Did <strong style=You Know on the main page." resource="//" src="//" decoding="async" data-file-width="144" data-file-height="166" data-file-type="drawing" height="20" width="17" srcset="// 1.5x, // 2x" class="mw-file-element hide-images-handled" data-parsoid="{"a":{"resource":"./File:DYK_questionmark_icon.svg","height":"20","width":"17"},"sa":{"resource":"File:DYK questionmark icon.svg"}}">

every top badge on a proflie is breaking also it keeps forcing redlinks on actual things with pages


•Cyberwolf•talk? 14:52, 23 February 2024 (UTC)Reply[reply]

Try to deactivate everything in User:Cyberwolf/common.js and meta:User:Cyberwolf/global.js, then reload. — xaosflux Talk 15:31, 23 February 2024 (UTC)Reply[reply]
Even simpler, try opening the page in an incognito window. RoySmith (talk) 16:27, 23 February 2024 (UTC)Reply[reply]
or with ?safemode=1 on your url. — xaosflux Talk 16:28, 23 February 2024 (UTC)Reply[reply]

Special:RecentChanges and "created automatically" accounts edit

Sorry if this has been asked before, couldn't find it, but it's something I only now noticed:
Recent changes only shows account creations that are listed as "was created" in Special:Log/newusers and doesn't show accounts that are listed as "was created automatically".
Am I just missing some obvious setting or is this actually intended? – 2804:F14:80C5:3C01:95F6:953B:7E66:6B4C (talk) 08:31, 24 February 2024 (UTC)Reply[reply]

Category template mess edit

Is anyone able to work out why the redirect Category:Infobox road instances in has recently filled up with 273 entries when they should be in Category:Infobox road instances without location? I can't spot anything in the templates that shows why they're populating this one. Timrollpickering (talk) 09:55, 24 February 2024 (UTC)Reply[reply]

Following the chain of templates and modules used in {{Infobox road}}, it appears this change is causing {{Infobox road/meta/mask/category}} to return just the word "in" (at least for A21 road (England)). Whether this is an issue with the template usage or the module edit I don't know. Aidan9382 (talk) 10:30, 24 February 2024 (UTC)Reply[reply]
Changing country=ENG to country=GBR seems to solve the technical problem but the cost of altering the display on some entries. Timrollpickering (talk) 13:55, 24 February 2024 (UTC)Reply[reply]
Yeah it knocks out constituent country and the links for Northern Ireland are different. Timrollpickering (talk) 13:58, 24 February 2024 (UTC)Reply[reply]

Deleted Category Articles edit

I was directed here to ask my question about the “murderers for life insurance money” category. I’d like to know the list of articles under that category before it was deleted. I’m sure it’s under the contribution history of a user or bot, so I’m trying to find exactly which was responsible for it. If that’s not how I can find the list, I’d like to know how I can find that history. Reference me with “@“ so I may get an alert to your reply form the mention you leave. ContributingHelperOnTheSide (talk) 18:07, 24 February 2024 (UTC)Reply[reply]

@ContributingHelperOnTheSide: You can see the bot removing the category from articles here when it deleted it. Nardog (talk) 19:07, 24 February 2024 (UTC)Reply[reply]
And you can find the bot by clicking a link to the deleted page Category:Murderers for life insurance money, or enter the page name at Special:Log. PrimeHunter (talk) 19:17, 24 February 2024 (UTC)Reply[reply]
Thank you very much! ContributingHelperOnTheSide (talk) 20:28, 24 February 2024 (UTC)Reply[reply]
Thank you very much! ContributingHelperOnTheSide (talk) 20:28, 24 February 2024 (UTC)Reply[reply]

New articles from category by PetScan edit

Why some categories not load in PetScan? Eurohunter (talk) 19:47, 24 February 2024 (UTC)Reply[reply]

More contrib list trouble edit

Back here I had a problem with displaying editors' contributions lists because my filters were permanently set to "Hide probably good edits". Well, this has caused some problems lately. First of all, I'm getting tired of having to manually uncheck that box when I see someone's contributions list. But more importantly, I've been having some problems pressing the "Older 50/100/250/500" button. Here's what happens: 1) I uncheck the "Hide probably good edits" button (which, by the way, I've seen nothing pop up on vandalism-only accounts' contributions list because the programme thinks that they're "probably good edits") 2) I click "Older 50", although it could be for any other amount too 3) Nothing shows up. 4) I unclick "hide probably good edits" 5) I am shown only the first 50 contributions of the user. Nothing I've tried seems to work. Any advice? Cheers ‍ Relativity 23:03, 24 February 2024 (UTC)Reply[reply]

None of the options in the form get reflected unless and until you click "Search". So in order to see an unfiltered list of the 51st and older contributions, you have to uncheck the option, click Search, and then click "older 50". Nardog (talk) 23:09, 24 February 2024 (UTC)Reply[reply]
How are you accessing the contributions? "Hide probably good edits" isn't checked by default and I'm not aware of a user preference to make it so. Nardog (talk) 23:15, 24 February 2024 (UTC)Reply[reply]
Apparently checking "Show only likely problem edits (and hide probably good edits)" in Preferences -> Recent changes causes the option in Contributions to be checked by default. Nardog (talk) 23:29, 24 February 2024 (UTC)Reply[reply]
@Nardog Yes, unchecking that worked! Thank you! ‍ Relativity 01:32, 25 February 2024 (UTC)Reply[reply]