Wikipedia:Help desk/Archives/2024 July 21

Help desk
< July 20 << Jun | July | Aug >> July 22 >
Welcome to the Wikipedia Help Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current Help Desk pages.


July 21

edit
edit

How can I get the pagelinks table for Help:What links here to update? I have waited a few days for it to update but it still has not done so. Is there anyway to force it to update? The article in question is Unreal Engine. See https://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Unreal_Engine&limit=500. I need to see what actually links to it as a lot of the links to it are not formatted correctly. Eg. they are of the form [[Unreal Engine|Unreal Engine 2]] or [[Unreal Engine#Unreal Engine 2|Unreal Engine 2]] instead of [[Unreal Engine 2]]. The issue is a lot of the pages in that category do not link to Unreal Engine at all, yet are still shown as linking to it. This seems to be because [[Unreal Engine 3]] etc. used to be a redirect to Unreal Engine but now they have their own page. There are also pages that do not link to Unreal Engine at all but are still in the "what links here page" such as Infinity Blade: Redemption. Skip the first few hundred links in WhatLinksHere/Unreal_Engine if you look at it as those are real links to it. J2UDY7r00CRjH (talk) 03:40, 21 July 2024 (UTC)[reply]

Did you try purging the cache – https://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Unreal_Engine&limit=500&action=purge Vestrian24Bio (TALK) 05:56, 21 July 2024 (UTC)[reply]
I just tried. It doesn't seem to do anything. Clicking the link you sent or pasting https://en.wikipedia.org/wiki/Special:WhatLinksHere/Unreal_Engine into https://en.wikipedia.org/wiki/Special:Purge doesn't seem to do anything. I also tried purging https://en.wikipedia.org/wiki/Unreal_Engine and that doesn't seem to do anything either. J2UDY7r00CRjH (talk) 06:39, 21 July 2024 (UTC)[reply]
I'm trying https://en.wikipedia.org/wiki/User:Ahecht/Scripts/refresh now J2UDY7r00CRjH (talk) 06:56, 21 July 2024 (UTC)[reply]
It seems to run into issues when one of the pages is protected and then crashes. Not sure how to solve this issue. J2UDY7r00CRjH (talk) 07:09, 21 July 2024 (UTC)[reply]
@J2UDY7r00CRjH, I am not 100% sure but I think Infinity Blade: Redemption is in the whatlinkshere as the template {{Epic}} links to Unreal Engine. No amount of purging can change that. Commander Keane (talk) 07:38, 21 July 2024 (UTC)[reply]
Ah, thanks for pointing that out. I am manually going through all 1,500 links now. It seems most of the issues are from using [[Unreal Engine|Unreal Engine 2]] or [[Unreal Engine#Unreal Engine 2|Unreal Engine 2]] instead of [[Unreal Engine 2]] and I'm not sure how to find this usage automatically. J2UDY7r00CRjH (talk) 07:41, 21 July 2024 (UTC)[reply]
Help:What_links_here#Workaround_to_hide_transcluded_links may help you. Commander Keane (talk) 07:59, 21 July 2024 (UTC)[reply]
edit

How can I find links of the form [[Unreal Engine|Unreal Engine 2]] or [[Unreal Engine#Unreal Engine 2|Unreal Engine 2]]? I can't just search for "Unreal Engine 2" as that will also return results for [[Unreal Engine 2]], which I am looking to exclude from the results. It seems the search engine does not look at wiki markup language and only looks at the formatted prose on the screen. Is there an way to solve this? J2UDY7r00CRjH (talk) 07:46, 21 July 2024 (UTC)[reply]

@J2UDY7r00CRjH, per my link directly above, does searching for insource:/\[\[[Uu]nreal_Engine/ in the search box help? Commander Keane (talk) 08:05, 21 July 2024 (UTC)[reply]
Yes. I am using that now. It seems to work very well. Thanks! J2UDY7r00CRjH (talk) 08:06, 21 July 2024 (UTC)[reply]
@J2UDY7r00CRjH: insource:"Unreal Engine Unreal Engine 2" finds both your examples. insource:/.../ is more expensive on the servers. PrimeHunter (talk) 10:04, 21 July 2024 (UTC)[reply]

Interwiki page existence check

edit

Is there a local way to check if a page exists from another wiki? It would help me for a template I'm working on. "#ifexist:" and all existing templates I could find don't support interwiki checks. JoeJShmo💌 08:21, 21 July 2024 (UTC)[reply]

related question: is there any way of checking if a specific section exists within a given article? JoeJShmo💌 08:28, 21 July 2024 (UTC)[reply]
@JoeJShmo: You cannot check whether a page exists at another wiki. In order to test whether a section exists in a local page you would have to read the whole page and try to search it for the section header code. I haven't heard of anyone doing this. I doubt any purpose is worth the cost. PrimeHunter (talk) 09:42, 21 July 2024 (UTC)[reply]
@JoeJShmo If I wanted to find out if an article existed anywhere, I'd do a search within Wikidata for the expected title. I could use its standard search box to find the entry at Q210385= Πυριδίνη, for example, which corresponds to our pyridine. Is that the sort of search you had in mind for your template? Mike Turnbull (talk) 13:54, 21 July 2024 (UTC)[reply]
I'm pretty new to making templates so I don't know much coding atm. If I wanted my template to determine if a specific article exists, you're saying there's a search function I could use? Do you mind linking that function's documentation page? JoeJShmo💌 18:53, 21 July 2024 (UTC)[reply]
If you are looking for a page on a specific wikipedia you might use {{sitelink}}. For example, the Korean version of this page (according to wikidata) is:
{{sitelink|lang=ko}}
Trappist the monk (talk) 19:10, 21 July 2024 (UTC)[reply]
Unfortunate sitelink doesn't work to check if a specific page exists from another wiki (like wikisource) or to check for specific sections. JoeJShmo💌 22:56, 21 July 2024 (UTC)[reply]
Checking for specific sections on another wiki is not possible because we can't fetch the article contents from 'there' for analysis 'here'.
It is possible to fetch a list of other language and other project site links from wikidata. For example, this snippet of code run in the lua debug console returns a lua table of sitelinks for Jane Austin's Sense and Sensibility (Sense and Sensibility (Q274744)). If you go to that wikidata page, you will see that fr.wikisource is one of many sitelinks and the only wikisource sitelink. Here is the snippet:
=mw.dumpObject (mw.wikibase.getEntity ('Q274744')["sitelinks"]) returns (in part):
table#1 {
        metatable = table#2
    ["afwiki"] = table#3 {
        ["badges"] = table#4 {
        },
        ["site"] = "afwiki",
        ["title"] = "Sense and Sensibility",
    },
    ...
    ["frwikisource"] = table#45 {
        ["badges"] = table#46 {
        },
        ["site"] = "frwikisource",
        ["title"] = "Raison et Sentiments",
    },
}
A sufficiently clever template/module can extract meaning from that. So far as I know, there isn't a template that fetches sitelinks so it needs be written.
Trappist the monk (talk) 00:27, 22 July 2024 (UTC)[reply]
Looks clever, hopefully someone makes a template utilizing that someday. I was trying to check if a specific page exists under a given author on wikisource, and it looks like that isn't listed on wikidata regardless (just the author page itself is listed). As for the sections, that was something I wanted to check locally, to see if a given section exists in a given Wikipedia article. Perhaps there is a way to do that? I was just looking through the doc page of #invoke:WikidataIB and it looks like it can be done by scanning the page, though I'd appreciate if you can guide me on how to go about doing that efficiently (or perhaps there's a template?) JoeJShmo💌 01:50, 22 July 2024 (UTC)[reply]
Module:String2 § findpagetext
{{#invoke:String2|findpagetext|Interwiki page existence check}} → 6419
Trappist the monk (talk) 02:26, 22 July 2024 (UTC)[reply]
Thanks! Implemented some automatic checks in my template with this, and planning to add more later. JoeJShmo💌 14:51, 22 July 2024 (UTC)[reply]
Separate question: if I want to replace a parameter with a formula, do you recommend replacing the parameter every time it appears, or nesting the template in a new template which sets the parameter to the formula, which would make it easier to adjust the formula later.
Note: just realized there's a better option, by having the template start by calling itself while setting the parameter to the desired formula, and adding an #if condition to avoid looping. However, when called by another page it shows a looping error which is strange as it doesn't loop. JoeJShmo💌 16:32, 22 July 2024 (UTC)[reply]

Can’t read CAPTCHA

edit

I couldn’t read the CAPTCHA wen signing up to make an article Welolo (talk) 09:24, 21 July 2024 (UTC)[reply]

Your account works. Otherwise you couldn't make this post as User:Welolo. If you still have a problem then please clarify it. PrimeHunter (talk) 09:35, 21 July 2024 (UTC)[reply]

Question about sock votes

edit

I came across a !vote on a discussion page, and, while it didn't affect the consensus of the vote, the specific user has been blocked as a sockpuppet. Should the vote be kept, deleted, or struck-through? GeorgeMemulous (talk) 14:40, 21 July 2024 (UTC)[reply]

@GeorgeMemulous Per WP:SOCKSTRIKE, striking seems reasonable. Gråbergs Gråa Sång (talk) 16:24, 21 July 2024 (UTC)[reply]

Why is the far east of my map being chopped off?

edit

I don’t see the whole country in List of active coal-fired power stations in Turkey but on tr:Türkiye'deki kömür yakıtlı elektrik santralleri listesi I do even though they are both “width = 1000”. What am I missing? Chidgk1 (talk) 17:07, 21 July 2024 (UTC)[reply]

Chidgk1, which skin are you using? I see all of the map on both the en.wp and tr.wp articles in both Minerva and Vector 2022, although in Minerva I do have to perform a sidey-scroll to view the eastern half of the map. Folly Mox (talk) 20:29, 21 July 2024 (UTC)[reply]
@Folly Mox Thanks - as long as readers can see it ok that is the main thing. I use Vector 2022 skin on both en and tr. Pretty sure the map was right when I first created it a long time ago otherwise I would have noticed. I wonder if there might be some way I could backup or save all my user customisations then reset everything to defaults? Actually I don’t think I have too much non-standard stuff so happy to reset everything to defaults even if I risk losing something. Is there an easy way to reset a user do you know? Chidgk1 (talk) 06:33, 22 July 2024 (UTC)[reply]
Chidgk1, it sounds like the sidey-scroll fixed your primary concern, but to answer your other question I'm not sure if there is an easy way to toggle between current customisation options and vanilla default. You could always comment out or rename your custom css and js scripts, but what I (and I think many others) do is open a private tab to browse logged out. Folly Mox (talk) 10:47, 22 July 2024 (UTC)[reply]
@Folly Mox Duh of course readers are not generally logged in. So I just looked when logged out and it is still the whole map displayed on tr but needing side scroll on en. This is on Safari on iphone and ipad - I will try and test on other common setups.
Firstly would you agree that side scroll is bad because many people won’t realise it is possible?
Secondly would you agree that it would be best on phones (and perhaps tablets too) to have the whole of the country displayed when the phone is turned horizontal? I realize that the proportion of the country is a little longer than a typical phone screen but I think that should be good enough - do you? Chidgk1 (talk) 06:32, 23 July 2024 (UTC)[reply]
Or would it be better to completely chop off the east and just put a footnote “Şirnak Silopi not shown” do you think? Chidgk1 (talk) 06:48, 23 July 2024 (UTC)[reply]
Ah I see now I can side scroll Chidgk1 (talk) 06:40, 22 July 2024 (UTC)[reply]

Colors in tables not working

edit

When I use my phone or my laptop (windows 10, google chrome) and I look at racing series results (specifically formula 1 but really any of them) the tables have beautiful colors that quickly show the results. On this computer, (windows 11, not that that should matter) the results all have the same color. The table colors seemingly are not working on this computer. How fix. WannaSprite420 (talk) 17:13, 21 July 2024 (UTC)[reply]

Wikipedia app consumed 6.8GB of data

edit

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


Apologies if this is not the right place for my query. While using the Wikipedia app on iOS with a 4G connection, I received a notification from my provider stating I had only 5GB left in my data package. Eight minutes later, I received another message saying my data package was completely used up. Upon checking my cellular usage settings, I found that the Wikipedia app had consumed 6.8GB of data in just about 10 minutes. What could be the cause of this? 178.241.88.53 (talk) 18:56, 21 July 2024 (UTC)[reply]

Hi there,
This is definitely not the place for this query, as you realized. While this issue is very interesting, we cannot deal with these kinds of issues. Our job is to answer your questions about how to edit Wikipedia. I'm pretty sure the best place to bring this issue up is at WP:TECHPUMP. I personally have no clue what could've caused this.
Warm regards,
Avishai
@Avishai11
Avishai11 (talk) 22:48, 21 July 2024 (UTC)[reply]
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Quick review of Allbirds

edit

Hello Wikipedians. I recently finished fleshing out the page Allbirds as much as I can stomach. I think for the most part it is okay, but I can no longer tell what parts of my writing are good or bad and would appreciate it if someone could quickly dust it off.

Additionally, I would appreciate direction to where in WikiProject Law I would go if I wanted their assistance with the litigation section before I submit this for GA review. Let me know if this is the wrong place for that. Ornov Ganguly TALK 22:19, 21 July 2024 (UTC)[reply]

@Oganguly: To ask for help from a wikiproject, use that project's talk page, such as Wikipedia_talk:WikiProject_Law RudolfRed (talk) 00:41, 22 July 2024 (UTC)[reply]
Also Wikipedia:WikiProject Guild of Copy Editors/Requests although it might be a few weeks before one of them has time Chidgk1 (talk) 06:38, 22 July 2024 (UTC)[reply]