Wikipedia:Village pump (technical): Difference between revisions
→Templates for crime in countries by year/decade: replying to Hugo999: ({{ec}} Just create Category:Crimes in Zi...) [Bawl!] |
0mtwb9gd5wx (talk | contribs) |
||
Line 411: | Line 411: | ||
:{{ping|Hugo999}} Neither [[:Category:Crime in Zimbabwe by decade]] nor [[:Category:Crimes in Zimbabwe by decade]] exist. Do you mean you want {{tl|YYY0s crimes in countryname category header}} to add the latter non-existing category instead of the former? The template (via code in {{tl|YYY0s crimes in countryname category header/inner core}} looks for a "Crimes" category and adds it if it exists. Otherwise it adds a "Crime" category whether or not it exists. An ifexist check causes a WhatLinksHere entry and [[Special:WhatLinksHere/Category:Crimes in Zimbabwe by decade]] confirms the check was made in [[:Category:2000s crimes in Zimbabwe]]. It's non-controversial to add an existing category but if you want the default non-existing category to be changed then please link the discussion you mention. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 13:16, 1 September 2022 (UTC) |
:{{ping|Hugo999}} Neither [[:Category:Crime in Zimbabwe by decade]] nor [[:Category:Crimes in Zimbabwe by decade]] exist. Do you mean you want {{tl|YYY0s crimes in countryname category header}} to add the latter non-existing category instead of the former? The template (via code in {{tl|YYY0s crimes in countryname category header/inner core}} looks for a "Crimes" category and adds it if it exists. Otherwise it adds a "Crime" category whether or not it exists. An ifexist check causes a WhatLinksHere entry and [[Special:WhatLinksHere/Category:Crimes in Zimbabwe by decade]] confirms the check was made in [[:Category:2000s crimes in Zimbabwe]]. It's non-controversial to add an existing category but if you want the default non-existing category to be changed then please link the discussion you mention. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 13:16, 1 September 2022 (UTC) |
||
:{{ec}} Just create [[:Category:Crimes in Zimbabwe by decade]].<span id="Qwerfjkl:1662038370431:WikipediaBWLCLNVillage_pump_(technical)" class="BawlCmt"> — [[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 13:19, 1 September 2022 (UTC)</span> |
:{{ec}} Just create [[:Category:Crimes in Zimbabwe by decade]].<span id="Qwerfjkl:1662038370431:WikipediaBWLCLNVillage_pump_(technical)" class="BawlCmt"> — [[User:Qwerfjkl|<span style="background:#1d9ffc; color:white; padding:5px; box-shadow:darkgray 2px 2px 2px;">Qwerfjkl</span>]][[User talk:Qwerfjkl|<span style="background:#79c0f2;color:white; padding:2px; box-shadow:darkgray 2px 2px 2px;">talk</span>]] 13:19, 1 September 2022 (UTC)</span> |
||
== Tag: use of deprecated (unreliable) source == |
|||
This edit causes ''Tag: use of deprecated (unreliable) source'': |
|||
::[[Google Search]] results for ''wnd.com'' redirect to a '''Malware Warning''' page with: '''"Warning — visiting this web site may harm your computer!"'''.<nowiki><ref>{{cite web |title=Malware Warning |url=https://www.google.com/interstitial?url=https://www.wnd.com/ |website=www.google.com |access-date=1 September 2022}}</ref></nowiki> |
|||
: [[User:0mtwb9gd5wx|0mtwb9gd5wx]] ([[User talk:0mtwb9gd5wx|talk]]) 13:37, 1 September 2022 (UTC) |
Revision as of 13:37, 1 September 2022
Policy | Technical | Proposals | Idea lab | WMF | Miscellaneous |
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.
Frequently asked questions (see also: Wikipedia:FAQ/Technical) Click "[show]" next to each point to see more details.
|
Missing TOC without any magic word in use
I see that WP:Village pump (technical)/Archive 198 does not have TOC in Vector legacy skin. All revisions before Special:Diff/1097874722 had the TOC. All revisions since this revision doesn't. I don't see any obvious magic words added via this edit. So what went wrong? —CX Zoom[he/him] (let's talk • {C•X}) 15:32, 25 August 2022 (UTC)
- The
__NOTOC__
is in{{int:protectedpagetext|editprotected|create}}
per Special:ExpandTemplates. Izno (talk) 15:41, 25 August 2022 (UTC) - (edit conflict) @CX Zoom: it is coming in via this line:
{{int:protectedpagetext|editprotected|create}}
. — xaosflux Talk 15:45, 25 August 2022 (UTC)- Fixed by adding
__TOC__
.[1] PrimeHunter (talk) 15:52, 25 August 2022 (UTC)- Thank you everyone. —CX Zoom[he/him] (let's talk • {C•X}) 16:39, 25 August 2022 (UTC)
- Question: Is this the same with MonoBook skin? When I add Template:Main to article (example 2022 in Romania - with several Main; 2022 in Romania with only 1 Main) the TOC goes away. Adding the TOC magic word returns TOC back. JoeNMLC (talk) 20:41, 29 August 2022 (UTC)
- @JoeNMLC: MonoBook or {{main}} does not affect the TOC but here you added {{BD ToC}}. Custom TOC templates usually add
__NOTOC__
by default to avoid getting two TOC's. Some TOC templates have an option to not add__NOTOC__
but {{BD ToC}} has no such option so you did right by manually adding__TOC__
. PrimeHunter (talk) 21:00, 29 August 2022 (UTC)- Thanks for this info. Regards, JoeNMLC (talk) 21:55, 29 August 2022 (UTC)
- @JoeNMLC: MonoBook or {{main}} does not affect the TOC but here you added {{BD ToC}}. Custom TOC templates usually add
- Question: Is this the same with MonoBook skin? When I add Template:Main to article (example 2022 in Romania - with several Main; 2022 in Romania with only 1 Main) the TOC goes away. Adding the TOC magic word returns TOC back. JoeNMLC (talk) 20:41, 29 August 2022 (UTC)
- Thank you everyone. —CX Zoom[he/him] (let's talk • {C•X}) 16:39, 25 August 2022 (UTC)
- Fixed by adding
Desktop version on mobile being too wide occasionally
![](http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/English_Wikipedia_being_occassionally_too_wide_20220825.jpg/220px-English_Wikipedia_being_occassionally_too_wide_20220825.jpg)
At Wikipedia:Village pump (technical)/Archive 198#Global projects being too wide since yesterday, I reported how on some projects are being so wide that text there is illegible, that hadn't yet affected enwiki. Today, it finally did. But it is very picky on when it works. Whenever, I click "open in a new tab" *any* (diff|hist) link found at Watchlist, the resultant page is too wide with a 70-30 probability, but that goes away on refreshing. On the other hand, if I click "open in a new tab" from normal content pages, width remains normal the same thing happens. This issue is a new one. —CX Zoom[he/him] (let's talk • {C•X}) 16:55, 25 August 2022 (UTC)
- What kind of mobile device is this ? Screen dimensions, browser ? Also is your zoom set to 100% ? —TheDJ (talk • contribs) 18:21, 25 August 2022 (UTC)
- Android 11 smartphone using MS Edge. All zoom/accessibility settings at system default. —CX Zoom[he/him] (let's talk • {C•X}) 19:40, 25 August 2022 (UTC)
- To be clear, the issues are happening globally on all projects. On Vector legacy, things are extremely stretched (see screenshot above) and minimised. On vector-2022, there are long empty spaces on either side of the screen and the actual content is minimised. —CX Zoom[he/him] (let's talk • {C•X}) 11:05, 27 August 2022 (UTC)
- Android 11 smartphone using MS Edge. All zoom/accessibility settings at system default. —CX Zoom[he/him] (let's talk • {C•X}) 19:40, 25 August 2022 (UTC)
- On Safari on an iPad, every time a page loads it’s zoomed by approx 20% so too wide for the screen. Resetting the zoom to 100% (cmd-0) fixes it until you refresh or visit another page. I assume this is the same issue.—Northernhenge (talk) 20:50, 27 August 2022 (UTC)
Redlinks are a different red
It's Thursday, and the red links seem to have a different red color. What may be causing this? Weeklyd3 (talk) 22:45, 25 August 2022 (UTC)
- It's deliberate. See #Tech News: 2022-34 and phab:T213778. PrimeHunter (talk) 23:08, 25 August 2022 (UTC)
- Thanks for pointing that out. I don't like this new color so I'm changing it back in my CSS file. Weeklyd3 (talk) 23:11, 25 August 2022 (UTC)
- I'm going to give it a week or two before I make any decisions about it. This sort of change always feels weird initially. Whatamidoing (WMF) (talk) 03:23, 26 August 2022 (UTC)
- I don't like the new visited link colour, especially in my watchlist. Dreamy Jazz talk to me | my contributions 14:43, 26 August 2022 (UTC)
- I'm glad they made the change, but I don't really want the new colors right now and I can't figure out how the CSS works to customize it. —Danre98(talk^contribs) 13:48, 27 August 2022 (UTC)
- I'm going to give it a week or two before I make any decisions about it. This sort of change always feels weird initially. Whatamidoing (WMF) (talk) 03:23, 26 August 2022 (UTC)
- What the Tech News item doesn't say is that only the Vector skin is affected. —Kusma (talk) 12:17, 27 August 2022 (UTC)
- Thanks for pointing that out. I don't like this new color so I'm changing it back in my CSS file. Weeklyd3 (talk) 23:11, 25 August 2022 (UTC)
Global login
Has something changed in the way global login works? I logged out yesterday and I logged back in here and I found out that I wasn't logged in anywhere else anymore. I waited a bit, tried different projects, refreshed the page and cleared caches but nothing worked. I tried logging in "locally" and yes, it worked fine but still it looks like I have to do that on every project now. I thought that maybe something has changed and now I need to login to Meta to make it global so I went there and there was the only place where I got the mw.notify message saying that I should reload to load my user settings (without needing to log in first). I thought it got fixed and I would be logged in globally after that but I went to Commons immediately after and, no, I still wasn't. What is going on? - Klein Muçi (talk) 11:17, 26 August 2022 (UTC)
- Unable to reproduce. When I do the logout and login thing, it will either keep me logged in on other projects, or it will re-log me in when I load a second page on that project. Perhaps a recent bug in mw:ExtensionCentralAuth? Does anyone else have OP's problem? –Novem Linguae (talk) 11:44, 26 August 2022 (UTC)
- Novem Linguae, it's very inconsistent. I followed your MW link now and it gave me the message to reload for applying user settings on Mediawiki. Tried going to WikiQuote and I don't get it. Maybe it's a temporary server/database problem. :/ — Klein Muçi (talk) 11:47, 26 August 2022 (UTC)
- Just to be clear, some projects don't log you back in at all, right? –Novem Linguae (talk) 11:51, 26 August 2022 (UTC)
- Novem Linguae, they don't log me back automatically. I can log in normally to them if I put my credentials and they stay logged in. — Klein Muçi (talk) 11:54, 26 August 2022 (UTC)
- What browser are you using? It may be blocking certain cookies needed for central login. Rummskartoffel 14:45, 26 August 2022 (UTC)
- Google Chrome. Klein Muçi (talk) 15:52, 26 August 2022 (UTC)
- Hmm, then it's less likely cookies being blocked is the problem, Chrome doesn't really do that as much, AFAIK. Still, try going to chrome://settings/cookies and making sure that "Block third-party cookies" or "Block all cookies (not recommended)" are not selected, but instead either "Allow all cookies" or "Block third-party cookies in Incognito". Rummskartoffel 16:23, 26 August 2022 (UTC)
- Rummskartoffel, I switched to "Allow all cookies" momentarily and that fixed it! Thank you! There I saw the option: Sites that can always use cookies
- Do you know what exactly would I need to put into it to allow all Wikimedia's sites to use cookies? - Klein Muçi (talk) 20:37, 26 August 2022 (UTC)
- Enter
[*.]wikipedia.org
into the "Site" field, and tick"Including third-party cookies on this site". Do the same for all Wikimedia domains, i.e.
[*.]wiktionary.org
,[*.]wikimedia.org
etc. Rummskartoffel 21:29, 26 August 2022 (UTC)- Rummskartoffel, ah! Is there no way to do it for all domains at once? That's what I was hoping for. :P - Klein Muçi (talk) 22:33, 26 August 2022 (UTC)
- I don't think there is, no. Rummskartoffel 10:39, 27 August 2022 (UTC)
- Rummskartoffel :( Thank you anyway! - Klein Muçi (talk) 15:31, 27 August 2022 (UTC)
- I don't think there is, no. Rummskartoffel 10:39, 27 August 2022 (UTC)
- Rummskartoffel, ah! Is there no way to do it for all domains at once? That's what I was hoping for. :P - Klein Muçi (talk) 22:33, 26 August 2022 (UTC)
- Enter
- Hmm, then it's less likely cookies being blocked is the problem, Chrome doesn't really do that as much, AFAIK. Still, try going to chrome://settings/cookies and making sure that "Block third-party cookies" or "Block all cookies (not recommended)" are not selected, but instead either "Allow all cookies" or "Block third-party cookies in Incognito". Rummskartoffel 16:23, 26 August 2022 (UTC)
- Google Chrome. Klein Muçi (talk) 15:52, 26 August 2022 (UTC)
- What browser are you using? It may be blocking certain cookies needed for central login. Rummskartoffel 14:45, 26 August 2022 (UTC)
- Novem Linguae, they don't log me back automatically. I can log in normally to them if I put my credentials and they stay logged in. — Klein Muçi (talk) 11:54, 26 August 2022 (UTC)
- Just to be clear, some projects don't log you back in at all, right? –Novem Linguae (talk) 11:51, 26 August 2022 (UTC)
- Novem Linguae, it's very inconsistent. I followed your MW link now and it gave me the message to reload for applying user settings on Mediawiki. Tried going to WikiQuote and I don't get it. Maybe it's a temporary server/database problem. :/ — Klein Muçi (talk) 11:47, 26 August 2022 (UTC)
- CentralAuth doesn't play nice with how browsers function these days. Probably nothing happened yesterday, it's just the first time you've bumped into the issue. Izno (talk) 17:14, 26 August 2022 (UTC)
- Izno, most likely. I don't log out pretty often so... Glad I could solve it though. - Klein Muçi (talk) 20:37, 26 August 2022 (UTC)
Two list manipulation questions
Hi, not sure where to ask this, I'm hoping someone knowledgeable can point me in the right direction:
- I want to compare two large lists of page links (lists of ~10k articles against the list of ~50k Vital Articles). When I make the lists on AWB (either in the regular list maker, or in the list comparer tool), it cuts off the list (at 5k, 10k, or 25k, depending on the tool and how I make the list). Is there a tool that will help me do this for large lists (~50k), or some existing method?
- I have lists of >10k bluelinks, and I'd like to separate links to redirects from links to disambiguation pages and links to articles. Is there a tool/method to do this?
Thanks for your help! Levivich 19:39, 26 August 2022 (UTC)
- Have you tried page pile? IDK if it will help. Izno (talk) 20:08, 26 August 2022 (UTC)
- Re first item: depending on what you want to do, Version control-oriented plain text diff tools might work for your task. For example, install Notepad++ and its "Compare" plugin from app's plugin manager or KDiff3. —andrybak (talk) 20:11, 26 August 2022 (UTC)
- Thank you Izno and Andrybak, that got me where I needed to go! I didn't know about PagePile, and that also reminded me about PetScan. PetScan will create the very large lists, and will follow redirects (or not) and there's a flag for tagging disambiguation pages, and it'll output it to either PagePile or some other format, and then I can use PP or Notepad++ to do the list comparisons, even with large lists. That's what I was looking for: thanks again!! Levivich 20:34, 26 August 2022 (UTC)
- (edit conflict) Re second item: you could paste your list into Wikipedia:PetScan (field "Manual list" in the "Other sources" tab) and try to intersect it with Category:All article disambiguation pages and Category:Main namespace redirects (PETSCAN might not like going deep into this category) correspondingly.
- On Wikipedia itself, wikilinks to redirects produce
<a>
tags withclass="mw-redirect"
, wikilinks to disambigs haveclass="mw-disambig"
. Wikilinks to articles don't have any special CSS classes added to them. JS or even CSS tricks could be used to selectively filter/display the portion of the list that you want:—andrybak (talk) 20:38, 26 August 2022 (UTC)/* hide links to redirects */ .mw-parser-output a.mw-redirect { display: none; } /* hide links to disambigs */ .mw-parser-output a.mw-disambig { display: none; } /* hide links to regular articles */ .mw-parser-output a:not([class]) { display: none; }
- Unix CLI tools.[2] Awk is easiest. -- GreenC 04:26, 28 August 2022 (UTC)
External tools not working
External tools on talk pages not working.....wmcloud.org. down?
Find addition/removalFind edits by user (Alternate)Page statisticsPageviewsFix dead links
Moxy- 14:53, 27 August 2022 (UTC)
Works for me @Moxy are you still having this problem? What is happening when you try? — xaosflux Talk 14:59, 27 August 2022 (UTC)
- Still down this page stats.Moxy-
15:03, 27 August 2022 (UTC)
- Your link worked for me. What is exact error message you're getting when you visit that link? –Novem Linguae (talk) 15:04, 27 August 2022 (UTC)
- Still not working for me.....says "This site can’t be reached" Moxy-
23:04, 29 August 2022 (UTC)
- @Moxy: can you follow the instructions at https://wikitech-static.wikimedia.org/wiki/Reporting_a_connectivity_issue and file a private Phabricator task or send an email to the address on that page? Yours is the second report of this issue I've seen. Legoktm (talk) 23:09, 29 August 2022 (UTC)
- Still not working for me.....says "This site can’t be reached" Moxy-
- Your link worked for me. What is exact error message you're getting when you visit that link? –Novem Linguae (talk) 15:04, 27 August 2022 (UTC)
Article count going down?
I periodically track various Wikipedia statistics. I've just seen the following:
- 2022-08-09: 6,562,221 articles
- 2022-08-27: 6,544,978 articles
This is remarkable; article count typically goes relentlessly upward, with the occassional deletions being a drop in the ocean compared to article creations. So: is the article counter broken, or have ~18,000 articles been deleted recently, or is this something else? Does anyone know what's actually going on? — The Anome (talk) 19:08, 27 August 2022 (UTC)
- See Wikipedia:Village pump (miscellaneous)#30,000 articles gone missing? * Pppery * it has begun... 19:17, 27 August 2022 (UTC)
Three of five Great Lakes missing on map
There is a route map at Interstate 80 that does not show Lake Huron, Lake Erie or Lake Ontario. Instead, it shows a gigantic non-existent land border between the U.S. and Canada. This problem has been reported since 2019. What can be done to fix it? Cullen328 (talk) 19:13, 27 August 2022 (UTC)
- Yes, that's really weird; the higher-resolution map that opens when you click the map does not have that problem, so it looks like the current software and data work fine. Perhaps all that is needed is to re-render the map thumbnail? — The Anome (talk) 19:28, 27 August 2022 (UTC)
- I have no idea how to even try that, The Anome. Cullen328 (talk) 19:31, 27 August 2022 (UTC)
- I've tried purging the article, which typically re-renders everything on the page, and it does not change anything; the map is still missing lakes. More perplexingly, when I experiment with hacking the URL of the embedded image in the page to generate novel image sizes, for example, like this: https://maps.wikimedia.org/img/osm-intl,a,a,a,365x483@2x.png?lang=en&domain=en.wikipedia.org&title=Interstate+80&groups=_282cfae208f7f8f41a530a00b3795d6c65bc261f, thus forcing it to render new images, the maps you get are still missing the three lakes. Yet the map generated by https://en.wikipedia.org/wiki/Interstate_80#/map/0 renders all five lakes correctly. If huge features like Great Lakes are omitted, who knows what other map features are being missed out?
This is clearly a technical problem, and one for WMF engineering to investigate. — The Anome (talk) 19:39, 27 August 2022 (UTC)
- I've tried purging the article, which typically re-renders everything on the page, and it does not change anything; the map is still missing lakes. More perplexingly, when I experiment with hacking the URL of the embedded image in the page to generate novel image sizes, for example, like this: https://maps.wikimedia.org/img/osm-intl,a,a,a,365x483@2x.png?lang=en&domain=en.wikipedia.org&title=Interstate+80&groups=_282cfae208f7f8f41a530a00b3795d6c65bc261f, thus forcing it to render new images, the maps you get are still missing the three lakes. Yet the map generated by https://en.wikipedia.org/wiki/Interstate_80#/map/0 renders all five lakes correctly. If huge features like Great Lakes are omitted, who knows what other map features are being missed out?
- I have no idea how to even try that, The Anome. Cullen328 (talk) 19:31, 27 August 2022 (UTC)
zoom=5 | zoom=4 | zoom=2 (no line) |
---|---|---|
- Seems an issue for
|zoom=
less than 5. Changing the window size, coordinates of the map centre or included oblects doesn't seem to matter. — Jts1882 | talk 19:48, 27 August 2022 (UTC)
- See Wikipedia:Village_pump_(technical)/Archive_194#Missing_Great_Lakes from last December. The associated Phab ticket says the problem was fixed. I have no idea if the fix really didn't work or this is a new/different problem. MB 21:26, 27 August 2022 (UTC)
- It does seem to have been fixed, but has since unfixed itself. It looks likely that the underlying problem is phab:T218097. Can someone please inform the relevant people on the engineering team? — The Anome (talk) 21:42, 27 August 2022 (UTC)
- Posting in relevant phab tickets with a link to and summary of this discussion will likely generate emails to the relevant software engineers. Might be worth a try :) –Novem Linguae (talk) 22:09, 27 August 2022 (UTC)
- It does seem to have been fixed, but has since unfixed itself. It looks likely that the underlying problem is phab:T218097. Can someone please inform the relevant people on the engineering team? — The Anome (talk) 21:42, 27 August 2022 (UTC)
- Don't fix this. I like this map better. Lol. Schierbecker (talk) 21:46, 27 August 2022 (UTC)
- Is the simplified version 50% superior? Certes (talk) 00:48, 28 August 2022 (UTC)
- The missing lake is eerie. -- GreenC 04:28, 28 August 2022 (UTC)
- some goof drew the borders of canada wrong. The good side of niagara falls is on the canadian side. pls fix right away. Schierbecker (talk) 05:43, 28 August 2022 (UTC)
- The missing lake is eerie. -- GreenC 04:28, 28 August 2022 (UTC)
- Is the simplified version 50% superior? Certes (talk) 00:48, 28 August 2022 (UTC)
There also appears to be a problem with rendering the lakes Vänern and Vättern in Sweden, and Lake Ladoga in Russia. Schierbecker (talk) 05:15, 28 August 2022 (UTC)
- I'm not sure if this is a related problem, but there is some shenanigans going on with the 1994 treaty line between Israel/Palestine and Jordan. When you zoom in, parts of the border pop into and out of existence. Also many of the oases around the Dead Sea (like Ein Gedi) do the same thing. Schierbecker (talk) 05:54, 28 August 2022 (UTC)
The OSM dataset is colossal, about 1600 Gb as uncompressed XML, and it's quite hard to manage such datasets. Load times can be of the order of weeks, processes are interrupted and systems go down while it's happening, data errors are pretty much inevitable on that much data, and errors are hard to find. Fortunately, I have some experience in doing things like this. Assuming for the moment that the error rate is low, might I suggest something like the following strategy?
- Divide the content in the input dataset into, say, 1,000,000 batches of perhaps 1.6 Mbytes each on average. Serialise the batches in a deterministic format, and generate hashes from these. Store the (say, SHA-256) hashes, and the source batch identifiers, in a text file. For an extra win, perhaps make the hashes themselves the batch identifiers. You will end up with a text file perhaps 100 Mbytes long.
- Once data has been loaded into the database/datastore, regenerate the deterministically-serialised data for each batch from the stored data in the DB. Put these hashes in a table. It's important that these values are regenerated on read, not just stored on load, so that they actually catch errors.
- Then it's "just" a matter of comparing the two lists of hashes, (re-)uploading batches for which the corresponding hashes are not stored in the database, and deleting any batches whose hash is not in the source list.
- Repeat indefinitely, and await eventual consistency. When everything matches, you can then take a snapshot, and move it to production.
With a bit of extra machinery (datestamps, validity flags, atomic file renaming), these processes can run asynchronously, and forever. There's actually no need to copy or store the input content anywhere but in the database, as you can generate the hashes at load/scan time and make this a streaming process. And there's obviously lots of room for making this scheme embarassingly parallel, using tiered storage, and so on. — The Anome (talk) 17:46, 28 August 2022 (UTC)
Has anyone considered that maybe those lakes just aren't that great? ScottishFinnishRadish (talk) 17:59, 28 August 2022 (UTC)
- Well, they're certainly not if they just evaporate as soon as you look at them. — The Anome (talk) 19:34, 28 August 2022 (UTC)
@Whatamidoing (WMF): could you please bring this to the attention of the engineering team? This is a long-standing problem which clearly hasn't been fixed properly, and it's been reported multiple times with no resolution. If the engineering team hasn't got sufficient resources to fix this in a timely way, perhaps this is a funding issue, not an engineering one, and needs attention at a higher management level? — The Anome (talk) 12:03, 30 August 2022 (UTC)
Two "Speedy" drop-downs with CSDHelper
Hi all,
When I look at a page that's tagged for speedy deletion, I see
| Article | Talk | Speedy | Speedy |
This is with the User:Chairboy/csdhelper.greasemonkey.js script.
Both drop-down menus are functional. Super-low priority, just odd.
(And as for the "kangaroo" emoji, uh, it looks like a snail poking its head out of a hole to me, but not much we can do about that here.)
User:Shirt58 (talk) 🦘 02:28, 28 August 2022 (UTC)
- A recent software change (Krinkle, this is report #4 of brokenness) has made it so if you are importing the same script multiple times, instead of cleaning up for you, it will run the script as many times as you import it. Depending on which skin you are using, you have a copy of this script in both your common.js and your vector.js/monobook.js. Remove the skin versions to correct it. Izno (talk) 05:11, 28 August 2022 (UTC)
www.youtube.com/watch: dateText
https://www.youtube.com/watch?v=QpiRWKRn1tE has ,"dateText":{"simpleText":"Jun 1, 2022"}}},
using source code editor citation template please parse for :
<ref>{{cite web ... |date=Jun 1, 2022}}</ref> ....0mtwb9gd5wx (talk) 06:38, 28 August 2022 (UTC)
- @0mtwb9gd5wx was this working previously and has broken (please provide a diff to where you used it with a different result previously)? If you are requesting a feature enhancement to RefToolbar you can post at Wikipedia talk:RefToolbar. In the meantime, you can always click on "Show/Hide extra fields" and fill in any other parts of your reference you would like. — xaosflux Talk 12:35, 28 August 2022 (UTC)
- feature enhancement to Wikipedia:RefToolbar 0mtwb9gd5wx (talk) 03:49, 30 August 2022 (UTC)
- @Xaosflux: is this Citoid ? .... 0mtwb9gd5wx (talk) 04:05, 30 August 2022 (UTC)
- feature enhancement to Wikipedia:RefToolbar 0mtwb9gd5wx (talk) 03:49, 30 August 2022 (UTC)
Search CRASH !
result was: upstream connect error or disconnect/reset before headers. reset reason: overflow .... 0mtwb9gd5wx (talk) 06:54, 28 August 2022 (UTC)
- @0mtwb9gd5wx you will need to provide a lot more information to get any help on this. Please provide step-by-step directions for what you are doing. — xaosflux Talk 12:29, 28 August 2022 (UTC)
- I did a search, I got a text result, not a result page. A one-time event. 0mtwb9gd5wx (talk) 03:53, 30 August 2022 (UTC)
coordinates on Vatican City
![](http://upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png)
Can anyone figure out why geographical coordinates aren't displayed on Vatican City? The article contains an ordinary-looking parameter of
coordinates = {{Coord|41|54|09|N|12|27|09|E|type:city|display=title,inline}}
in its infobox template. I notice that {{Infobox country}} does not list coordinates= as a parameter (although the example there does), which may be part of the problem. —scs (talk) 18:34, 28 August 2022 (UTC)
- Because
|capital=
is not specified. Whether that restriction makes any sense is something that should be discussed at the template's talk page. - —Trappist the monk (talk) 18:58, 28 August 2022 (UTC)
- Ah, so it sounds like we ought to...
- I just fixed this by moving the coords outside the infobox, as was the case with Singapore. MB 19:07, 28 August 2022 (UTC)
- ...exactly. Thanks. —scs (talk) 19:49, 28 August 2022 (UTC)
Styling issue with table of contents and mathprint
I noticed a styling issue of the table of contents on Real closed field. The section name, containing the mathprint <math>\mathcal{T}_\text{rcf}</math>
, was being displayed incorrectly as '"`UNIQ--postMath-00000012-QINU`"'
in the table of contents. When I tried to input similar text into the sandbox, I got the same display [3]. This seems to be a common issue with mathprint. If somebody could help with this, it would be much appreciated. 2601:647:5800:1A1F:81D5:6D64:11E:646B (talk) 19:07, 28 August 2022 (UTC)
- MOS:SECTIONS says: "don't do that".
- —Trappist the monk (talk) 19:52, 28 August 2022 (UTC)
- This is phab:T295091 from November 2021. PrimeHunter (talk) 20:29, 28 August 2022 (UTC)
- After looking through the bug reports, it seems that this issue affects other types of parsed text too. Unfortunately, these bugs are quite difficult to fix, and as a result, this issue will not be resolved in the near-future. MOS:SECTIONS will have to stay at it is. By the way, do bugs of this type affect non-mathprint headers? 2601:647:5800:1A1F:81D5:6D64:11E:646B (talk) 22:54, 28 August 2022 (UTC)
Heading doubles on files
Many files are having heading doubles when created. Can someone identify why this is so it can be prevented and WikiCleanerBot doesn't have to correct all doublettes.Jonteemil (talk) 20:09, 28 August 2022 (UTC)
- It doesn't seem like that many by bot cleanup standards. This bot has fixed 407 in the last year. I guess there is an upload script or process which adds a "Summary" heading but some uploaders also do it manually. Does this really need a solution beyond a bot periodically removing the double? It's not like bots complain about workload, and file pages get almost no views. PrimeHunter (talk) 20:45, 28 August 2022 (UTC)
Start a discussion with ..
In the past, I could rollback an edit from a "new" user/IP (i.e. user/IP with redlinked talk page) and warn them by clicking on their redlinked talk page link. Now, this redlink leads me to an additional page saying
Start a discussion with XXX. Talk pages are where people discuss how to make content on Wikipedia the best that it can be. Start a new discussion to connect and collaborate with XXX. What you say here will be public for others to see.
This way I have to click twice, which slows me down.
Is there a simple way to leave a message on redlinked talk with one mouth click? If this is not trivial, where was it decided that redlinked pages can not be created right away, even by admins? Materialscientist (talk) 22:40, 28 August 2022 (UTC)
- To clarify the technical part of the problem:
- https://en.wikipedia.org/w/index.php?title=User_talk:Triumph2016&action=edit works directly, but
- https://en.wikipedia.org/w/index.php?title=User_talk:Triumph2016&action=edit&redlink=1 leads to a redirect. Materialscientist (talk) 23:31, 28 August 2022 (UTC)
- @Materialscientist in Special:Preferences#mw-prefsection-editing, under "Enable quick topic adding" try to change the setting to "open the wikitext editor". See if that solves your issue. — xaosflux Talk 00:32, 29 August 2022 (UTC)
- Solved, thanks a lot. Materialscientist (talk) 00:38, 29 August 2022 (UTC)
- @Materialscientist in Special:Preferences#mw-prefsection-editing, under "Enable quick topic adding" try to change the setting to "open the wikitext editor". See if that solves your issue. — xaosflux Talk 00:32, 29 August 2022 (UTC)
Module:Excerpt: No alt text and captions for images transcluded from infoboxes to another page
Hi, I posted a message at Module talk:Excerpt about an issue I've discovered with the handling of transclusion of images in infoboxes using this template-and-module. Transcribed below: reply on the module talk page. Sammi Brie (she/her • t • c) 08:19, 29 August 2022 (UTC)
I was reviewing Wind power in Turkey for GAN and found that images that are brought into that page using {{excerpt}} and which are in infoboxes on transcluded pages, like Çanta Wind Farm, do not have their captions or alt text ported over in the transcluding page. What causes this, and how can it be remediated?
Sammi Brie (she/her • t • c) 08:19, 29 August 2022 (UTC)
- Sophivorus is the maintainer of that module and is usually pretty good about responding on the talk page. Pinging them just in case. –Novem Linguae (talk) 09:24, 29 August 2022 (UTC)
- Thanks, I just replied there. Sophivorus (talk) 12:38, 29 August 2022 (UTC)
transclusion
Check this.
I know that transclusion is for templates; articles' title cannot be transclusion, it is just article title. Why is 'article Title' at Pages that link to "'article Title'" and what (transclusion) denotes after 'article Title'?
There is currently link for this page at template page (https://en.wikipedia.org/w/index.php?title=Template%3AWealthiest_people_in_the_United_States&type=revision&diff=1107322961&oldid=1070557923) and still same link among pages that link to and not in template namespace but main.
--5.43.86.137 (talk); 11:45, 29 August 2022 (UTC) [e]
- All pages can be transcluded by including the namespace, or a colon in front for mainspace pages. Some highly used citation templates transclude the page itself to examine its code. It's true that the article transcludes itself. Lots of articles do. Transclusion in other articles is less common but does happen, usually to display a selected part of the article. PrimeHunter (talk) 16:48, 29 August 2022 (UTC)
- Articles began transcluding themselves when using CS1 citation templates in 2019; see Wikipedia:Village pump (technical)/Archive 173#Many articles appear to transclude themselves, but why? Graham87 06:33, 30 August 2022 (UTC)
Tech News: 2022-35
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- The Realtime Preview is available as a Beta Feature on wikis in Group 2. This feature was built in order to fulfill one of the Community Wishlist Survey proposals. Please note that when this Beta feature is enabled, it may cause conflicts with some wiki-specific Gadgets.
Problems
- In recent months, there have been inaccurate numbers shown for various Special:Statistics at Commons, Wikidata, and English Wikipedia. This has now been fixed. [4]
Changes later this week
The new version of MediaWiki will be on test wikis and MediaWiki.org from 30 August. It will be on non-Wikipedia wikis and some Wikipedias from 31 August. It will be on all wikis from 1 September (calendar).
Some wikis will be in read-only for a few minutes because of a switch of their main database. It will be performed on 30 August at 07:00 UTC (targeted wikis) and on 1 September at 7:00 UTC (targeted wikis).
Future changes
- The Wikimedia Foundation wants to improve how Wikimedia communities report harmful incidents by building the Private Incident Reporting System (PIRS) to make it easy and safe for users to make reports. You can leave comments on the talk page, by answering the questions provided. If you have ever faced a harmful situation that you wanted to report/reported, join a PIRS interview to share your experience. To sign up please email Madalina Ana.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
23:02, 29 August 2022 (UTC)
Undo/Diffs for Mobile - feedback requested
Hi all,
Just reposting on behalf of the team that's working on improving Diffs for mobile, including specifically adding in an undo button.
This had dozens of supports on the 2019 and 2021 Community Wishlists.
Anyone who uses the mobile web interface (or might, if it were easier), please take a look at the open questions and wireframes and give feedback.
If there are other fora where this might be relevant, please feel free to crosspost. Nosebagbear (talk) 15:56, 30 August 2022 (UTC)
flash of unstyled content on watchlist
On my watch list I have a short-term watch (1 month). When I F5 refresh that page, the clock-face icon briefly displays larger and (apparently) darker than its normal size/color. Is this only me? win10 chrome current version.
—Trappist the monk (talk) 16:40, 30 August 2022 (UTC)
- I'm briefly seeing it, along with it for IP Information icons. — xaosflux Talk 17:14, 30 August 2022 (UTC)
MathJax Gadget
Is it possible to add the following code to the gadgets?
var mathTags = $('.mwe-math-mathml-a11y');
if (mathTags.length > 0){
window.MathJax = {
AuthorInit: function () {
MathJax.Hub.Register.StartupHook("End",function () {
MathJax.Hub.Queue(
function(){
mathTags.removeClass('mwe-math-mathml-a11y');
$('.mwe-math-fallback-image-inline').addClass('mwe-math-mathml-a11y');
}
);
});
}
};
mw.loader.load('https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full');
}
helohe (talk) 19:39, 30 August 2022 (UTC)
- Is this a user script? Link to user script? How many users? Usually gadgets start off as a user script, get hundreds of users, then get converted to a gadget. Gadgets are basically popular user scripts that have been made more easily available. –Novem Linguae (talk) 19:42, 30 August 2022 (UTC)
- Regardless, we would not make a script which loads from an external CDN into a gadget. It would first need to be hosted at one of the WMF CDNs. Izno (talk) 19:47, 30 August 2022 (UTC)
Nearby units
Special:Nearby shows results in m/km. It should either show both m/km and ft/mi, or the appropriate unit for the location. For anybody without location services, you can test with Special:Nearby#/coord/40.748,-73.985. 2600:1700:61A0:5960:7DA7:A96B:9AA1:812 (talk) 19:48, 30 August 2022 (UTC)
- phab:T53584 is (re)open on this, but it hasn't had anyone work on it in a very long time. Volunteer developers are welcome to take up the challenge. — xaosflux Talk 20:28, 30 August 2022 (UTC)
- Nah, it is a secret plot to get Americans to finally accept metric ! :) —TheDJ (talk • contribs) 08:46, 31 August 2022 (UTC)
- Thanks for looking that up and reopening it. It seems that there's reluctance to making an option/preference. But why not just display both units, as is done in virtually every Wikipedia article with any kind of measurements? That would be much easier. 2600:1700:61A0:5960:7DA7:A96B:9AA1:812 (talk) 08:11, 1 September 2022 (UTC)
- There isn't reluctance, there is just no one available to implement and review it. —TheDJ (talk • contribs) 08:20, 1 September 2022 (UTC)
- Thanks for looking that up and reopening it. It seems that there's reluctance to making an option/preference. But why not just display both units, as is done in virtually every Wikipedia article with any kind of measurements? That would be much easier. 2600:1700:61A0:5960:7DA7:A96B:9AA1:812 (talk) 08:11, 1 September 2022 (UTC)
Subscribe (but I don't want to, and it's annoying)
I just noticed that on talk pages beside the section heading there is a place to click to subscribe. It's distracting when I'm looking to edit a section. I don't see it mentioned above.— Vchimpanzee • talk • contributions • 23:40, 30 August 2022 (UTC)
- Go to Special:Preferences#mw-prefsection-editing and uncheck "Enable topic subscription". MANdARAX XAЯAbИAM 00:00, 31 August 2022 (UTC)
- Thanks.— Vchimpanzee • talk • contributions • 19:53, 31 August 2022 (UTC)
- BTW, I also find it annoying to have it there all the time, but there are a few occasions when I do want to subscribe. Your can add the following to your common.js:
// Section subscribe
CurNSnum=mw.config.get('wgNamespaceNumber');
if (CurNSnum%2==1||CurNSnum==4)
mw.util.addPortletLink(
'p-tb',
mw.config.get('wgScript')+'?title='+mw.config.get('wgPageName')+'&dtenable=1',
'Section subscribe'
);
- A link labeled "Section subscribe" will appear in your toolbox for all pages in the Wikipedia: or any talk space. Click on it and the page will reload with the section subscribe links enabled. MANdARAX XAЯAbИAM 00:49, 31 August 2022 (UTC)
- That didn't seem to work.— Vchimpanzee • talk • contributions • 19:53, 31 August 2022 (UTC)
- In what way doesn't it work? Does the "Section subscribe" link appear? (Which skin are you using? The link should be in the menu named "tools", "Tools", "More", or "Wiki tools", at the left or top of the page, depending on your skin.) If you get the link, what is the URL it links to, and what happens when you click on it? MANdARAX XAЯAbИAM 00:31, 1 September 2022 (UTC)
- That didn't seem to work.— Vchimpanzee • talk • contributions • 19:53, 31 August 2022 (UTC)
Rater stopped working on my end
The Rater script (User:Evad37/rater) has randomly stopped working for me a couple days ago. When I click alt + 5, nothing comes up or happens. I tried removing and adding it again, but nothing changed. Rater is the only script I have in my common.js file. Nothing in my setup has changed, and I do not remember anything that could have broke it on my end. I am using the default skin on brave browser version 1.42.97. Anything I can do to try to get Rater to work again? SamBroGaming (talk) 02:37, 31 August 2022 (UTC)
- Rater works for me. Specific page or all pages? Any WP:CONSOLEERRORS? –Novem Linguae (talk) 07:45, 31 August 2022 (UTC)
- @SamBroGaming "Rater" is a personal userscript, you may want to ask over at User talk:Evad37/rater.js for more tips. — xaosflux Talk 13:31, 31 August 2022 (UTC)
- @Novem Linguae @Xaosflux Thank you for the useful advice, but apparently, as soon as I test it being broken, it magically starts working. Thanks again, but apparently it fixed itself. SamBroGaming (talk) 15:53, 31 August 2022 (UTC)
Template:Infobox dog breed
I'm not clever at template editing. Today I added a {{{distribution}}}
parameter to Template:Infobox dog breed as best I could, imitating the syntax in use there. It works – or at least it's working at Villano de Las Encartaciones – but when I enter edit mode in that page I get an error, "Preview warning: Page using Template:Infobox dog breed with unknown parameter 'distribution'". If the parameter is unknown, why does it work? (and if it works, how can it be unknown?) I'm quite sure this is my mistake, but I can't find it (I've purged caches and so on, no luck). Any light, anyone? Justlettersandnumbers (talk) 19:38, 31 August 2022 (UTC)
- @Justlettersandnumbers: I have edited the template to add
distribution
to the list of known parameters when it invokes Module:Check for unknown parameters. DanCherek (talk) 19:44, 31 August 2022 (UTC)- Thanks, DanCherek, I wouldn't have thought of that in a thousand years! But – for once – it does seem that this was not my fault, and that there's an error there that should probably be fixed (or at least documented). Thanks again, Justlettersandnumbers (talk) 20:08, 31 August 2022 (UTC)
- We have no method to automatically detect which parameters are known to a template. They must be manually added to
{{#invoke:Check for unknown parameters}}
in the template code. Well, we have Template:Parameters#check but it would have to be run each time a parameter is added and if you know that much, you can just add the parameter to the known parameters right away. Maybe we could get a bot to do some of it but it's complicated if the template calls a module. Maybe we should have a template with explanatory text to display in the documentation of templates which check for unknown parameters. It's often difficult to find now, for example from Template:Infobox dog breed#Tracking categories: Click Category:Pages using infobox dog breed with unknown parameters and then Module:Check for unknown parameters. The preview warning is for users of the template and assumes the template is coded correctly. It would probably confuse more than help if the warning tried to explain that it might just be the template which incorrectly thinks the parameter is unknown. PrimeHunter (talk) 22:30, 31 August 2022 (UTC)
- We have no method to automatically detect which parameters are known to a template. They must be manually added to
- Thanks, DanCherek, I wouldn't have thought of that in a thousand years! But – for once – it does seem that this was not my fault, and that there's an error there that should probably be fixed (or at least documented). Thanks again, Justlettersandnumbers (talk) 20:08, 31 August 2022 (UTC)
Templates for crime in countries by year/decade
For Zimbabwe the "year" template works as expected with Category:2007 crimes in Zimbabwe generating the parent Category:Crimes in Zimbabwe by year. But the “decade” template Category:2000s crimes in Zimbabwe generates the parent Category:Crime in Zimbabwe by decade.rather than “Crimes in ….," although this was changed after discussion recently. Can someone correct this please? (I have no experience in template editing) Hugo999 (talk) 12:31, 1 September 2022 (UTC)
- @Hugo999: Neither Category:Crime in Zimbabwe by decade nor Category:Crimes in Zimbabwe by decade exist. Do you mean you want {{YYY0s crimes in countryname category header}} to add the latter non-existing category instead of the former? The template (via code in {{YYY0s crimes in countryname category header/inner core}} looks for a "Crimes" category and adds it if it exists. Otherwise it adds a "Crime" category whether or not it exists. An ifexist check causes a WhatLinksHere entry and Special:WhatLinksHere/Category:Crimes in Zimbabwe by decade confirms the check was made in Category:2000s crimes in Zimbabwe. It's non-controversial to add an existing category but if you want the default non-existing category to be changed then please link the discussion you mention. PrimeHunter (talk) 13:16, 1 September 2022 (UTC)
- (edit conflict) Just create Category:Crimes in Zimbabwe by decade. — Qwerfjkltalk 13:19, 1 September 2022 (UTC)
Tag: use of deprecated (unreliable) source
This edit causes Tag: use of deprecated (unreliable) source:
- Google Search results for wnd.com redirect to a Malware Warning page with: "Warning — visiting this web site may harm your computer!".<ref>{{cite web |title=Malware Warning |url=https://www.google.com/interstitial?url=https://www.wnd.com/ |website=www.google.com |access-date=1 September 2022}}</ref>
- 0mtwb9gd5wx (talk) 13:37, 1 September 2022 (UTC)