🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Wikipedia:VPT
Jump to content

Wikipedia:Village pump (technical)

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

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

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

Special:UserRights

[edit]

Why is there so much additional space on Special:UserRights all of a sudden? The two columns seem to be twice the distance apart and each line is as if there's two line breaks between them. - The Bushranger One ping only 22:38, 22 November 2025 (UTC)[reply]

phab:T117884. * Pppery * it has begun... 22:44, 22 November 2025 (UTC)[reply]
Oh, they "improved" it. Figures. - The Bushranger One ping only 04:36, 23 November 2025 (UTC)[reply]
@The Bushranger You can make it more compact by adding the following to your Special:MyPage/common.js: if (mw.config.get('wgCanonicalSpecialPageName') == 'Userrights') {$('.oo-ui-fieldsetLayout-group .oo-ui-fieldLayout.oo-ui-labelElement').css('margin-top', 0)}. --Ahecht (TALK
PAGE
)
17:00, 25 November 2025 (UTC)[reply]
Much better, thank you! - The Bushranger One ping only 23:02, 25 November 2025 (UTC)[reply]
@Ahecht and The Bushranger: You don't need to jump through JavaScript hoops when it can be done in CSS:
.page-Special_UserRights .oo-ui-fieldsetLayout-group .oo-ui-fieldLayout.oo-ui-labelElement { margin-top: 0; }
this goes in Special:MyPage/common.css. --Redrose64 🌹 (talk) 23:21, 26 November 2025 (UTC)[reply]
@Redrose64, The Bushranger: Looks like something was changed in the software to force the top margin to 2px, so the CSS-only tweak doesn't work. That being said, having it set to 2px instead of 12px likely makes the tweak unnecessary anyway. --Ahecht (TALK
PAGE
)
16:46, 1 December 2025 (UTC)[reply]
Well, it certainly  Works for me, I know because I tested it here. --Redrose64 🌹 (talk) 23:02, 1 December 2025 (UTC)[reply]

The User Info card will be enabled for patrollers

[edit]
Mockup of the User Info card

Hello, I'm writing on behalf of the Wikimedia Foundation Product Safety and Integrity team. Over the past few months, we have been working on the User Info card. When you tap or click on the "user avatar" icon button next to a username, it displays data related to the user account. It helps access key information that can be helpful while patrolling. The feature is available for all users in preferences as well as global preferences ("User Info" under "Advanced options").

We released the feature on all wikis, saw good feedback and at this point, we believe that we can go further. Enabling it by default for some user groups will make their workflows simpler and more efficient, especially in the temporary accounts world. Specifically in relation to temporary accounts, the User Info card highlights if another user has turned on the ability to view temporary account IPs and provides an estimated number of temporary accounts from associated IP addresses.

We are planning to enable this feature by default for admins, checkusers, rollbackers and Temporary accounts IP viewers (TAIVs). The feature can be easily disabled in preferences.

We will be making this change tomorrow. Do you have any questions? Thanks! SGrabarczuk (WMF) (talk) 16:18, 26 November 2025 (UTC)[reply]

