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.

Global vs local script mgtEdit

How are people here managing their global and local scripts (other than manually)? Has anyone crafted a global script installer yet? Enterprisey said he's not planning on expanding his script installer to global.js. Can common.js be transcluded to global.js (and common.js somehow disabled), so that the enwiki script installers be used to install to global indirectly? (clunky, I know, but that's all I could think of.)

Cheers. — Guarapiranga  02:26, 10 May 2022 (UTC)

Script-installer is quite short. I think I can try tweaking it, but am unsure if both common.js and global.js can/should be supported. #firstHeading already looks busy with the two, let alone a third. NguoiDungKhongDinhDanh 10:50, 10 May 2022 (UTC)
Here's a hacky way to get Enterprisey's installer to install scripts globally: in your common.js put window.scriptInstallerInstallTarget = "myglobal";
This will make the installer install scripts into a page called "myglobal.js" in your userspace (of course, you'd have to move your existing script installations there if you want to make them global). Then, in your global.js on Metawiki, put mw.loader.load("");. I've tested this briefly and it seems to work as far as I can tell. Rummskartoffel 17:17, 10 May 2022 (UTC)
Nice workaround I must say, but it's not really comfortable: you will have to add every single myglobal.js to your real global.js. Imagine you have, say, 100 scripts scattering into 5 or 6 myglobal.js and suddenly a bug appears out of nowhere, the only way to check and uninstall a certain one is to find out where it hides first, go to that specific wiki to disable it, test things out, then restart the process and gets extremely confused. NguoiDungKhongDinhDanh 17:34, 10 May 2022 (UTC)
Oh yeah, I definitely wouldn't advise using this if you want to "globalise" more than one common.js. I understood OP's problem statement to mean "I want to use my en.wp common.js everywhere"; for anything more complex this kind of hack isn't adequate. Rummskartoffel 19:55, 10 May 2022 (UTC)
  • I am not suggesting that my system is sensible for anybody else ... but I made my own system for sharing my user script setup across wikis. On the other wikis that are of interest to me, I have only common.js. The remote common.js is one line that just loads in the common.js from here. My local common.js then works out what user scripts should / should not be loaded. Putting all of my user scripts into a global.js would not be a good option for me, as not all of them will work on the other wikis — GhostInTheMachine talk to me 17:35, 10 May 2022 (UTC)
    Your common.js is the prettiest I've ever seen in my whole Wikimedia life. Looks neat. NguoiDungKhongDinhDanh 17:46, 10 May 2022 (UTC)
      ... I even have documentation! — GhostInTheMachine talk to me 17:58, 10 May 2022 (UTC)
    Definitely something I'd recommend to users who have a mess in their .jss. NguoiDungKhongDinhDanh 18:23, 10 May 2022 (UTC)
The most obvious solution would be to add
if (mw.config.get('wgWikiID') !== 'enwiki') {
to your global.js. Nardog (talk) 21:49, 10 May 2022 (UTC)
That's what I ended up going for; thanks, Nardog. I just found I needed to redefine importScript in common.js, though (as it's not deprecated in global, isn't it?):
function importScript(location) {
	mw.loader.load('//' + location);
Guarapiranga  00:21, 11 May 2022 (UTC)
importScript is not defined on mobile on any site but it's effectively a no-op on mobile here because it's defined in MediaWiki:Mobile.js. Nardog (talk) 04:46, 11 May 2022 (UTC)
Wait, so is that also an alt way of earmarking scripts for desktop only: mw.loader.load for all and importScript for desktop only? — Guarapiranga  05:06, 11 May 2022 (UTC)
There are much simpler ways, e.g. mw.loader.getState('mobile.init.styles') === 'ready'. Nardog (talk) 05:30, 11 May 2022 (UTC)
should be wrapped in
 ― Qwerfjkltalk 16:51, 16 May 2022 (UTC)
Works fine without it for me, Qwerfjkl (i.e. scripts load outside enwiki, even when stated with importScript). — Guarapiranga  23:44, 16 May 2022 (UTC)
@Guarapiranga, The problem would occur if the script page contained a space etc. (probably). ― Qwerfjkltalk 06:04, 17 May 2022 (UTC)
Right! I guess scriptInstaller conveniently already did the conversion, but I included the encoding in my common.js just in case. Cheers. — Guarapiranga  07:06, 17 May 2022 (UTC)
These are all excellent! Thank you. — Guarapiranga  23:21, 10 May 2022 (UTC)

From today's featured article - Hover over has political / world news commentary that should be excludedEdit

While hovering over the From today's featured article, the link has political / world news commentary regarding the pending decision before the US Supreme court regarding abortion. It is not appropriate to use this hover box functionality to promote a given philosophical viewpoint. — Preceding unsigned comment added by (talk) 17:41, 12 May 2022 (UTC)

Today's featured article is this one: Dispute between Darnhall and Vale Royal Abbey, which has nothing to do with what you're talking about. What are you seeing here? ThadeusOfNazereth(he/they)Talk to Me! 17:43, 12 May 2022 (UTC)
@ThadeusOfNazereth (not the same IP as OP). The article was being repeatedly vandalised by an LTA earlier today, if you look in the page history you can see all of the deleted revisions. (talk) 18:09, 12 May 2022 (UTC)
Oh, I see. I just assumed that featured articles were automatically protected from vandalism while they're linked on the front page. ThadeusOfNazereth(he/they)Talk to Me! 18:11, 12 May 2022 (UTC)
@ThadeusOfNazereth They're automatically move protected, but not protected against editing. There was a trial with pending changes protection a while back but I don't think there was consensus to implement it. (talk) 18:13, 12 May 2022 (UTC)
There have been several proposals to apply some form of edit protection to TFA, see for instance Wikipedia:Village pump (proposals)/Archive 183#RFC: Pending-changes protection of Today's featured article. They always fail as going against the "... that anyone can edit" part of the slogan displayed top of the main page. --Redrose64 🌹 (talk) 23:17, 12 May 2022 (UTC)
  • Seems like there is nothing to do here from a technical perspective. Popups are not content aware, and have no filtering mechanism to only show certain types of content. — xaosflux Talk 18:59, 12 May 2022 (UTC)
    I think the issue might be that popups allow you to see the the content of edits that have been revdel'd. Nthep (talk) 21:11, 12 May 2022 (UTC)
    If you are an admin that can read that already, sure - but the OP is an IP, so certainly not to them. — xaosflux Talk 23:37, 12 May 2022 (UTC)
    I think there have been issues with popups and caching in the past, right? Could it be that the popup was using a cached version? If so, something should probably be added to force the cache to update if revisions are deleted. --rchard2scout (talk) 11:51, 13 May 2022 (UTC)
    For a logged out user, that seem to be "Page previews", and in combination with a vandalized page. We would need more details such as exactly what time the OP saw this to determine if there was possible technical issue. At the time of this posting the vandalism had already been removed for over 12 hours. — xaosflux Talk 12:53, 13 May 2022 (UTC)

Possible to force my user-id to desktop version?Edit

In the past few days my Chromebook keeps going to the mobile version - I suspect a Chromebook update.

Is there a way I can always go to the desktop version please?

Chidgk1 (talk) 14:39, 13 May 2022 (UTC)

In Special:Mypage/common.js, add the line
mw.loader.load( "" ); // User:Þjarkur/NeverUseMobileVersion.js
to automatically force any pageview of a mobile version page to reload the corresponding desktop page. —Kusma (talk) 14:49, 13 May 2022 (UTC)
I have that enabled, and it doesn't work when I'm editing on my mobile. ScottishFinnishRadish (talk) 14:50, 13 May 2022 (UTC)
Not working on my Chromebook either (and I don't have the twiddle on my keyboard so cannot work out how to sign this on mobile version) — Preceding unsigned comment added by (talk) 14:57, 13 May 2022 (UTC)
When I do "open new tab" it stays on desktop like this but when I just click a link it goes to mobile like above Chidgk1 (talk) 15:01, 13 May 2022 (UTC)
Are you open to the mobile domain ( or the normal URL? — xaosflux Talk 15:29, 13 May 2022 (UTC)
Copied twiddles - lets see if I am logged in still (talk) 15:06, 13 May 2022 (UTC)
OK so also I seem to have been logged out? — Preceding unsigned comment added by (talk) 15:08, 13 May 2022 (UTC)
Works for me, just pulled out a Chromebook and made this reply. I'm on v101.0.4951.59, 64bit. Loading fine logged in, or in an incognito window. — xaosflux Talk 15:13, 13 May 2022 (UTC)
I've never had much luck with that script using chrome on my phone. Guess I'm just unlucky. ScottishFinnishRadish (talk) 15:14, 13 May 2022 (UTC)
@ScottishFinnishRadish That's because you're using ImportScript. ImportScript is deprecated and does not work on the mobile sites (I believe is slated for removal from the desktop site too at some point), see mw:ResourceLoader/Migration guide (users)#MediaWiki 1.16 and before. To get scripts to work on the mobile site you need to replace your ImportScript's with mw.loader.load's. (talk) 16:41, 13 May 2022 (UTC)
Ah, thanks. Much appreciated. ScottishFinnishRadish (talk) 17:23, 13 May 2022 (UTC)
I don't have any issue like this. I'm making this reply on a CHromebook rn (I have no clue what the version is or if it's Chrome OS 32 bit or 64bit) ― Blaze WolfTalkBlaze Wolf#6545 15:22, 13 May 2022 (UTC)

Thanks same version Powerwash Chromebook solved it Chidgk1 (talk) 15:36, 13 May 2022 (UTC)

Duh I thought so but now problem is back - will try Powerwash without reloadıng any of my stuff — Preceding unsigned comment added by (talk) 15:44, 13 May 2022 (UTC)

It will only work when you are logged in. —Kusma (talk) 16:21, 13 May 2022 (UTC)

If anyone else has the same problem uninstalling the Wikpedia app from my Chromebook solved it for me. Chidgk1 (talk) 14:36, 16 May 2022 (UTC)

Show block expiry date in block logEdit

Hello! I'm curious if there's a user script or something that will show the expiry date of a non-indefinite block when viewing the block log of a user. I would find this very helpful as I"m not all that good at figuring out what (For example) 2 weeks from January 15 is/was and it would allow me to figure out if an ip/user resumed vandalising shortly after their previous block expired. ― Blaze WolfTalkBlaze Wolf#6545 17:29, 13 May 2022 (UTC)

While it's not in the block log, you can see this if you go to Special:Block/USERNAME (if you are an admin) or Special:BlockList/USERNAME (anyone). — xaosflux Talk 12:06, 15 May 2022 (UTC)
Ah ok! I'll have to keep this in mind for future reference. ― Blaze WolfTalkBlaze Wolf#6545 12:44, 16 May 2022 (UTC)
@Blaze Wolf we could perhaps include that as a list link on the contributions page if that would be useful? See example link at testwiki:Special:Contributions/Test~testwiki. — xaosflux Talk 10:37, 17 May 2022 (UTC)
@Xaosflux: Yes it definitely would! (as long as I don't mix up which link is which) ― Blaze WolfTalkBlaze Wolf#6545 13:12, 17 May 2022 (UTC)
OK, follow up at MediaWiki talk:Sp-contributions-blocked-notice. — xaosflux Talk 13:19, 17 May 2022 (UTC)
I saw that. (You pinged me by mentioning me so I was notified automatically). ― Blaze WolfTalkBlaze Wolf#6545 13:21, 17 May 2022 (UTC)

Pages transcludes themselvesEdit

During an investigation into links and transclusions, I find myself seeing many main namespace articles transclude themselves. For example, [1] shows that the page, Internationalization and localization, transcludes itself.

I was unable to reproduce that on my home wiki, zh.wikipedia; I wonder if this is caused by a software bug, or some template unknown to me. MilkyDefer 08:42, 14 May 2022 (UTC)

@MilkyDefer: It's because of one of our main citation modules; see this archived thread. Graham87 10:19, 14 May 2022 (UTC)

Template:WikidataCoord and Category:Coordinates_on_Wikidata‎Edit

Hi, I just found that when I use {{WikidataCoord}} to create a coordinate link from Wikidata, and set |display= to title or inline,title, the page would be added to Category:Coordinates on Wikidata‎. I'm curious that:

  1. The page has already fetched datas from Wikidata via {{WikidataCoord}}, and no coordinates datas were manually filled. Why did the page need to be tracked?
  2. In line 650-657 of Module:Coordinates, only coordinates displayed in the title were tracked. Why don't track inline coordinates?

Thanks. --Tim Wu (talk) 15:46, 14 May 2022 (UTC)

That is because display=title is more than just an position, it pretty much ensures that the coordinate in question is the primary one. So, with lists with coordinates for example, you have a bunch of coordinates and it would not make any sense to check all of them in wikidata.--Snævar (talk) 22:42, 15 May 2022 (UTC)

scriptManager + scriptInstallerEdit

I'm just now starting to use MusikAnimal's excellent scriptManager (after having it in my common.js for years!). The obvious question, for which my search here and on MusikAnimal's talk page yielded no relevant results, is: has anyone ever looked into integrating it with Enterprisey's scriptInstaller? I mean, either building a dialog interface, such as scriptInstaller's, instead of doing so manually, per instructions, or--better yet!--hooking scriptManager's options onto scriptInstaller's dialog. — Guarapiranga  08:49, 15 May 2022 (UTC)

@Guarapiranga, I think a made User:Qwerfjkl/scripts/script manager.js to convert scripts to scriptManager. Also, I believe this was mentioned in script installer's talk page. ― Qwerfjkltalk 09:13, 15 May 2022 (UTC)
Guarapiranga, building a better script-installer is on my to-do list, sadly I don't know when I'll finally have the time. Enterprisey's script-installer is not salvageable as far as I'm concerned Struck, sorry for the crappy choice of words, script installer does what it was made for just fine. My plans for a script installer go too far to make a fork an efficient use of time. As it's no quick fork job for me my planned script installer will take quite some time. Not even any ETA. Alexis Jazz (talk or ping me) 15:22, 15 May 2022 (UTC)
Great to hear, Alexis Jazz! Perhaps you could integrate yours with MusikAnimal's scriptManager (or simply fork it). — Guarapiranga  21:23, 15 May 2022 (UTC)
See also User talk:Enterprisey/script-installer#scriptManager. Enterprisey (talk!) 21:27, 15 May 2022 (UTC)
Thanks for the kind words. I should mention scriptManager is one of the first scripts I ever wrote, and isn't exactly my best work… hehe! It may have various issues. Anyway, I like the idea of integrating scriptInstaller and scriptManager, but I think it should live in the latter (which is already deployed as a gadget). I unfortunately don't have the time to work on this right now, either, but as with Enterprisey am happy to help review another's work, at least for the scriptManager bits. MusikAnimal talk 04:19, 16 May 2022 (UTC)
Thanks for the kind offer, MusikAnimal; I'd like to take you up on it. What I'm trying here is, instead of having to declare scriptsToManage in common.js, to simply list all disabled scripts, so that we can use scriptInstaller's interface to add and remove scripts from the panel. It ain't working; perhaps you can easily spot why. Cheers. — Guarapiranga  00:49, 18 May 2022 (UTC)

Why does technical restriction not applying to WT apply to WP?Edit

Hi, I just realised that on wiktionary:, one may create pages titled with lowercase first letter. But that is not possible here on Wikipedia, and we have to put hatnotes explaining to readers how this is all because of a mediawiki technical restriction. So, what exactly is this "mediawiki technical restriction" that doesn't apply on Wiktionary but applies to Wikipedia anyway? Thanks! CX Zoom[he/him] (let's talk • {CX}) 11:31, 15 May 2022 (UTC)

IIRC, originally Wikitionary was also placed under the same restrictions, until they were lifted in a 2005/2006-ish patch. NguoiDungKhongDinhDanh 11:40, 15 May 2022 (UTC)
mw:Manual:$wgCapitalLinks. It's set to false for Wiktionary and a few Wikipedia languages in With the current functionality, I think setting it to false would create far more problems than it solves for English. PrimeHunter (talk) 11:43, 15 May 2022 (UTC)

Regex to catch URLsEdit

According to m:Help:URL and m:How to edit a page, all characters in URLs must be caught by [A-Za-z0-9:._\/~%-+&#?!=()@]. However:

In short, what exactly is the regex used by MediaWiki/Parsoid? NguoiDungKhongDinhDanh 13:22, 15 May 2022 (UTC)

Have you tried asking over at mw:Talk:Parsoid? Those meta pages seems to be out of date, for exampleوِکیٖپیٖڈیا:اؠسَمبَلی_(تَکنیٖکی) works and it has all sorts of characters not in that list. — xaosflux Talk 01:13, 16 May 2022 (UTC)
Thanks! Asked there instead. NguoiDungKhongDinhDanh 06:18, 16 May 2022 (UTC)

Jenkins outputEdit


Recently I've started trying to help a bit in the code section of MediaWiki. I've asked for the JenkinsBot to look after my patches and sometimes I get failure notices in its tests. I've followed the provided links for them but the output pages appear gigantic and noisy for my untrained eyes. I've asked around for help in "deciphering" them and even tried searching for tutorial videos on Jenkins but so far haven't been able to find much help. Is there anyone knowledgeable enough as to help me better understand 2-3 random specific failure notices I can provide, what's going wrong and how to fix them, so, hopefully, I can be overall better in understanding how to improve my patches in similar situations? - Klein Muçi (talk) 14:33, 15 May 2022 (UTC)

I'd be happy to help. One general bit of advice: the actual error is usually near the bottom of the output. Looking at the failure report for the most recent patch you uploaded, the relevant section of the error message is
14:25:08 ./pywikibot/ W293 blank line contains whitespace
14:25:08 ./pywikibot/page/ W293 blank line contains whitespace
14:25:08 ./pywikibot/page/ W293 blank line contains whitespace
14:25:08 ./pywikibot/page/ E501 line too long (81 > 79 characters)
14:25:08 ./pywikibot/page/ W293 blank line contains whitespace
14:25:08 ./pywikibot/page/ E501 line too long (81 > 79 characters)
14:25:08 ./pywikibot/page/ W293 blank line contains whitespace
14:25:08 ./pywikibot/page/ W293 blank line contains whitespace
14:25:08 ./pywikibot/site/ W293 blank line contains whitespace
14:25:08 ./pywikibot/site/ E501 line too long (80 > 79 characters)
That is, at the given line numbers, you have blank lines containing trailing whitespace or lines that are too long, both in violation of the style conventions of that repository. * Pppery * it has begun... 14:41, 15 May 2022 (UTC)
@Pppery, thanks a lot! How would I be able to understand lines and file names from that? And what does "W293" mean? - Klein Muçi (talk) 14:52, 15 May 2022 (UTC)
"W293" is an internal error code from the tool being used to do that check and isn't particularly relevant here. I'm not sure what you mean by How would I be able to understand lines and file names from that?; ./pywikibot/page/ is a filename and :539 is a line number (meaning line 539 of that file). * Pppery * it has begun... 15:17, 15 May 2022 (UTC)
@Pppery, yes, thank you, that's exactly what I meant. What does the next number after 539 (1) mean? - Klein Muçi (talk) 15:41, 15 May 2022 (UTC)
It means the character position within the line (that is :1 means the first character after the newline, :80 means the 80th character after the newline). * Pppery * it has begun... 15:43, 15 May 2022 (UTC)
Thank you!
What about in these 3 other failure outputs I randomly selected from my patches:
- Klein Muçi (talk) 15:49, 15 May 2022 (UTC)
All three of those seem to be some sort of pre-existing repository misconfigration and nothing to do with your patch, which is all I can say. I note that the third link appears to be a patch to Wikimetrics, which was shut down in 2018, so it's not clear why you are making changes to its codebase and expecting them to work. * Pppery * it has begun... 16:24, 15 May 2022 (UTC)
@Pppery, I see, thank you. The reason I was doing those changes was because of T201491. I wanted to get myself accustomed with the general process and so I tried to fix as many typos as I could. (One of the easiest tasks I could find around.) That process helped me a lot but it was also accompanied with a lot of patches that had to be abandoned because of accidentally trying to fix upstream libraries or, as apparently was the case with what you just showed to me, old already shut down projects.
Thanks a lot for your help! The failure outputs make way more sense now for me. - Klein Muçi (talk) 22:39, 15 May 2022 (UTC)
  • If this isn't about the English Wikipedia, perhaps mw:Project:Support_desk would be a better forum to follow up on this sort of thing. — xaosflux Talk 15:51, 15 May 2022 (UTC)
    @Xaosflux, hello! A bit of a naive question but is there a "memo" or a RFC done lately I might have missed in regard to topics that should be discussed here or something similar? This is the second time in less than 2 weeks that I get "bounced back" from here and it's starting to make me really insecure about writing again in the future. I've been lurking around in this page for around 6 years and in the meantime most of my questions have been off-topic from an EnWiki-only POV. So far I have never been told anything about it up until these days. Has anything changed? Maybe it's just a coincidence or maybe my requests themselves have changed lately but I wanted to ask about this because it's starting to really affect my confidence to be active in here. Even before I asked this I had to contemplate for quite some time if I should post it or not because of the last episode.
    Truth be told, I forgot about the MW:Support desk but I did search around a lot at MediaWiki/WikiTech for documentation related to Jenkins and after failing to find what I wanted to know, I ended up asking at the MediaWiki Discord channel. After being left without an answer for 1 week there, I tried my luck somewhere more familiar for me (here). - Klein Muçi (talk) 23:22, 15 May 2022 (UTC)
    @Klein Muçi at that top of this page is a banner that does say The technical section of the village pump is used to discuss technical issues about Wikipedia. ... Questions about MediaWiki in general should be posted at the MediaWiki support desk. As the largest project, we often attract all sorts of random questions; I usually try to point people to the most appropriate venue. Your question didn't seem to be about this Wikipedia. — xaosflux Talk 23:30, 15 May 2022 (UTC)
    @Xaosflux, no I do understand that and most likely it was just a coincidence and you just wanted to help me get my help faster and keep the place tidier. It's just that for me it just so happened that I had a similar experience not so long ago (actually the time just before this) and that forced me to ask if something had happened that things were made a bit stricter lately or maybe my requests have started becoming more off topic. I am of course prone to errors and biases so maybe the fault is in me. Feeling guilty I want to explain that I really do try to find a solution before coming here, reading all the possible documentation, checking the archives and even searching for tutorial videos elsewhere on the web. It is only after those steps have failed that I do try to ask here because in 90% of the cases someone has always been able to solve my problem. But I'll try harder to utilize the more suitable forums in other cases. - Klein Muçi (talk) 23:47, 15 May 2022 (UTC)
My advice for finding the important parts of Jenkins logs is to search for "error", "exception" and "fail", and then look at the preceding lines. Matma Rex talk 02:01, 16 May 2022 (UTC)
@Matma Rex, so far I've only searched for fail. Will update the mental list accordingly. Thank you! - Klein Muçi (talk) 03:02, 16 May 2022 (UTC)

Double mapframes in infoboxEdit

Hi there! I'm having an issue with the article Auckland Domain. Recently a second mapframe started being generated in addition to the first, and I can't see any changes to the page or the Wikidata item that would be causing this. I can remove the original Infobox mapframe template from the infobox, but this doesn't tell me where the additional map is coming from (and how I'd change the zoom/size of the additional map. Can anyone help out? --Prosperosity (talk) 22:28, 15 May 2022 (UTC)

The additional map is the default map that appear unless |mapframe=no is specified. There are paramaters like |mapframe-zoom= to adjust it. It's all documented in the {{infobox park}}.MB 23:13, 15 May 2022 (UTC)

Does MW's js not accept the spread operator (...)?Edit

In playing with MusikAnimal's scriptManager, I get a looooong list of scripts I want to play with on my left pane. I then started trying to make it more context sensitive, by separating them into different groups--history scripts, talk scripts, edit scripts, main scripts, etc (I might then use the same logic for always enabled scripts)--but using js' spread operator (...) to update the scriptsToManage object broke the script (commenting out the update portion, unbreaks it). What gives? — Guarapiranga  03:49, 16 May 2022 (UTC)

Yes, phab:T75714. Galobtter (pingó mió) 03:58, 16 May 2022 (UTC)

How to undo page move?Edit

How I can undone page moves? Eurohunter (talk) 08:58, 16 May 2022 (UTC)

@Eurohunter: Just move it back? NguoiDungKhongDinhDanh 09:04, 16 May 2022 (UTC)
@NguoiDungKhongDinhDanh: In most cases there is redirect left so I can't do that. Eurohunter (talk) 09:06, 16 May 2022 (UTC)
@Eurohunter: If the target page has only one revision and it redirects to the page you were moving, you will be able to delete that target page. NguoiDungKhongDinhDanh 09:10, 16 May 2022 (UTC)
As stated, if the redirect has one revision you can delete it by moving the page to that title. It the redirect has more than one revison or you can't move it for some other reason then you can list it at Wikipedia:Requested moves#Requests to revert undiscussed moves, assuming there was no discussion prior to the move. (talk) 10:39, 16 May 2022 (UTC)

I need a botEdit

 – * Pppery * it has begun... 15:54, 16 May 2022 (UTC)

Odd entries on transclusion listEdit

Any idea why Santa Clara station (California) claims to transclude Module:Adjacent stations/MUNI and Module:Adjacent stations/SCVTA? As far as I can tell, the page does not include MUNI or SCVTA in the adjacent station list. Animal lover |666| (talk) 17:19, 16 May 2022 (UTC)

They are transcluded by {{Bay Area Rail Stations}}. PrimeHunter (talk) 17:40, 16 May 2022 (UTC)
@Animal lover 666 The templates are used in some of the navboxes at the bottom of the article, e.g. Module:Adjacent stations/MUNI is used in {{Bay Area Rail Stations}}. (talk) 17:41, 16 May 2022 (UTC)
@Animal lover 666: It seems to have been indirectly transcluded through {{Bay Area Rail Stations}}, a navbox template. NguoiDungKhongDinhDanh 17:42, 16 May 2022 (UTC)

Creation of templateEdit

Hello! I'm wondering if someone could create a Wikibreak template for me (or direct me to a place I can request one). I'm wanting sort of a "scheduled wikibreak" template that will only display (or, if that's not possible say that the user will be on Wikibreak) after a specific start date and will go away once the end date is reached. It's similar to {{Vacation}} however I'm wanting to use this template specifically as a scheduled Wikibreak template since I won't be going on vacation at the start date (in fact my vacation will really only be a portion of the scheduled wikibreak). ― Blaze WolfTalkBlaze Wolf#6545 17:24, 16 May 2022 (UTC)

@Blaze Wolf: You can specify that condition using {{#ifexpr}} and {{#time}}, like this: {{#ifexpr:{{#time:U|start date}} <= {{#time:U}} <= {{#time:U|end date}}|{{Wikibreak}}}}. NguoiDungKhongDinhDanh 17:47, 16 May 2022 (UTC)
@NguoiDungKhongDinhDanh: Ok...? Could you show me an example? I'm not sure I understand. ― Blaze WolfTalkBlaze Wolf#6545 17:48, 16 May 2022 (UTC)
@Blaze Wolf: For instance, {{#ifexpr:{{#time:U|1 Jan 2022}} <= {{#time:U}} <= {{#time:U|1 Jul 2022}}|{{Wikibreak}}}} outputs (demo) {{Wikibreak}} at this very moment. NguoiDungKhongDinhDanh 17:50, 16 May 2022 (UTC)
@NguoiDungKhongDinhDanh: Ah alright. So it will display the template on the page if the it's within the time? ― Blaze WolfTalkBlaze Wolf#6545 17:57, 16 May 2022 (UTC)
Yep. NguoiDungKhongDinhDanh 18:00, 16 May 2022 (UTC)
@NguoiDungKhongDinhDanh: Did I do something wrong? Cause it's displaying the template even though the start date hasn't happened yet. ― Blaze WolfTalkBlaze Wolf#6545 18:08, 16 May 2022 (UTC)
@Blaze Wolf: Nope, I did it wrong. Fixed that for you by using double conditions. NguoiDungKhongDinhDanh 18:11, 16 May 2022 (UTC)

Tech News: 2022-20Edit

18:56, 16 May 2022 (UTC)

Let's talk about the Desktop Improvements (cross-post)Edit

Hey, if you don't watch the miscellaneous section you may ignore a message you perhaps would prefer not to ignore, so this is like a redirect within the VP to increase the visibility.

I'm writing on behalf of a Wikimedia Foundation team working on the new desktop interface. We're building the last features now. In June, we'll complete the project. We're organizing a series of office hours: today (17 May), 7 June, 21 June, 5 July, 19 July. Today, these will happen at 12:00 UTC and 19:00 UTC on Zoom. Click here to join. Meeting ID: 86217494304. Dial by your location. SGrabarczuk (WMF) (talk) 11:47, 17 May 2022 (UTC)

How to search source in Internet in 2022 or ratcher how to do research?Edit

Question may look absurdly but since few months or longer Google it doesn't even show most of the search results. Somehow some results just not pop up. Google was the most powerful search engine especially when you look at the fact that other search engines never were able to search as much as Google but now Google joined them. At this point It's impossible do multilingual research of all available information. I remember the days when with "site:" you could search in Google engine like it is one database with complete results to search. Even if you change language of whole Google search engine it will not show all possible results you can find. Despite it, it's still like Google vs all other search engines so engines like DuckDuckGo, Bing, Startpage or Ecosia are bad, even more random. Eurohunter (talk) 15:53, 17 May 2022 (UTC)

Example: Search "basshunter"+"fest i hela huset" and there is no this result at whole 26 pages. So how I can search sources? Eurohunter (talk) 15:53, 17 May 2022 (UTC)

In Web Archive you can search archived versions by url name but unfortunately it's limited 10,000 urls per prefix. Is there any workaround for this? Eurohunter (talk) 15:53, 17 May 2022 (UTC)

I've noticed similar happening with site: lately too; might be worth trying inurl: instead as a search prefix. I can get that page to show up in a search by doing that. Buttons to Push Buttons (talk | contribs) 17:16, 17 May 2022 (UTC)
@Buttons to Push Buttons: It works with "" too but I don't know all the websites names in the Internet so I would not be able to find it. In other words I don't know the website name till I type "basshunter" "fest i hela huset". Eurohunter (talk) 19:10, 17 May 2022 (UTC)
The only thing I see odd about that external site is that they have asked searches to not cache/archive them; and those search results are also getting polluted by lots of mirrors of lyrics. — xaosflux Talk 17:42, 17 May 2022 (UTC)

Table of Contents JumpEdit

In the new skin, a header appears at the top of the screen. When one clicks on an item in the table of contents, the top line jumps under the header. Is there a way to make the contents jump to the item so as when you click it, the top line appears directly under the header? Lincoln1809 (talk) 21:26, 17 May 2022 (UTC)

Auto-archiving an XfD logEdit

How can I enable automated archiving of a Twinkle-generated XfD log, which is subsection-hatted by month? At my log at User:LaundryPizza03/XfD log, I want to move older months into yearly archives, so that only the most recent 6 months are included in the main XfD log. –LaundryPizza03 (d) 02:37, 18 May 2022 (UTC)

Template:Information stylingEdit

Page watchers may be interested in Template talk:Information#General style of template (and use of mbox class). Please leave any comments there. Izno (talk) 03:51, 18 May 2022 (UTC)

What's the mw.js equivalent of mw.Lua's

I just want to parse common.js itself, so it doesn't need to be too general. Do I need to go through the API?Guarapiranga  07:55, 18 May 2022 (UTC)

@Guarapiranga: Yes. See mw:API:Parse. NguoiDungKhongDinhDanh 07:58, 18 May 2022 (UTC)
The parse API is for, well, parsing a page or input as wikitext, so it doesn't seem what Guarapiranga is after. mw:API:Revisions or even simply $.get() might be it. Nardog (talk) 18:51, 18 May 2022 (UTC)

Sneads, FloridaEdit

At Sneads, Florida (and hundreds of other US cities), an editor has added a racial composition table. My concern is that the note..."Note: the US Census treats Hispanic/Latino as an ethnic category. This table excludes Latinos from the racial categories and assigns them to a separate category. Hispanics/Latinos can be of any race."...looks wonky, and should be tucked away in the notes section at the bottom of the page. I'm not sure if Template:Efn or Template:Refn should be used, and the best way to use it. If someone could show me the best way to move this text and the attached references I would appreciate it. Thanks! Magnolia677 (talk) 17:56, 18 May 2022 (UTC)

@Magnolia677: - This is one way to do it. Does that produce the results you were hoping for? Hog Farm Talk 18:06, 18 May 2022 (UTC)
I think it would be better to keep this note close to what it's explaining rather than at the bottom of the page. I would also suggest that the prose line e.g. "As of the 2020 United States census, there were 6,072 people, 2,108 households, and 1,286 families residing in the city." go first, before the table. Rich Farmbrough is unfortunately no longer around, but I wonder if we shold revisit Wikipedia_talk:WikiProject_Cities/Archive_22#US_Cities_-_Census_info to have a unified format for all of the data we may want to include for the thousands of US cities (maybe a template or even bot can simplify the process). Reywas92Talk 18:20, 18 May 2022 (UTC)
I think the technical issue was addressed? If these content/content presentation issues need to be explored further please continue on a project or article talk. — xaosflux Talk 18:31, 18 May 2022 (UTC)
Thanks! Magnolia677 (talk) 18:35, 18 May 2022 (UTC)

Pop-up problemEdit

When I point my mouse at Bertrand Russell I see "Bertrand Russell ⋅ actions ⋅ popups 141.4kB, 784 wikiLinks, 10 images, 126 categories, 4 hours 49 minutes old" and a photo of the old chap, but not the text from the beginning of the lead that I would expect. I think that this will be an issue with something in the infobox, which has an awful lot going on inside it. Can anyone help? Thanks, DuncanHill (talk) 23:48, 18 May 2022 (UTC)