What does by default mean? Will it be enabled for me too even though I enabled/disabled it in the past? (because popups felt superior, and it doesn't require an extra click!) — DVRTed (Talk) 22:40, 26 November 2025 (UTC)[reply]
Hey, I'm guessing that it'd appear for each user with any of these rights, regardless of whether they've enabled or disabled the preference before or not. But I will ask my colleagues to confirm this. SGrabarczuk (WMF) (talk) 22:52, 26 November 2025 (UTC)[reply]
@DVRTed if you've already disabled it, it should not be re-enabled for you. KHarlan (WMF) (talk) 09:37, 27 November 2025 (UTC)[reply]
@KHarlan (WMF): I'd previously enabled then disabled it for testing, but it was re-enabled for me. Graham87 (talk) 11:54, 27 November 2025 (UTC)[reply]
Oh. I'm sorry, that is unexpected. When I tested that behavior a few months ago, I recall that conditional defaults would not override a locally or globally set preference. KHarlan (WMF) (talk) 11:59, 27 November 2025 (UTC)[reply]
  • So even greater display of info on registered users, and more secrecy for drive-by anons? Is that really a good direction to be pushing internet social projects? Andy Dingley (talk) 15:48, 27 November 2025 (UTC)[reply]
    Hey @Andy Dingley, this sounds interesting; could you tell more why you think this means more secrecy for drive-by anons? Thanks! SGrabarczuk (WMF) (talk) 16:04, 27 November 2025 (UTC)[reply]
    Hiding IP has made dealing with vandalism and especially political bias (Persistent PoV pushing that's not actionable single-edit vandalism) much harder. Who benefitted from that? Andy Dingley (talk) 16:12, 27 November 2025 (UTC)[reply]
    You must have misunderstood the feature being enabled here. It's about providing more info about unregistered editors, and it is providing that info to the listed roles above.
    If you are annoyed by temporary accounts, there is plenty of consternation at WP:VPWMF where you may provide feedback. You should move on if you have nothing to say about the specific feature in this announcement. Izno (talk) 16:23, 27 November 2025 (UTC)[reply]
I checked my user preferences and it has become set although I did not set it, but there is no such functionality. Hawkeye7 (discuss) 18:39, 27 November 2025 (UTC)[reply]
Scratch that. They appeared after I did a forced reload (see below). Hawkeye7 (discuss) 19:12, 27 November 2025 (UTC)[reply]

I would like to publicly thank SGrabarczuk (WMF) and the other WMF developers who worked on this feature for listening to the feedback that early testers provided and making changes to the cards in order to make them more accurate. Good work. – Jonesey95 (talk) 17:48, 27 November 2025 (UTC)[reply]

@SGrabarczuk (WMF) Maybe we can do this for NPP folks as well? Sohom (talk) 18:24, 27 November 2025 (UTC)[reply]
Thanks Jonesey! I'm glad that you like the feature and I hope it will help many community members.
@Sohom Datta, this is totally doable, although we'd need to work on the mw:Extension:PageTriage to have the button render there. Let's keep in touch on this. SGrabarczuk (WMF) (talk) 21:02, 27 November 2025 (UTC)[reply]
@SGrabarczuk (WMF): Can we also have this before the signature of every TA? I find this feature rather helpful, especially the "temporary accounts from all associated IPs" part. It might also be beneficial to have it in SPI socklists (example). Children Will Listen (🐄 talk, 🫘 contribs) 00:40, 28 November 2025 (UTC)[reply]
The user icon is too distracting for me in page histories so I have changed it to with this in your CSS:
.ext-checkuser-userinfocard-button__icon--userAvatar {
  mask-image:url("https://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Infobox_info_icon.svg/20px-Infobox_info_icon.svg.png");
}
PrimeHunter (talk) 21:43, 27 November 2025 (UTC)[reply]

Tiny heads

[edit]

Is there a way to get rid of the million tiny heads that are now cluttering almost every page that has usernames? It's visually utterly useless. --jpgordon𝄢𝄆𝄐𝄇 20:05, 27 November 2025 (UTC)[reply]

In Special:Preferences#mw-input-wpcheckuser-userinfocard-enable ("Enable the user info card"), but note that if you click on the icons, it does provide potentially-useful info. See the related thread above #The User Info card will be enabled for patrollers for more context. HTH. Quiddity (WMF) (talk) 20:12, 27 November 2025 (UTC)[reply]
@Quiddity (WMF): It's pretty bugged at the moment—likely due to the recent changes to .mw-userlink, I assume.
Screenshot showing too many user account icons in my watchlist. This is with ?safemode=1.
DVRTed (Talk) 20:23, 27 November 2025 (UTC)[reply]
For idiots like me, please can you confirm how I can remove the little heads? They are annoying and distracting. GiantSnowman 21:12, 27 November 2025 (UTC)[reply]
In your user-preferences, turn off the setting for "Enable the user info card". See the link in my comment just above. HTH. Quiddity (WMF) (talk) 21:23, 27 November 2025 (UTC)[reply]
Perfect, thanks - but in future, can such changes be announced so people can opt in, rather than forcing us all to have it and then try and turn it off? GiantSnowman 21:44, 27 November 2025 (UTC)[reply]
I found that the heads are clickable; clicking produces a pop-up box; near the top of that box is a three-dot icon, clicking that generates a menu which has "Turn off this feature", a direct link to the above setting. --Redrose64 🌹 (talk) 22:08, 27 November 2025 (UTC)[reply]
I turned mine off too, via this route. I do use most of the info provided by the box on a regular basis perhaps once or twice a day. If the head icon wasn't so overwhelmingly distracting I might have left them there, but the distraction far far overwhelms the utility of the function. - Walter Ego 10:06, 28 November 2025 (UTC)[reply]
Thanks for the feedback. Would T402103: UserInfoCard: Add preference to display card on hover address your concern? KHarlan (WMF) (talk) 10:24, 28 November 2025 (UTC)[reply]
That, for me, would be much better. I see somebody posted a screenshot there that amply demonstrates the problem!! - Walter Ego 10:37, 28 November 2025 (UTC)[reply]
fwiw, I found that making the icons a bit lighter helped make them less distracting. I'm using
.ext-checkuser-userinfocard-button.cdx-button .ext-checkuser-userinfocard-button__icon.cdx-button__icon { background-color: #929AA1; }
AntiCompositeNumber (they/them) (talk) 22:44, 28 November 2025 (UTC)[reply]
I added that to my common.css file, and it changed the heads from black to gray, which I find helpful. I agree with other editors that the heads are a bit intrusive, but I also like to access the information I get by clicking on them, and so, for me, making them gray is an improvement. --Tryptofish (talk) 01:24, 2 December 2025 (UTC)[reply]
@Quiddity (WMF): Thank you! Unchecking this fixed my watchlist. However, I do wish that these sorts of things were opt-in. – bradv 22:15, 27 November 2025 (UTC)[reply]
@DVRTed thanks for the report -- yes it is related to the mw-userlink bug from T392775: Add link color for temporary usernames in content and discussion pages, and will be fixed on Monday when Fix mw-userlink class being added too broadly (mediawiki/core~1212439) is deployed KHarlan (WMF) (talk) 09:58, 28 November 2025 (UTC)[reply]
[edit]

The mw-userlink class is now applied to links to user in edit summaries and the like, making it impossible for gadgets and scripts to rely on the class being only in core interface parts. This potentially affects dozens of scripts. Nardog (talk) 14:41, 27 November 2025 (UTC)[reply]

They apparently wanted to be able to grey-background links to temporary accounts wherever those might appear, and usurped the "mw-userlink" class to do so. It may be worth filing a Phabricator task requesting they bring back a way to find the performing user in a watchlist or Special:RecentChanges row now that mw-userlink can also be applied to the page affected, the diff and history links, and links inside the edit summary. Anomie 15:09, 27 November 2025 (UTC)[reply]
That task is phab:T392775. Izno (talk) 17:27, 27 November 2025 (UTC)[reply]
That's the task for where they usurped the mw-userlink class. Anomie 21:42, 27 November 2025 (UTC)[reply]
Hello! I'm sorry to have caused this issue... Extending the set of cases where mw-userlinks is applied definitely wasn't planned nor needed for the task I was working on (which is adding gray backgrounds to selected temp. user links in content area). For that, we had to change the code that's responsible for adding the user-related classes to the links, and alas, we didn't catch the unwanted change to the scope of mw-userlinks.
The patch to fix the behavior has already been prepared and waits for CI and review. Given that this issue probably isn't a reason for emergency backport (which is the only kind of deployment allowed on Fridays), I expect the fix can be deployed to production on Monday morning.
Again, I'm sorry that this happened. As a person, who's part of the wiki communities, I feel how it is when gadgets break and require fixing. Unfortunately, this time, I'm at the more bitter side of things and I can't help immediately. I'll ensure, though, that the fix lands on production as soon as possible (which is unlikely to be today). MSzwarc-WMF (talk) 08:35, 28 November 2025 (UTC)[reply]
Well, don't be so hard on yourself. In fact I'm pleasantly surprised you're reverting it—most of the time devs are like "tough luck" when this kind of thing happens. Nardog (talk) 13:15, 28 November 2025 (UTC)[reply]
The fix is deployed now. It's possible that some pages still have these extra mw-userlink classes added, but forcing reload (or ?action=purge) should resolve that. MSzwarc-WMF (talk) 08:35, 1 December 2025 (UTC)[reply]
It seems to have been resolved. Thank you. I hope this incident wasn't too stressful for you; accidents happen. — DVRTed (Talk) 08:48, 1 December 2025 (UTC)[reply]
No, it wasn't that stressful (in fact, probably less that my original message implies). I primarily wanted to communicate what were the cause and expectations from the WMF side around the issue, so that the community didn't need to panick over the weekend :) MSzwarc-WMF (talk) 12:50, 1 December 2025 (UTC)[reply]
[edit]

Hi everyone! I did some code optimizations about a day ago to each of the following user scripts that I've used for a long time: User:Oshwah/History-UserLinks.js, User:Oshwah/Undelete-UserLinks.js, User:Oshwah/CULog-UserLinks.js, and User:Oshwah/AFLog-UserLinks.js.

Basically, they modify the user tool links "(talk | contribs | block)" next to each user listed on the specific special page or area, and add more links to them to make performing actions much quicker.

Since the end of yesterday, suddenly, they're all completely messing up! They're now adding links to the wrong account or user from someone further up the list, and the scripts are now starting to set the "current_user" to "contribs" instead of the username of the current user to add user look links next to.

I'm stumped! I did make some code improvements to some of the scripts, but all four of them are having problems despite me only updating three of them. Rolling back all of my changes and clearing browser cache, the whole works, made no difference. What's going on? Can someone look at these scripts and maybe tell me if something has changed? They were all working perfectly fine up until when the user cards feature was deployed.

PLEASE HELP! I'd be forever in your debt and eternally grateful for any help, input, or guidance.... :-) (Please ping me in your responses, as I'm currently working on cleaning out my watchlist for being way too full...) ~Oshwah~(talk) (contribs) 17:06, 27 November 2025 (UTC)[reply]

Heyya, @Oshwah: I skimmed through User:Oshwah/History-UserLinks.js and wrote a patch at User:DVRTed/sandbox/temp.js (diff). Note that there's still plenty of room for improvement in the script, but it should just work... for now. Regards, — DVRTed (Talk) 19:14, 27 November 2025 (UTC)[reply]
Welp, I didn't notice it's supposed to run on Special:Log too—currently, it only works on history pages. — DVRTed (Talk) 19:19, 27 November 2025 (UTC)[reply]
DVRTed - Oh, trust me... I'm absolutely not saying that the script I wrote is the best thing in the world code-wise. I happened to see the discussion made right above mine, and it looks like others have already beat me to it with their observations as well. Okay, cool! I'm just really happy to know that it wasn't me that overlooked something and caused these scripts scripts to mess up. My thanks to Izno for nesting my cry for help under the discussion located above this one, and my sincere thanks to you, DVRTed, for taking the time to look through my really shitty JS code... :-) ~Oshwah~(talk) (contribs) 19:25, 27 November 2025 (UTC)[reply]
@Oshwah This should fix it: Special:Diff/1324467072. I've gotten rid of the flimsy indexing[i] too. — DVRTed (Talk) 19:42, 27 November 2025 (UTC)[reply]
DVRTed - Thank you so much! Ugh... I was educated in C++ when I went to college, which is what I actually have my bachelor's degree in (whether you believe it or not, based off how awful my code is here...). What I need to do is find a resource that will help me to learn and get more familiar with JS and how it all works on the web vs my object-oriented programming mindset that's engraved into my brain. I wish there was something out there that could help me sharpen my skills with JS and with the MediaWiki libraries and built-in variables and functions... Thanks again; I owe you one... :-) ~Oshwah~(talk) (contribs) 19:52, 27 November 2025 (UTC)[reply]
Well, my only formal IT qualification is in COBOL. --Redrose64 🌹 (talk) 22:11, 27 November 2025 (UTC)[reply]
@Oshwah Re: I wish there was something out there that could help me sharpen my skills with JS and with the MediaWiki libraries and built-in variables and functions. I found it all very overwhelming when I first started working with MW components, APIs, etc. I learned a lot simply by looking at existing userscripts. I've rewritten your History-Log-Links from scratch with way too many comments, which might be useful for maintaining or debugging this script (and other related ones.) See User:DVRTed/sandbox/temp.js. PS: I hope this gesture doesn't come off as patronizing—this is me genuinely trying to be helpful because it seemed like you could use some pointers. PPS: Happy coding! — DVRTed (Talk) 01:58, 28 November 2025 (UTC)[reply]
DVRTed - Oh hell yes! Thank you for doing this! What you described and what you did for me is exactly what I needed! Looking at existing user scripts, forking some scripts and changing the code in order to customize them to my personal preference, and (at least attempting to) create some of my own scripts is exactly how I've managed to learn some of the MediaWiki libraries and (if anything) just how different JS is than the object-oriented programming mindset that I'm so used to. No, you're not coming off as patronizing or anything like that at all! This is really awesome and extremely helpful to me, and I seriously appreciate it a lot! Thank you. Now I just need to fix the other .mw-usertoollink scripts I wrote (such as this one) so that they work properly as well. If I had working examples of these scripts performing exactly what I intent, it would provide me a lot of good information and learning. I hope this response doesn't come off as me requesting you to spend more time and fix these other scripts as well. Either way, I'll eventually figure it out. Thanks again! :-) ~Oshwah~(talk) (contribs) 02:10, 28 November 2025 (UTC)[reply]
DVRTed - Ohhh, SWEET JESUS... You have absolutely no idea how awesome this is and how happy you made me. I almost shook my computer monitor violently in excitement when I looked through that code. I obviously have a shit ton to learn with JS vs C++ (as I've been saying), such as how the value assignment works on line 20 with your constant var declaration, why you put publiclog_link into an array format [publiclog_link] on line 44, what ${variable} does vs just entering variable, how the different built-in tools and functions work, and many many more things. Ugh, I just need to find a resource that can just teach me JS from the very beginning... You made me very happy, and I thank you very much! :-) ~Oshwah~(talk) (contribs) 02:29, 28 November 2025 (UTC)[reply]
C++ is generally harder to learn, but understanding certain basics about Javascript makes it much easier to follow, and also certain basics about Javascript running in a browser environment. So I agree with your assessment about finding a good introductory resource :-). (Some key differences off the top of my head: Javascript is garbage collected, and much like Java and other newer languages, its variables can only hold values of a specific set of types or the equivalent of a C++ reference to an object. Thus an object isn't copied when one variable is assigned to another; both variables point to the same object. Although ECMAscript version 5 does introduce the concept of classes, and thus ways to scope symbols within a class, the older versions do not have classes, and the only way to scope symbols is to declare them locally within a function. That's why you'll see Javascript code do things like declare an anonymous function and invoke it immediately, in order to avoid introducing symbols into the global namespace. Javascript does have an interesting inheritance mechanism where each object can hold an object reference to a prototype object that gets searched for a matching property if none exists in the current object. (The prototype object can have its own prototype property; the search will go up the chain until a match is found or there are no more prototypes to search.) I don't believe Wikipedia supports ECMAScript 5 in user scripts so only prototype-based inheritance can be used. In a browser environment, there is a pre-defined window object, and all global variables are properties of the window object.) isaacl (talk) 03:16, 28 November 2025 (UTC)[reply]
I don't believe Wikipedia supports ECMAScript 5 in user scripts so only prototype-based inheritance can be used.: User scripts run on your browser JS engine, and pretty much every modern browser has support for the class keyword. Children Will Listen (🐄 talk, 🫘 contribs) 03:27, 28 November 2025 (UTC)[reply]
As I recall, user scripts are validated before being served by the MediaWiki server, and the validator being used doesn't support ECMAscript 5. isaacl (talk) 03:31, 28 November 2025 (UTC)[reply]
I don't recall user scripts being validated anywhere. I do get some spurious warnings when trying to save some code that uses ES2022 private fields, but it works fine. Children Will Listen (🐄 talk, 🫘 contribs) 03:35, 28 November 2025 (UTC)[reply]
If that were the case, most, if not all, of the scripts I've written would be broken. — DVRTed (Talk) 03:36, 28 November 2025 (UTC)[reply]
Well, I should start using classes, too then :-). As I recall, there was a Phabricator ticket about updating the validator; perhaps it has been resolved. (Or maybe I've confused it with a ticket for ECMAscript 6 support.) isaacl (talk) 03:44, 28 November 2025 (UTC)[reply]
@Isaacl Weren't let/const, destructuring, etc introduced in ES6? All of them work a-OK! Optional chaining was introduced in ~ES11, which I'm using here: User:DVRTed/author-link.js#L-304. — DVRTed (Talk) 03:57, 28 November 2025 (UTC)[reply]
ES6 and ES7 were supported as of January 2024. I believe ES5 was at a much earlier date. Izno (talk) 03:59, 28 November 2025 (UTC)[reply]
Thanks for the update. Last time I suggested to someone to use "let" they told me it was unsupported, which was the last time I looked into it. isaacl (talk) 04:01, 28 November 2025 (UTC)[reply]
Oh, and $(something) is functionality added by the jQuery library, so you can add reading a basic jQuery tutorial to the list. Nowadays, there is equivalent functionality in the Document Object Model API provided by the browser for a lot (most?) of the jQuery API, but some may still prefer the syntactic sugar of using something like $(".someParentClass .someChildClass") to fetch all matching elements. isaacl (talk) 03:27, 28 November 2025 (UTC)[reply]
I'm glad it's helpful! For line 20,
const is_supported_page = special_pagename && ["Log", "Listusers"].includes(special_pagename);
It's checking if special_pagename is a truthy value (it would be false on a non-Special page) AND if the current page name is included in the list of names; if both of these conditions are met, it is a "supported page." (MDN)
const new_links = [publiclog_link]; is so that the publiclog_link is added before anything else; this is to maintain the order from your original script: talk, contribs, publiclog, [ip related links], [other links, i.e, block]. With template literals, instead of something like "Hello " + name + "!", you can simply write `Hello ${name}!`. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals that explains it very well. Regards, — DVRTed (Talk) 03:52, 28 November 2025 (UTC)[reply]

Translation of English articles into Persian

[edit]

I want to translate and create articles from Persian (Persian Wikipedia) to English. How do I activate the toen wiki tool? What are the article translation tools and how do I activate them? AndisheyAzad (talk) 23:12, 27 November 2025 (UTC)[reply]

You may review WP:CX. Your account is too new to use it here. Izno (talk) 04:01, 28 November 2025 (UTC)[reply]
@AndisheyAzad in addition to what Izno said, you don't need tools. You can see Wikipedia:Translation with important considerations and how to link the articles to each other via Wikidata. ~ 🦝 Shushugah (he/him • talk) 00:15, 1 December 2025 (UTC)[reply]

Archive url

[edit]

How can I bypass Cloudflare to archive a site? I can’t archive it because of Cloudflare’s verification issue. (Sorry if this isn’t the right place for technical questions, I don’t know where else to discuss this.) Rafael Ronen 08:07, 29 November 2025 (UTC)[reply]

Ask someone at WP:Teahouse to archive it for you. Johnuniq (talk) 00:36, 30 November 2025 (UTC)[reply]
Please don't refer people to the Teahouse, when they have already found a more specific forum.
The usual reply there, for technical questions that can't immediately be answered, is to refer them here. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:01, 30 November 2025 (UTC)[reply]
In general, sure, but this question clearly involves someone unable to archive a page due to an obscure problem with their device (a crippled browser) which can't be resolved here. The solution is to get someone else to archive the page which has already been offered at the Teahouse. Johnuniq (talk) 01:55, 1 December 2025 (UTC)[reply]
It's clearly not about a problem with their device. It's about the Wayback Machine inhibited by Cloudflare Turnstile. Nardog (talk) 02:35, 1 December 2025 (UTC)[reply]
The solution is to get someone else to archive the page which has already been offered at the Teahouse. And which could just add easily have been offered here. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:07, 1 December 2025 (UTC)[reply]
due to an obscure problem with their device (a crippled browser) Do you think archive sites take raw HTML from the client to store on their server? — DVRTed (Talk) 10:09, 1 December 2025 (UTC)[reply]
Some actually operate that way! From Rhizome_(organization)#Web_archiving: "The "symmetrical web archiving" (browser-based) approach, meaning the same software is used to both record and play back the website.[24] While other web archiving tools run a web crawler to capture sites, Webrecorder.io took a different method, recording network traffic while a user browsed the site to capture its interactive features." This approach later developed into Conifer, which stores the capture at a central archive site. If Wikipedia ever created its own archive site, this is the software to use, it has the highest fidelity. With that said, John may have been thinking the user could not access web.archive.org, due to a block or something wrong with their browser. -- GreenC 05:23, 2 December 2025 (UTC)[reply]

Rafael Ronen: Can you post the URL you want to archive? Ping me when ready, I don't normally read here. -- GreenC 15:39, 30 November 2025 (UTC)[reply]

@GreenC 1 and 2 Rafael Ronen 01:18, 1 December 2025 (UTC)[reply]
Rafael Ronen, unfortunately I tried 4 sites and none work (WaybackMachine, Archive.is, Conifer, Ghostarchive). CloudFlare makes it impossible to archive because the sites have a high level of security enabled (human check). Sometimes sites will reduce the level in the future, because CloudFlare interferes with normal users trying to access the site. Maybe they are having a bad time right now with AI scrapers or hackers, check back with them in the future to try again. -- GreenC 03:08, 1 December 2025 (UTC)[reply]

Sandbox

[edit]

When I'm viewing the preview of my edit(s) on my sandbox (when the User sandbox template is there, this message appears), it shows this message at the top:

“This sandbox is in the article namespace. Either move this page into your userspace, or remove the User sandbox template”.

However, when the NAMESPACE template is up there instead, the preview shows nothing — the dialog is gone — but after saving the page, it just displays User.

Am I supposed to do something with my sandbox? (As I looked it up, it seems this only happens in the Android app). Vastmajority20025 (talk) 18:03, 29 November 2025 (UTC)[reply]

This started at Wikipedia:Help desk#Sandbox. I don't have an Android device for testing but apparently, if a userspace edit is previewed in the Android app then the magic word {{NAMESPACE}} returns blank which indicates mainspace and fools namespace-dependent templates. Other namespaces and magic words at mw:Help:Magic words#Namespaces may be affected but I cannot test it. It works in the iOS app and a browser. Can somebody with an Android device make some tests and report it at Phabricator if they confirm the bug? PrimeHunter (talk) 12:48, 30 November 2025 (UTC)[reply]
Yeah you may test it on iOS and windows too. Vastmajority20025 (talk) 14:11, 30 November 2025 (UTC)[reply]
Thanks for the note! I've created a Phabricator task; shouldn't be too difficult. Dmitry Brant (talk) 22:28, 1 December 2025 (UTC)[reply]

Mute feature not working

[edit]

I've tried to mute User:JoeNMLC from spamming my talk page several times now. Why isn't it working? I don't want to be drilled messages by him. ♦ Dr. Blofeld 18:18, 29 November 2025 (UTC)[reply]

Muting doesn't apply to your user talk page. Izno (talk) 18:41, 29 November 2025 (UTC)[reply]
Dr. Blofeld - those messages are automatic created when I do a PROD (for articles without sources), and go to the article creator. Thanks for the feedback. Regards, JoeNMLC (talk) 19:40, 29 November 2025 (UTC)[reply]
Dr. Blofeld: See Help:Notifications#mute for what it does. If it works then you did not get a notificatin about JoeNMLC's above post which mentioned you but you got one for me. His posts to you like [1] were made with Twinkle and you cannot opt out of that. PrimeHunter (talk) 19:59, 29 November 2025 (UTC)[reply]
I think it's time then we allowed the option to opt out of Twinkle messages. To mute users should mean the ability to stop talk page messages from people. I have nothing against Joe and don't have an issue with him prodding articles which genuinely don't have adequate sourcing online, but I don't want to receive the prod notices. ♦ Dr. Blofeld 20:41, 29 November 2025 (UTC)[reply]
Twinkle is used for many things, e.g. escalating warnings. Disruptive users shouldn't be able to opt out of that. Others might opt out of Twinkle to avoid one type of post and then miss other types. PrimeHunter (talk) 21:05, 29 November 2025 (UTC)[reply]
I'm not a disruptive user. ♦ Dr. Blofeld 19:05, 2 December 2025 (UTC)[reply]
@Dr. Blofeld: I certainly didn't imply that. I just think there are too many problems with allowing users to opt out of Twinkle messages when Twinkle is used by so many users for so many different messages. We might allow a limited opt out like allowing users to opt out of prod messages but it sounds like significant work for a system very few would probably use. How bad is it to just remove or ignore the messages, and do you really never want to be notified about any article you have created? PrimeHunter (talk) 21:10, 2 December 2025 (UTC)[reply]
I have raised a PR for Twinkle to support recipient-level optouts for CSD/PROD/XFD notifications: https://github.com/wikimedia-gadgets/twinkle/pull/2251SD0001 (talk) 19:09, 2 December 2025 (UTC)[reply]
Thank you, appreciated. ♦ Dr. Blofeld 21:26, 2 December 2025 (UTC)[reply]
I wonder if it should use Template:Bots#Message notification opt out instead of a custom thing. Anomie 21:46, 2 December 2025 (UTC)[reply]
That's a fine system for bots. For gadget/user scripts, it's useful to have something that's easily detected client-side if the page is open ($('a.external[href*=optout\\.twinkle]')) or with an API call that has a small response (prop=extlinks with elquery param). Maybe the template could be made non-Twinkle specific, but if there's interest that can be done later as the advantage of not relying on the wikitext is that we can rename the template later, modify the external link it uses, etc. – SD0001 (talk) 11:28, 3 December 2025 (UTC)[reply]
It's not really the greatest system for bots either, but it's what we have. It works fairly well as a check when you're making an edit without using the "append a new section" feature, and it has both the advantage and disadvantage that it can't be (accidentally) transcluded from some other page. Anomie 12:48, 3 December 2025 (UTC)[reply]

Harv & Sfn cite issues/errors + cite books

[edit]

I am working on getting 1st Maine Cavalry Regiment out of Category:Harv and Sfn no-target errors and have run into a problem with cite books. As I have been going editing the article I am getting new error messages of "Script warning: One or more {{cite book}} templates have errors; messages may be hidden (help).", one more every time I have fixed a harv cite issue. I apparently do not have a script installed to see what these issues are. Can someone look in on the article and tell me the error? And maybe also what I need to install so I can see the cite book errors as well? Thanks, Shearonink (talk) 18:28, 29 November 2025 (UTC)[reply]

You don't need a script. cs1|2 error messages are visible to everyone unless you have explicitly set your css to hide them (you haven't; at least not in your common.css). The easiest way to find those sorts of errors is to use your browser's find function (ctrl+f in windows) to look to the string (help.
Trappist the monk (talk) 18:51, 29 November 2025 (UTC)[reply]
@Shearonink pinging in case you did not see this ~ 🦝 Shushugah (he/him • talk) 00:11, 1 December 2025 (UTC)[reply]

Strange (incorrect) page layout

[edit]

please see the screenshot below

DenBkh (talk) 21:43, 29 November 2025 (UTC)[reply]

You have hidden the two sidebars that can end up in that space. One of them is the goggles at the top right. One of them is the tools dropdown below the languages dropdown. Izno (talk) 21:46, 29 November 2025 (UTC)[reply]
Why then doesn't the main content of the page scale to fit the available space? DenBkh (talk) 21:57, 29 November 2025 (UTC)[reply]
You're using Vector 2022. That is how it works by default. You can change it in the goggles dropdown. Izno (talk) 21:59, 29 November 2025 (UTC)[reply]
definitely a bug of 'Vector 2022' - how to report ? DenBkh (talk) 22:00, 29 November 2025 (UTC)[reply]
No, it is by design. Reporting it will simply cause it to be closed immediately. You have been provided the two supported ways to deal with the layout of the page. Izno (talk) 22:02, 29 November 2025 (UTC)[reply]
Now I understand better why migration to this design was blocked in Ru wiki by two community polls ... DenBkh (talk) 22:15, 29 November 2025 (UTC)[reply]
Yes, and part of their objection was fixed by providing the goggle dropdown. (I don't know if it solved all of their objection.) Izno (talk) 22:33, 29 November 2025 (UTC)[reply]
fixed by this. Should be enabled automatically I suppose.
DenBkh (talk) 22:03, 29 November 2025 (UTC)[reply]
Why should it? It's uncomfortable to read long lines, this has became common practice on the web again. Sjoerd de Bruin (talk) 08:31, 1 December 2025 (UTC)[reply]
Or change your skin in Special:Preferences. Izno (talk) 21:59, 29 November 2025 (UTC)[reply]

Articles created

[edit]

On the list of articles I have created [2] there is Glynis Jones which is not my creation. The only edits I have made there are those two [3][4]. Is there any way how to remove Glynis Jones from the list? Ktrimi991 (talk) 02:01, 30 November 2025 (UTC)[reply]

Looks like you did create the page at one point: you created the redirect (in Special:PermaLink/852535838) by renaming the old version of the page to Glynis Jones (disambiguation). The history doesn't look like it because someone later did some history merging and splitting, which resulted in some of the disambiguation page edits you had moved to be merged with the redirect.
Apparently xtools identifies a "creation" by looking for the rev_parent_id field to be 0. I don't know of any straightforward way to reset this (since T183375 fixed preservation across deletion and undeletion). Anomie 02:34, 30 November 2025 (UTC)[reply]
Thank you for your explanation, much appreciated. The redirect that I created is supposed to be on the list of my redirects instead, not on the list of my articles. It seems that I will have to live with it. Ktrimi991 (talk) 03:57, 3 December 2025 (UTC)[reply]
I suspect that it doesn't show up on the "onlyredirects" list because it's not a redirect now. Anomie 13:05, 3 December 2025 (UTC)[reply]

Malformed URLs

[edit]

Starting in October, WaybackMachine URLs are being added malformed a specific way:

https://web.archive.org/web/20250625020902//web/20250625020902/https://www.ssvulm1846.de/der-verein/historie/

They are being added by multiple editors. Although in one case, the same editor User:Bocanegra added them in multiple articles:

Special:Diff/1322943490/1324781064, Special:Diff/1320772985/1324780890, Special:Diff/1321924030/1324864220

Bocanegra says they are not using special scripts or tools or VE, just normal editing. Currently there are 19 cases (slow load), yesterday there were 15 (cleaned up a lot already). This is an active ongoing bug new instances added daily. Any thoughts? -- GreenC 15:19, 30 November 2025 (UTC)[reply]

Unless someone is cleaning ones as they show up, I don't see any that were added after the end of October, and none before mid-September ish. Izno (talk) 18:41, 30 November 2025 (UTC)[reply]
Weird. I cleaned up a bunch yesterday, down to 15, and today there are 19 27! The number keeps changing. Probably regex timeout. Anyone have a better search than this? insource:"//web/" insource:/\/\/web\// -- GreenC 19:04, 30 November 2025 (UTC)[reply]
This also hits a timeout but is probably marginally better since it dodges some obvious false positives. According to Help:Linksearch the externallinks table is available on Quarry. You can probably rustle up some SQL to find these (WP:RAQ can help if you don't know it).
Dates of introduction:
The source isn't VE from what I can see. I suppose it's possible to use Citoid via the toolbar rather than via VE so that is a possible cause. Otherwise, I suspect this is or was some copy-paste bug introduced by some browser or browser extension. Izno (talk) 17:44, 1 December 2025 (UTC)[reply]
Pinging a few of the editors that inserted these links recently to see if they remember how they did it: @KenL2001 (Special:Diff/1314815131), @Andykatib (Special:Diff/1323696641 and Special:Diff/1315329186), @Camilasdandelions (Special:Diff/1319672241), and @Bocanegra (Special:Diff/1315616423). --Ahecht (TALK
PAGE
)
21:28, 1 December 2025 (UTC)[reply]
I'm not sure why that happened, I just went to here and put the grammy's link, then copied the link and pasted. Perhaps just the wayback machine's error or not.. Camilasdandelions (talk!) 21:57, 1 December 2025 (UTC)[reply]
I posted a query with Wayback Machine engineers to see if anyone recognizes it as a known problem. -- GreenC 03:41, 2 December 2025 (UTC)[reply]
Confirmed bug: according to Wayback engineers:
We had an issue from ~September 15th to ~October 5th related to the date URLs at the top adding an additional /web/timestamp
Izno posted some diffs above that post-date October 5, but the one's I checked appear be wikitext copied from other pages, or other parts of the article. -- GreenC 04:17, 2 December 2025 (UTC)[reply]
Thanks @Ahechtfor the heads-up. Lately, Internet Wayback Machine has sometimes been playing up. It works for some websites but certain websites like Reuters and Stuff don't allow it to copy their pages. Andykatib (talk) 22:16, 1 December 2025 (UTC)[reply]
I believe this is now repaired. The URLs were in over 100 articles, and probably over 400 links. If any new ones show up it will be from old diffs, such as a revert to an old version of the page. -- GreenC 19:50, 2 December 2025 (UTC)[reply]

Dark mode glitch

[edit]

Hey, I wanted to let you experienced editors know about a common glitch I keep encountering. Some text inside collapsible lists in infoboxes becomes invisible when using dark mode. I'm not sure how to fix it, but I've seen it quite often. The last three examples I noticed were Territories of the United States, Ataturk, and George Washington.

(Android, mobile website, chrome version: 142.0.7444.171) ChickpeaAnxiety (talk) 19:27, 30 November 2025 (UTC)[reply]

it's fine in the light mode ChickpeaAnxiety (talk) 19:28, 30 November 2025 (UTC)[reply]
I fixed one. background: transparent is the issue there. (I removed the text-align also because that's the default.) Izno (talk) 19:57, 30 November 2025 (UTC)[reply]
I cannot reproduce the issue on George Washington, so you will need to be more specific. Izno (talk) 20:01, 30 November 2025 (UTC)[reply]
Andd the same for Ataturk. Izno (talk) 20:02, 30 November 2025 (UTC)[reply]
@Izno https://ibb.co/gxznsYX ChickpeaAnxiety (talk) 08:38, 1 December 2025 (UTC)[reply]
That does not illuminate. Izno (talk) 17:08, 1 December 2025 (UTC)[reply]
These two are screenshots of the text that is not visible in dark mode, highlighted in red. ChickpeaAnxiety (talk) 17:37, 1 December 2025 (UTC)[reply]
Maybe someone else can reproduce. I can't on Firefox or in Chrome, even after actually checking on my mobile device. Are you using the Wikipedia official dark mode or some extension? Reader mode? Izno (talk) 17:49, 1 December 2025 (UTC)[reply]

Category does not appear in administrative backlog

[edit]

Category:Requested RD1 redactions is in Category:Administrative backlog, but doesn't appear there. This category is automatically populated by {{Admin backlog}} if it is above a certian size. –LaundryPizza03 (d) 03:06, 1 December 2025 (UTC)[reply]

A null edit usually fixes issues like this. Otherwise, you need to wait for the job queue to get to it, which can take days or weeks. – Jonesey95 (talk) 03:48, 1 December 2025 (UTC)[reply]
It has the code {{Admin backlog|5}} which adds Category:Administrative backlog if there are at least 5 category members, so it can go in and out of the parent category. I don't think a job is added to the job queue when the number of category members changes so it can take a long time to update. Some actions like a purge cause the category page itself to be updated but not the link tables which control the listings in the parent category so things can be out of sync. A null edit of Category:Requested RD1 redactions (not of the parent category) will update everything quickly. PrimeHunter (talk) 15:06, 1 December 2025 (UTC)[reply]
In short, if you want that Admin backlog template to categorize its category pages in a timely fashion, you'll need a bot to periodically null edit the pages that you care about. – Jonesey95 (talk) 15:37, 1 December 2025 (UTC)[reply]

Request: Move userspace draft to Draft namespace

[edit]

Hello! I kindly request technical assistance to move the following draft out of my userspace and into the Draft namespace, per COI and AfC guidelines.

    • Current location:**

User:Associació Òpera Popular de Barcelona/sandbox

    • Requested destination:**

Draft:Opera Popular of Barcelona

Reason: As the subject of the draft is related to the organization associated with my username, I am following Wikipedia’s conflict of interest policies and the AfC process. Editors advised that the page should be placed in the Draft namespace for proper review by independent reviewers. I do not have the permissions to move the page myself.

Thank you very much for your help! “Requesting technical move of draft to Draft namespace” — Preceding unsigned comment added by Associació Òpera Popular de Barcelona (talkcontribs) 08:35, 1 December 2025 (UTC)[reply]

@CristinaRaventos There already appears to be a draft at Draft:Opera Popular de Barcelona. If you wish to recover the text of the deleted userspace draft, see WP:REFUND. --Ahecht (TALK
PAGE
)
16:31, 1 December 2025 (UTC)[reply]
Hola Pau, tens tota la raó, l’enllaç que li havia enviat contenia paràmetres i no apuntava bé. Aquí tens l’URL correcte a la pàgina de proves:
👉 https://ca.wikipedia.org/wiki/Usuari:CristinaRaventos/proves/Òpera_Popular_de_Barcelona
Pel que fa al conflicte d’interès: sí, tinc relació amb l’entitat, i per això no estic editant l’article directament. Només he preparat un text neutre al meu espai de proves, tal com indiquen les polítiques de COI, i demano que un editor independent valori si pot ser traslladat a l’espai principal.
Si ho consideres inadequat igualment, ho respecto totalment. Però si creus que el text és neutral i referenciat, i que compleix els criteris mínims, t’agrairé moltíssim qualsevol orientació sobre el pas correcte a seguir.
Moltes gràcies per la teva ajuda.
—CristinaRaventos CristinaRaventos (talk) 05:22, 2 December 2025 (UTC)[reply]
@CristinaRaventos This is not the right place for this request as it is not a technical issue, but why did you just respond in Catalan on the English Wikipedia? ClaudineChionh (she/her · talk · email · global) 05:31, 2 December 2025 (UTC)[reply]
What people do with LLMs can't always be explained. – Jonesey95 (talk) 06:01, 2 December 2025 (UTC)[reply]
(I didn't want to start off with that accusation, but yes, I do suspect an LLM is in the driver's seat here.) ClaudineChionh (she/her · talk · email · global) 06:03, 2 December 2025 (UTC)[reply]

Tech News: 2025-49

[edit]

MediaWiki message delivery 18:55, 1 December 2025 (UTC)[reply]

Subscribe option for AFD discussions

[edit]

I have a recurring problem where I nominate an article for deletion, and then don't get any notifications when comments are made or the discussion is closed. This would be a lot handier than bookmarking and coming back later, which is what I do now, as I often need to follow up with other cleanup, or sometimes there are questions that I could have answered. For example, on Wikipedia:Articles for deletion/강수연, there's no option to subscribe for new comments. If I go to Tools -> Subscribe, it seems that only subscribes me for new topics, but new topics are never created on AFD pages. Is there a good workaround for this, or is a feature request needed? -- Beland (talk) 03:14, 2 December 2025 (UTC)[reply]

Only solution is using level 2 headers at the moment. Sjoerd de Bruin (talk) 08:24, 2 December 2025 (UTC)[reply]
Hmm, it looks like level 3 headers are being used on each AFD page. It would actually be useful to also be able to subscribe or unsubscribe from level 3 sections, maybe? Sometimes a long discussion will split into multiple subthreads. -- Beland (talk) 08:44, 2 December 2025 (UTC)[reply]
You can vote for meta:Community Wishlist/W267. Nardog (talk) 09:00, 2 December 2025 (UTC)[reply]
Aha, that's what I was thinking was out there somewhere. Added myself as a supporter!
Theoretically if we changed XFD level 2 headers to level 1 and then level 3 to level 2, we'd work around this, but that might create a compatibility and re-templating nightmare? -- Beland (talk) 10:03, 2 December 2025 (UTC)[reply]
@Beland: Since every AfD is on its own individual page, you can do what I did: at Preferences → Watchlist, enable "Add pages I create and files I upload to my watchlist". This also works for MfD, but not CfD, FfD, RfD or TfD, on all of which several separate nominations share one daily page. For these, you would need to enable "Add pages and files I edit to my watchlist". --Redrose64 🌹 (talk) 21:44, 2 December 2025 (UTC)[reply]
Unfortunately, my watchlist has over 1400 pages and I almost never check it. (When I do, it's to purge the list of followup items from years ago.) -- Beland (talk) 21:48, 2 December 2025 (UTC)[reply]
Ah, but if I restrict viewing my watchlist to the Wikipedia namespace, it does actually produce a useful list of AFD pages I recently created. Thanks for the suggestion. -- Beland (talk) 22:31, 2 December 2025 (UTC)[reply]

Caret color CSS change? (Affecting "Reply" textarea only)

[edit]

I'm using the Vector 2010 skin in dark mode. Since returning from a few weeks away, I'm finding the caret in "reply" widgets is very dark grey (or maybe just very transparent) on black, making it nearly invisible. Which in turn makes it extremely difficult to make edits after typing. (Selection highlights in those textareas are also difficult to see, being navy or very transparent blue on black) In regular edit areas (such as my sandbox), it appears as its usual bright white, and selections the shade of green that I've configured. Has there been a CSS change recently? Though I can't find any caret-color rules using developer tools. I haven't edited my own user CSS lately, either. Using the latest Firefox on Mac (Sequoia), if that makes a difference. -- Avocado (talk) 16:43, 2 December 2025 (UTC)[reply]

Might be the syntax highligter. However, vector 2010 has no official dark mode support, so it is expected to vreak every once in a while and then you have to wait for a community memebrr to fix it (or not). —TheDJ (talkcontribs) 18:08, 2 December 2025 (UTC)[reply]

Temp user captcha

[edit]

1. Not really sure how you fix but it’s desktop centric to use a first letter lowercase captcha when most phones default to capitalizing first letter. Proper English and all that. Anyway adds a level of friction on mobile

2. Who’s the captcha stopping? I didn’t test but that looked trivial to screen scrape - two simple words with distinct dark strokes ~2025-37933-19 (talk) 17:56, 2 December 2025 (UTC)[reply]

“Who’s the captcha stopping” the dumbest stuff, what is still a complete waterfall of bad faith contributions. But we might be switching to a invisble hcaptcha soon, so lets hope for that. —TheDJ (talkcontribs) 18:06, 2 December 2025 (UTC)[reply]
Also see Wikipedia:Village pump (WMF) § Replacing our CAPTCHA with a new bot detection service, part 2: editing and the links therein. Graham87 (talk) 05:49, 3 December 2025 (UTC)[reply]

Dark mode bug in after-delete message box

[edit]

The landing page after a successful page deletion, e.g.: https://en.wikipedia.org/w/index.php?title=User:Beland/Comparison_of_circulating_currencies&action=delete (which unfortunately only works once unless you recreate the page) has dark mode problems. It's title "Action complete" and then there's a box titled "Maintenance links" which has text like "Depending on the reason for deletion, you may want to remove any links to this page (articles | redirects)." All the body text in this box (except for blue links) is nearly impossible to read grey-on-grey in dark mode. I'm not sure where this text is controlled from. -- Beland (talk) 22:18, 2 December 2025 (UTC)[reply]

I don't see this issue with the supported dark mode for normal page deletions (which are at MediaWiki:Deleted-page-and-talkpage and/or MediaWiki:Deletedtext) based on the display there. I do see an issue with MediaWiki:Filedelete-success. Those are the only three pages I saw in a search with "depending on the reason for deletion". Izno (talk) 23:05, 2 December 2025 (UTC)[reply]
Ah, it looks like I tried to fix those before. The problem only shows up when the content is displayed in context after deletion, not when viewing the content on a standalone page. I tested this time and I seem to have actually fixed the first two. Your changes to the third page make it much better standalone; not sure how to test that as a sequence. -- Beland (talk) 23:20, 2 December 2025 (UTC)[reply]
Yup, just did the sequence on the suggested page and didn't see an issue. Izno (talk) 23:19, 2 December 2025 (UTC)[reply]

Bug with RTL titles in watchlist

[edit]

I'm looking at https://en.wikipedia.org/w/index.php?title=Special:EditWatchlist&namespace=0&offset=0%7CTwo-way&limit=500 and there's one page with an Arabic title. Because of a text order rendering bug, it shows up as "21(talk | history) [Arabic title] days left on your watchlist". Same problem with RTL title in Hebrew. I'm not sure where this interface is defined? -- Beland (talk) 22:49, 2 December 2025 (UTC)[reply]

This can't be fixed in the message. It probably merits an upstream task. Izno (talk) 23:00, 2 December 2025 (UTC)[reply]
Done: phab:T411561. Thanks for the diagnosis. -- Beland (talk) 23:07, 2 December 2025 (UTC)[reply]

Diff

[edit]

What actually changed here? [8] — Martin (MSGJ · talk) 12:47, 3 December 2025 (UTC)[reply]

It was Es (Cyrillic). Nardog (talk) 12:50, 3 December 2025 (UTC)[reply]
Ah, okay, thanks. I knew I fixed it but didn't know how! — Martin (MSGJ · talk) 12:51, 3 December 2025 (UTC)[reply]
I copy-paste to https://r12a.github.io/uniview/ (not a Wikimedia tool) for such things. It indeed says "0421 CYRILLIC CAPITAL LETTER ES". In this case our own Special:Search/С would also have worked with a redirect to Es (Cyrillic). PrimeHunter (talk) 14:51, 3 December 2025 (UTC)[reply]

reporting PetScan error

[edit]

Greetings, The long-standing PetScan I've run like for months, is now showing error: Io(Io(Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })). Against "Category - All articles lacking sources". If an expert here can investigate, that would be great. I know from in the past, sometimes, PetScan "magically" recovers, so I will try again tomorrow. (not urgent) Thanks. JoeNMLC (talk) 20:52, 3 December 2025 (UTC)[reply]

Yes! - PetScan now runs Ok. Cheers, JoeNMLC (talk) 22:31, 3 December 2025 (UTC)[reply]

#tag with optional attribute

[edit]

Producing a tag with an attribute is easy: {{#tag:foo|txt|bar=baz}} generates <foo bar="baz">txt</foo>. But I'm writing a template where the attribute should be optional: depending on a template parameter, there should either be the attribute with a value or no attribute at all. I thought code like this should work (using a dummy condition here): {{#tag:foo|txt|{{#if:true|bar=baz}}}}. But it doesn't, the attribute is ignored: <foo>txt</foo>. It looks like {{#tag}} only recognizes attributes if the = character occurs directly in the value, even {{#tag:foo|txt|bar{{=}}baz}} doesn't work. So far, I can only think of two ways to make this work:

  1. Wrap the whole code in an {{#if}} clause that contains two separate invocations of {{#tag}}. Of course, that leads to a lot of code duplication, since the invocations are identical except for the attribute.
  2. Always generate an attribute, but give it a dummy name (and value, maybe) in the case where I don't actually want it: {{#tag:foo|txt|{{#if:true|bar|dummy}}=baz}}. This works in my case (the next parser phase seems to simply ignore the unknown attribute), but it feels a bit dirty.

Is there a better way to produce a tag with an optional attribute? — Chrisahn (talk) 20:57, 3 December 2025 (UTC)[reply]

Unfortunately there isn't. I usually do #2 if I am calling a template, but I prefer #1 if I am calling parser function or anything that is a black box. P.S. The way I do #2 is usually by adding a hash: {{my template|txt|{{#if:true||#}}bar=baz}}. --Grufo (talk) 00:12, 4 December 2025 (UTC)[reply]
I generally switch to generating it with Lua when the logic reaches this level of complexity. – SD0001 (talk) 03:40, 4 December 2025 (UTC)[reply]

Does Wikipedia allow inline prefers-color-scheme?

[edit]

Can't remember if I posted this here, but exactly what the question says. Does wikitext support this for CSS? My userpage previously used a lot of custom CSS and had a bunch of contrast issues depending on which colour mode a user is on, which I need to fix by creating overprecise CSS. thetechie@enwiki (she/they | talk) 22:30, 3 December 2025 (UTC)[reply]

Yes, your question has been answered. Izno (talk) 22:48, 3 December 2025 (UTC)[reply]

Userbox group not working

[edit]

Not sure if this is the right place to post this, but I have an issue on my user page in which the userbox group does not work. If you expand it, it simply says {{{userboxes}}}. How do I fix this? thetechie@enwiki (she/they | talk) 22:31, 3 December 2025 (UTC)[reply]

@TheTechie: {{Userbox group}} recognises five named parameters: |collapse= |style= |title= |userboxes= and |footer= (it also recognises one positional parameter as an alias for |userboxes=). You're trying to use |title= (which is valid), |collapsed= and |content= (which are not). --Redrose64 🌹 (talk) 22:54, 3 December 2025 (UTC)[reply]
@Redrose64 Thank you. I think I was using Template:Userboxgroup, might be worth updating the documentation. thetechie@enwiki (she/they | talk) 20:23, 4 December 2025 (UTC)[reply]
No, you're definitely using {{Userbox group}}. {{Userboxgroup}} is a different template with different syntax. --Redrose64 🌹 (talk) 22:19, 4 December 2025 (UTC)[reply]
Why are there two templates with such similar names but different syntax that a typo of not hitting space could cause massive issues that aren't easily solvable? Should they be merged? ~212.70~ ~2025-31733-18 (talk) 04:58, 5 December 2025 (UTC)[reply]
Functionalities appear to be generally dissimilar. One should probably have a different name. Izno (talk) 05:54, 5 December 2025 (UTC)[reply]
Here are some links:
Judging by those, they have co-existed for more than four years. The one with prior claim to the name would at first glance be Template:Userboxgroup, but Template:Userbox group is maintained in synch with m:Template:Userbox group. --Redrose64 🌹 (talk) 23:23, 5 December 2025 (UTC)[reply]

Formatting issue

[edit]

Hello,

I've started making a game log for the 1996–97 Golden State Warriors season unfortunately it's not formatting the way it should and has some inexplicable | in it and I want those gone, can someone assist me with the game log formatting?

Thank you guys so much YachtSee (talk) 23:38, 3 December 2025 (UTC)[reply]

The documentation for {{NBA game log section}} was lacking a key instruction. I have fixed the documentation and the article. – Jonesey95 (talk) 01:44, 4 December 2025 (UTC)[reply]
Well That's annoying, the answer was right under my nose but it wasn't clear at the same time. YachtSee (talk) 04:25, 4 December 2025 (UTC)[reply]

A Template citation bundle that isn't working

[edit]

2025 UNHRC Commission of Inquiry report on Gaza genocide is calling Template:Gaza genocide consensus citation bundle and one of the references isn't working in the article. I am not familiar with citation bundles I guess and have been unable to figure out how to fix the "Arab Center Washington DC" ref. Any help appreciated, I'm just trying to Wikignome my way through Category:Harv and Sfn no-target errors. I think the error has to do with the {{#invoke:cite|web that is missing from the Arab Center ref?, but am not certain and I sure as h*ll don't know how to fix it... I'd just like to get this article cleared from the error category. Thanks, Shearonink (talk) 05:08, 4 December 2025 (UTC)[reply]

Your problem has nothing to do with the {{#invoke:cite|web|...}} form of {{cite web}}.
Revert your edit at {{Gaza genocide consensus citation bundle}}. Add the {{cite web}} long-form citation to 2025 UNHRC Commission of Inquiry report on Gaza genocide § Sources – just like all of the other short-form references in {{Gaza genocide consensus citation bundle}}.
Trappist the monk (talk) 14:12, 4 December 2025 (UTC)[reply]
Well, Trappist, I did basically post that I'm no expert... Thank you, I'm toddling off to fix it now. Always appreciate your expertise & advice. - Shearonink (talk) 15:16, 4 December 2025 (UTC)[reply]
Trappist the monk I tried to fix it and my poor skills and real life are interfering... I throw myself on the mercy of the court. - Shearonink (talk) 15:30, 4 December 2025 (UTC)[reply]

Adding a GIF to an article

[edit]

Hi, I was told to ask this question here. I tried to copy a GIF from The Heart Part 5 and put it on the Deep Voodoo article you accepted. It got removed for some kind of violation. Is there a right way to post that GIF on that article? Could I Do This? (talk) 16:00, 4 December 2025 (UTC)[reply]

That wasn't a technical issue, it was removed (bot assisted) for copyright issues. The primary reason is that the file is not free. You can follow up about it here: Wikipedia:Media copyright questions. — xaosflux Talk 16:17, 4 December 2025 (UTC)[reply]
Thanks for the explanation! Could I Do This? (talk) 16:19, 4 December 2025 (UTC)[reply]

Contribs Page not working for users with ? in their name

[edit]

See [[9]] The contributions for User:Could I Do This? send you to the contribs for the nonexistent user User:Could I Do This. The ? is being removed. Is this a known bug? Best wishes, Macaw*! 18:29, 4 December 2025 (UTC)[reply]

Note: I think this is because the url interprets the ? as the start of a query string. We probably need to make it escape it to %3F automatically as https://en.wikipedia.org/wiki/Special:Contributions/Could_I_Do_This%3F works Best wishes, Macaw*! 18:35, 4 December 2025 (UTC)[reply]
Macaw*, where are you getting that link from? Navpopups/Moremenu both seem to handle this just fine. — Qwerfjkltalk 18:41, 4 December 2025 (UTC)[reply]
Yup, Special:Contributions/User:Could I Do This? seems to work just fine. — xaosflux Talk 19:11, 4 December 2025 (UTC)[reply]
A raw ? in a URI is used to declare a query, not a bug so much as a feature. — xaosflux Talk 19:14, 4 December 2025 (UTC)[reply]
The XTools gadget I think. it adds a link to the users contribs for the user who most recently edited that page Best wishes, Macaw*! 20:00, 4 December 2025 (UTC)[reply]
Macaw*, I can't see any links like that in XTools, but there's a link at the bottom of xtools for reporting an issue. If you do so, make sure to include where the link is. — Qwerfjkltalk 20:34, 4 December 2025 (UTC)[reply]
@Macaw*: Please say from the beginning where you see a reported problem. The contributions link works in all places I have tested but you load 68 scripts in User:Macaw*/common.js. I tracked it down to this script by Opencooper:
importScript('User:Opencooper/lastEdit.js'); // Backlink: User:Opencooper/lastEdit.js
PrimeHunter (talk) 22:53, 4 December 2025 (UTC)[reply]
Thank you for the ping. My script indeed did not link this userpage correctly. Now fixed.
Regarding the confusion, part of this might also be due to both of us having User:PleaseStand/userinfo.js installed, which also has a similarish message. I've been meaning to make it clearer for my userscript that the date is for when the userpage was last edited rather than when the user last edited. Edit: Done. Opencooper (talk) 23:27, 4 December 2025 (UTC)[reply]

No color

[edit]

style="background:linear-gradient(to bottom, gray 50%, no color 50%) how can one side be colored and one side be colorless?

for example

ABC QER 123
DEF 456

Rafael Ronen 14:40, 5 December 2025 (UTC)[reply]

I have adjusted the code above to possibly do what you want. You can also use "transparent" instead of white, but it can cause problems in dark mode. – Jonesey95 (talk) 15:33, 5 December 2025 (UTC)[reply]