Wikipedia:Village pump (technical)/Archive 181
This page contains discussions that have been archived from Village pump (technical). Please do not edit the contents of this page. If you wish to revive any of these discussions, either start a new thread or use the talk page associated with that topic.
< Older discussions · Archives: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, AA, AB, AC, AD, AE, AF, AG, AH, AI, AJ, AK, AL, AM, AN, AO, AP, AQ, AR, AS, AT, AU, AV, AW, AX · 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216
Is there a way to tell which citations generate this category? The question is about paleotempestology. Jo-Jo Eumerus (talk) 11:04, 30 April 2020 (UTC)
- @Jo-Jo Eumerus: See Category:Harv and Sfn template errors#Displaying error messages. 3rd method will work. Looks like it's from May et al. 2017. Headbomb {t · c · p · b} 11:18, 30 April 2020 (UTC)
- If you follow Paleotempestology#CITEREFMayBrillLeopoldCallow2017, it takes you to the relevant two references. One should have 2017a, the other 2017b and then the short footnote updated to reflect which is meant. Headbomb {t · c · p · b} 11:20, 30 April 2020 (UTC)
- Thanks. Found a different solution for the problem there. Jo-Jo Eumerus (talk) 11:27, 30 April 2020 (UTC)
- This here is the proper way to fix things. Headbomb {t · c · p · b} 11:33, 30 April 2020 (UTC)
- @Headbomb: ...except that that is not consistent with the rest of the article using ref tags for sources where only one page is employed. Jo-Jo Eumerus (talk) 11:49, 30 April 2020 (UTC)
- From what I see, every citation is made through a shortened footnote save one and those to Google maps. This lone citation has likely been added against the existing style via the WP:RefToolbar or similar. Headbomb {t · c · p · b} 12:27, 30 April 2020 (UTC)
- No, that was a deliberate decision when I expanded the article. The pre-expansion text had ref tags and didn't know anything about page numbers, so I decided to adopt a hybrid sfn+ref citation system. Jo-Jo Eumerus (talk) 12:53, 30 April 2020 (UTC)
- From what I see, every citation is made through a shortened footnote save one and those to Google maps. This lone citation has likely been added against the existing style via the WP:RefToolbar or similar. Headbomb {t · c · p · b} 12:27, 30 April 2020 (UTC)
- @Headbomb: ...except that that is not consistent with the rest of the article using ref tags for sources where only one page is employed. Jo-Jo Eumerus (talk) 11:49, 30 April 2020 (UTC)
- This here is the proper way to fix things. Headbomb {t · c · p · b} 11:33, 30 April 2020 (UTC)
- Thanks. Found a different solution for the problem there. Jo-Jo Eumerus (talk) 11:27, 30 April 2020 (UTC)
- If you follow Paleotempestology#CITEREFMayBrillLeopoldCallow2017, it takes you to the relevant two references. One should have 2017a, the other 2017b and then the short footnote updated to reflect which is meant. Headbomb {t · c · p · b} 11:20, 30 April 2020 (UTC)
Non-uniform distribution of namespaces in “pagelinks.sql” dump
I'm analyzing some Wikipedia data using the provided SQL dumps. Doing so, I noticed that in the “pagelinks” dump, all links in the 0 → 0 (main to main) namespace reside in the (roughly) first half of the dump, and none in the latter half (that's almost 30GB of text). I get the overall expected numbers of positive matches, so my counting method seems correct.
If someone more familiar with the database structure of Wikipedia/MediaWiki has an idea why this might be, I'd love to gain some insight. Does the pagelinks SQL dump get grouped/partitioned by namespace? — Preceding unsigned comment added by MSUGRA (talk • contribs) 15:42, 30 April 2020 (UTC)
Technical maintenance planned
A maintenance operation will be performed on Thursday 30th April at 05:00 AM UTC.
It impacts all wikis and is supposed to last a few minutes.
During this time, new translations may fail, and Notifications may not be delivered. For more details about the operation and on all impacted services, please check on Phabricator.
A banner will be displayed 30 minutes before the operation.
Please help making your community aware of this maintenance operation.
Trizek (WMF), 18:04, 27 April 2020 (UTC)
- @Trizek (WMF): Phab is a big place - perhaps a ticket number? — xaosflux Talk 18:45, 27 April 2020 (UTC)
- Looks to be phab:T250733. — xaosflux Talk 19:50, 27 April 2020 (UTC)
- There are three maintenance windows planned soon, Trizek sent a longer message to Wikitech-ambassadors describing them. --AntiCompositeNumber (talk) 16:22, 28 April 2020 (UTC)
- Remember the first m:Server switch, which was a huge deal that caused almost half an hour of read-only mode? Now it seems that they've gotten it down to a few minutes, and hardly anybody notices. Whatamidoing (WMF) (talk) 16:08, 30 April 2020 (UTC)
Unexpectedly rotated image
Please take a look at https://en.wikipedia.org/w/index.php?title=Mary_Boquitas&oldid=930978789 You will see that the image is unexpectedly rotated sideways. It is not rotated that way on Wikimedia Commons, it was not that way when I added it to the article a few years ago. I even downloaded the image, re-uploaded it with a "2" after the name, no other changes, and it is not rotated. When you display them at 100px, neither is rotated. You can compare them on User:GRuban/Mary Boquitas. I temporarily replaced the image with the non-rotated copy in the article, but what is going on here, and more importantly what is the best way to fix it? --GRuban (talk) 11:24, 29 April 2020 (UTC)
- I purged the file page on Commons and the problem went away (you may have to clear your browser cache—e.g. by Ctrl+F5—to see the effect). I don't know how it happened in the first place though. Nardog (talk) 11:30, 29 April 2020 (UTC)
- Thanks! I captured the rotated version in the Internet Archive for posterity. https://web.archive.org/web/20200429114127/https://en.wikipedia.org/wiki/Mary_Boquitas --GRuban (talk) 11:45, 29 April 2020 (UTC)
- GRuban, interestingly, even your archived shot has it displaying correctly for me. This is not the first time I've seen something like this, however. As an example, note the history of File:Jay-Z @ Shawn 'Jay-Z' Carter Foundation Carnival (crop 2).jpg; all of the versions display correctly for me even though the current one apparently replaced a wrongly rotated/distorted one. Home Lander (talk) 17:57, 29 April 2020 (UTC)
- Yup, even the archive is correctly rotated for me too now. Which is worrisome. But the immediate problem is solved. --GRuban (talk) 19:50, 29 April 2020 (UTC)
- It's all because of client-side caching. Your browser is lazy, so it tries as hard as possible to not actually have to download new content when you load a page.If there's something's strange, on the interwebz? Who you gonna call? Cache busters! --AntiCompositeNumber (talk) 04:49, 30 April 2020 (UTC)
- It's not "all because of client-side caching". If so the server-side purge would have had no effect. Nardog (talk) 18:10, 30 April 2020 (UTC)
- It's all because of client-side caching. Your browser is lazy, so it tries as hard as possible to not actually have to download new content when you load a page.If there's something's strange, on the interwebz? Who you gonna call? Cache busters! --AntiCompositeNumber (talk) 04:49, 30 April 2020 (UTC)
- Yup, even the archive is correctly rotated for me too now. Which is worrisome. But the immediate problem is solved. --GRuban (talk) 19:50, 29 April 2020 (UTC)
- GRuban, interestingly, even your archived shot has it displaying correctly for me. This is not the first time I've seen something like this, however. As an example, note the history of File:Jay-Z @ Shawn 'Jay-Z' Carter Foundation Carnival (crop 2).jpg; all of the versions display correctly for me even though the current one apparently replaced a wrongly rotated/distorted one. Home Lander (talk) 17:57, 29 April 2020 (UTC)
- Thanks! I captured the rotated version in the Internet Archive for posterity. https://web.archive.org/web/20200429114127/https://en.wikipedia.org/wiki/Mary_Boquitas --GRuban (talk) 11:45, 29 April 2020 (UTC)
Tooltip problem
The tooltip for reference [a] in Clearing_the_neighbourhood#Margot's_Π is too narrow to accomodate the equations. 89.172.8.118 (talk) 19:30, 30 April 2020 (UTC)
- I have reported this problem at mw:Talk:Reference_Tooltips. That very long note may be better reformatted as a regular article section or a collapsible section (even though MOS says not to use collapsible text in general). – Jonesey95 (talk) 20:54, 30 April 2020 (UTC)
- Thanks, I'm not sure where to report bugs around here :) 89.172.8.118 (talk) 21:26, 30 April 2020 (UTC)
Yellow and green open access icon
What is the difference between yellow and green open access icons of locks in references? I just saw a link to arXiv with a green lock icon that redirects to arXiv and shows "freely accessible" in tooltip. I remember yesterday seeing a yellow lock icon somewhere else that linked to the wikipage Open access. What do the different colors mean? 89.172.8.118 (talk) 21:25, 30 April 2020 (UTC)
- If you mean the green lock in Recher, C.; et al. (2010). "Supersymmetry Approach to Wishart Correlation Matrices: Exact Results". arXiv:1012.1234. vs the yellow/orange lock in , they mean the exact same thing. {{open access}} was never updated to the green lock, but probably should be. Headbomb {t · c · p · b} 21:33, 30 April 2020 (UTC)
- Thanks for clearing that up. In the end I didn't click on that yellow link because I presumed it meant something like free for academics like ResearchGate or free to browse bits and parts on a crappy webpage like Google Books. It is counterintuitive. 89.172.8.118 (talk) 00:59, 1 May 2020 (UTC)
Color in Microsoft Edge
In Microsoft Edge (the original version, not the Chromium version), I noticed that text at the bottom of history, user contributions, or watchlist pages sometimes shows in black instead of the correct color, and hovering over a link in black will make it turn blue. Can this issue be fixed in MediaWiki? GeoffreyT2000 (talk) 01:54, 30 April 2020 (UTC)
- Looks blue to me (I am using MS Edge Chromium as well). I do not know what you are talking about. Can you give more details? Like skin? Aasim 05:22, 30 April 2020 (UTC)
- In the Vector skin, that is. Also, I am using the non-Chromium version of Edge. For anyone who is using non-Chromium Edge with the Vector skin, just look at the bottom of this page's latest 500 edits, and the timestamp; user page, user talk page, and user contributions links; and red and green size difference numbers in parentheses will appear black instead. I also tested Cologne Blue, Modern, Monobook, and Timeless, and found out that the issue does not occur in those skins. GeoffreyT2000 (talk) 18:36, 30 April 2020 (UTC)
- GeoffreyT2000, happens for me too. I also attached a screenshot.– BrandonXLF (talk) 01:33, 1 May 2020 (UTC)
- In the Vector skin, that is. Also, I am using the non-Chromium version of Edge. For anyone who is using non-Chromium Edge with the Vector skin, just look at the bottom of this page's latest 500 edits, and the timestamp; user page, user talk page, and user contributions links; and red and green size difference numbers in parentheses will appear black instead. I also tested Cologne Blue, Modern, Monobook, and Timeless, and found out that the issue does not occur in those skins. GeoffreyT2000 (talk) 18:36, 30 April 2020 (UTC)
Harv warning with no harv
Some time in the last little while, two or three weeks perhaps, I notice that many pages now have harv warnings on them. This is a bit annoying because there is no citeref on the text.
For instance, go to Newmarket Canal and scroll to the bottom. On my machine, I get "Harv warning: There is no link pointing to this citation. The anchor is named CITEREFDodge2009." As you can see by pressing Edit, there is no CITEREF on this entry, and there shouldn't be.
I suspect the problem is in the tool that is reporting these errors, not the page? If so, I no longer recall how to find what tool this is. Maury Markowitz (talk) 14:42, 1 May 2020 (UTC)
- See Help_talk:Citation_Style_1/Archive 69#Cite book Harv warning and various other discussions in several places (most of these linked from that discussion). At least, I suppose that is what you're wondering about. --Francis Schonken (talk) 14:46, 1 May 2020 (UTC)
- (EC) @Maury Markowitz: you'll want to update your scripts from User:Ucucha/HarvErrors.js to one one of those detailed at the top of User:Ucucha/HarvErrors. User:Svick/HarvErrors.js will suppress all such yellow warnings. User:Trappist the monk/HarvErrors.js will suppress all such warnings from articles that don't make use of shortened footnotes, and will also suppress them from Further reading and External link sections. Or you can add
|ref=none
to that citation like so, and it will suppress the CITEREF anchor generated by the template. Headbomb {t · c · p · b} 14:50, 1 May 2020 (UTC)
Worked like a champ! Maury Markowitz (talk) 15:12, 1 May 2020 (UTC)
XTools
Whenever I try to use XTools it says "504 Gateway Time-out". Is it just me? ~~ CAPTAIN MEDUSAtalk 12:42, 30 April 2020 (UTC)
- @CAPTAIN MEDUSA: Works for me Recheck. --qedk (t 愛 c) 14:06, 30 April 2020 (UTC)
- QEDK, It works now. It was down for a while. ~~ CAPTAIN MEDUSAtalk 14:10, 30 April 2020 (UTC)
- I don't know about the 504 (I didn't get any such automated reports), but queries are running really slow right now which appears to be a side-effect of phab:T249188. — MusikAnimal talk 21:21, 30 April 2020 (UTC)
- MusikAnimal, I get this now. ~~ CAPTAIN MEDUSAtalk 13:26, 1 May 2020 (UTC)
- This time there was an automated report. Nothing immediately stands out as to what happened, but I'm investigating! There's a task at phab:T251595. I'll follow up there. — MusikAnimal talk 17:04, 1 May 2020 (UTC)
- MusikAnimal, I get this now. ~~ CAPTAIN MEDUSAtalk 13:26, 1 May 2020 (UTC)
- I don't know about the 504 (I didn't get any such automated reports), but queries are running really slow right now which appears to be a side-effect of phab:T249188. — MusikAnimal talk 21:21, 30 April 2020 (UTC)
- QEDK, It works now. It was down for a while. ~~ CAPTAIN MEDUSAtalk 14:10, 30 April 2020 (UTC)
Notification icons blurry rendering
I don't know how the community feels about pixel peeping in UI elements, but here's a very minor nitpick about rendering of some of the notification icons (Commons category). They are originally 20x20 pixels SVG files. In the notifications UI they are rendered in size 30x30 pixels. Positions of some vertical and horizontal edges in these icons relate to the size 30x30 in such a way, that some edges are blurred. The size 30x30 pixels is set through the following CSS rule, which is independent of the skin (
):
.mw-echo-ui-notificationItemWidget-icon img {
height:30px;
width:30px
}
Demo:
-
Edges of the rounded rectangle
-
Top and bottom edges
-
Bottom left corner
-
Bottom left corner
-
Bottom edge
-
All horizontal edges
-
Edge between two speech bubbles
-
Edge between two speech bubbles
-
Upper lip
I wonder if it would make sense to slightly tweak these icons to avoid blurring them. —andrybak (talk) 23:23, 1 May 2020 (UTC)
- Thanks andrybak, this has been captured in Phabricator as task T251659. –Volker E. (WMF) (talk) 02:44, 2 May 2020 (UTC)
How to make two-column lists align but not make a table
For example: List of chancellors of the Queen's University, Belfast#Queen's University Belfast It appears that the names all share the same alignment except the last entry (because of the missing digits of the end year). How do we move Hillary Clinton over to make it the same as the others? Putting spaces in doesn't line it up exactly, and I don't think making a table is the preferred method, is it? Senator2029 “Talk” 01:24, 1 May 2020 (UTC)
- A table would work fine actually. I tried
ch
and that seems to line it up in my browser/skin/zoom combination. Besides those, I just wouldn't care to be honest and not have any styling. It looks fine without being lined up on the colon. --Izno (talk) 01:33, 1 May 2020 (UTC)- For what it's worth, {{0}} is a lot better (and "easier to understand") than using a
<span>
across the entire thing. I updated the list, and it's essentially adding four invisible 0s. Primefac (talk) 02:52, 2 May 2020 (UTC)
- For what it's worth, {{0}} is a lot better (and "easier to understand") than using a
Collapsing half a table
I'm working on an update to Template:Hatching table, whereby everything after the "Historical systems" row is collapsed. However, this doesn't really seem possible with what I know of tables. Posting here so that more enlightened brains can teach me something new, or confirm my suspicions. Primefac (talk) 02:54, 2 May 2020 (UTC) (please ping on reply)
Wikitable headings
Has it always been the case that the dividing lines between cells in headings have been missing in "wikitable" class tables, or is this a new thing? If it is a new thing, how do I get the lines back? SpinningSpark 17:12, 2 May 2020 (UTC)
- I have only seen this when "Make sure that headers of tables remain in view as long as the table is in view" is enabled at Special:Preferences#mw-prefsection-gadgets. Is it the gadget causing it for you? It can be discussed at MediaWiki talk:Gadget-StickyTableHeaders.css. If it's not the gadget then please post an example where you see this, name your skin and browser, and say whether it happens when you log out. PrimeHunter (talk) 17:33, 2 May 2020 (UTC)
- Yes, it was the gadget. I was also getting a really weird effect (before I turned the gadget off) with the table at the bottom of this sandbox history page. The row headings of the bottom half of the table (with the missing cells) were being pushed over the top half as the page was scrolled up. SpinningSpark 17:52, 2 May 2020 (UTC)
Technical maintenance but no server switch
I was alerted just today that there will be a technical maintenance that will affect all wikis (if my understanding of [1] is correct). The banner appeared only today, not since Monday, when it was supposedly announced. Unlike past occurences, there is no server switch like what happened at least thrice before. How is today's non-editing time going to be different from those server switches? Was this made necessary by the 502 and 504 errors that happened earlier this month? LSGH (talk) (contributions) 04:55, 30 April 2020 (UTC)
- From the editors' perspective, the only difference is that it was much faster (just 81 seconds of read-only time). From the tech folks' perspective, I gather that it had something to do with a Certificate authority that was going to expire in June. Whatamidoing (WMF) (talk) 19:59, 30 April 2020 (UTC)
- Thanks a lot. That was quite necessary to avoid any future complication. LSGH (talk) (contributions) 14:16, 3 May 2020 (UTC)
Wikimedia Error (AKA Wikimedia Foundation Error)
It's half a year, and the problem persists. Friday I had problems with this. Persistance of clicking on the "try again" and then, in the popup box, Retry, seems unfriendly to the edit community. Bang head against wall harder?
Now I'm documenting a specific (attempted) edit.
- If you report this error to the Wikimedia System Administrators, please include the details below.
- ## Request from 72.251.70.94 via cp1083 frontend, Varnish XID 857280943
Error: 503, Backend fetch failed at Sun, 03 May 2020 08:40:40 GMT
- ## Request from 72.251.70.94 via cp1083 frontend, Varnish XID 849665645
Error: 503, Backend fetch failed at Sun, 03 May 2020 08:43:04 GMT
- ## Request from 72.251.70.94 via cp1083 frontend, Varnish XID 849896892
Error: 503, Backend fetch failed at Sun, 03 May 2020 08:58:59 GMT
- ## Request from 72.251.70.94 via cp1083 frontend, Varnish XID 853603024
Error: 503, Backend fetch failed at Sun, 03 May 2020 09:14:37 GMT
- ## Request from 72.251.70.94 via cp1083 frontend, Varnish XID 883744841
Error: 503, Backend fetch failed at Sun, 03 May 2020 09:54:06 GMT
- ## Request from 72.251.70.94 via cp1083 frontend, Varnish XID 888745235
Error: 503, Backend fetch failed at Sun, 03 May 2020 10:09:43 GMT
Signed... only one head, so can't try Two Heads (to bang) better than .. Pi314m (talk) 10:24, 3 May 2020 (UTC)
- On what page did this occur? What were you doing (view, edit, preview)? Johnuniq (talk) 10:53, 3 May 2020 (UTC)
How to stably link to a footnote
<ref name="foo">...</ref>
generates <li id="cite_note-foo-#">...</li>
in the reflist (where #
is the ordinal of the note). So we can link to it as in see [[#cite_note-foo-#|this footnote]]
, but this will stop working, or need to be updated, whenever the position of the note changes, so I think we tend to just avoid the construction and refer to footnotes in more abstract ways.
But wouldn't it be fabulous if we could just link to a footnote on the same page by something like see [[#{{#refid:foo}}|this footnote]]
? Or is this possible already? Nardog (talk) 00:35, 2 May 2020 (UTC)
- Perhaps I am misunderstanding, but wouldn't text like "See note <ref name="foo"/>." work for an already named note? 24.151.50.175 (talk) 16:58, 3 May 2020 (UTC)
- Yes and no. "See note [1]" doesn't work nearly as well as "See this note", given the superscript text is semantically non-essential (i.e. something you would skip if you were reading out loud). It would also create an unnecessary backlink ("^"). Nardog (talk) 22:10, 3 May 2020 (UTC)
Come to think of it, why do the anchors (#id
) for named references have dynamic numbers at the end in the first place? Were it not for them, we would be able to reliably link to them not only on the same page but even from other pages. Nardog (talk) 22:10, 3 May 2020 (UTC)
Automatic redirects from non-breaking hyphens in page titles?
I was interested in doing a search-and-replace of 2019–20 coronavirus pandemic to replace all the hyphens in mentions of "COVID-19" and "SARS-CoV-2" with non-breaking hyphens[2] to prevent unwanted line breaks in the middle of those words. However, doing so broke a ton of wikilinks when I tried to preview the page, since it seems the software doesn't automatically redirect from non-breaking hyphens to breaking hyphens in page names, the same way it does for some capitalization differences. I can see this being an issue at other pages where one might want to make a similar fix, and even if I had fixed things manually at 2019–20 coronavirus pandemic, the issue would come back as the page evolves. So is there any chance we could do something to the automatic redirect software to take care of this? {{u|Sdkb}} talk 00:41, 22 April 2020 (UTC)
- "COVID-19" and "SARS-CoV-2" are using hyphen-minuses instead of hyphens, so really titles with non-breaking hyphens and normal hyphens should redirect to the title with minus-hyphens. For example COVID-19 vaccine exists, but COVID‐19 vaccine and COVID‑19 vaccine do not. We could fix this by using a bot that would create the appropriate redirects and move the page to the version using hyphen-minuses when needed.– BrandonXLF (talk) 21:23, 22 April 2020 (UTC)
- Some other solution would be better because using something other than a hyphen will confuse editors and break searching for "COVID-19" with the normal hyphen. Johnuniq (talk) 00:03, 23 April 2020 (UTC)
- @BrandonXLF and Johnuniq: yikes, hyphen-world is complicated haha. Trying to get this straight: so hyphen-minus and hyphen are separate things. And the page titles are all at hyphen-minus. Is hyphen-minus also the grammatically correct option? Is hyphen-minus what you get when you press the button on the keyboard (and thus what people will be searching for)? A bot to fix this sounds fine, if it can't be done more directly than that. Do we know what allows redirects via miscapitalization to work, and could we replicate whatever process does that? This seems more analogous to that situation than anything else. {{u|Sdkb}} talk 07:58, 24 April 2020 (UTC)
- Hyphen and hyphen-minus are the same thing. I wouldn't think there is anything a bot can fix. Johnuniq (talk) 08:01, 24 April 2020 (UTC)
- @Johnuniq and Sdkb: They're different. Hyphen-minus (-) is the hyphen on the keyboard and can be used as a hyphen or as a minus sign whereas a hyphen (‐) is only used as a hyphen and is not used as much and its use is discouraged here on Wikipedia. – BrandonXLF (talk) 19:28, 24 April 2020 (UTC)
- See hyphen-minus and hyphen. --Redrose64 🌹 (talk) 20:11, 24 April 2020 (UTC)
- @BrandonXLF, Redrose64, and Johnuniq: Okay, so what we need then is a way to automatically redirect any title with a hyphen or non-breaking hyphen to a hyphen-minus. Any ideas on how to do that? I can't figure out how the software does it for capitalization — trying to go to foobar (with a lowercase f) just goes to Foobar (the page title) without even showing there was any redirect. {{u|Sdkb}} talk 01:14, 25 April 2020 (UTC)
- User:AnomieBOT creates these redirects (EnDashRedirectCreator - "because titles with en-dashes are hard to type"). If there's a dash type missing, ping the botop. Primefac (talk) 23:11, 30 April 2020 (UTC)
- @Anomie: would it be possible to have this bot also create redirects from non-breaking hyphens? {{u|Sdkb}} talk 05:24, 2 May 2020 (UTC)
- I would oppose these generally. People will copy-paste whatever they can find, and in that case I actually don't think you should be replacing them at all. People will not understand what they have is non-breaking and having to teach the distinction is a time waste here. --Izno (talk) 12:41, 2 May 2020 (UTC)
- @Primefac and Sdkb: AnomieBOT is currently approved only to create hyphen-minus-using (U+002D) redirects for titles containing en-dash (U+2013). It would be pretty easy to do the same for titles containing Unicode hyphen (U+2010), non-breaking hyphen (U+2011), and/or other similar characters, but I'd want to have a decent consensus (here or on WP:VPR) to point to before submitting the BRFA. Note I'm taking a wikibreak at the moment, so if such a consensus is reached please ping me again. Anomie⚔ 23:35, 2 May 2020 (UTC)
- @Anomie: would it be possible to have this bot also create redirects from non-breaking hyphens? {{u|Sdkb}} talk 05:24, 2 May 2020 (UTC)
- User:AnomieBOT creates these redirects (EnDashRedirectCreator - "because titles with en-dashes are hard to type"). If there's a dash type missing, ping the botop. Primefac (talk) 23:11, 30 April 2020 (UTC)
- @BrandonXLF, Redrose64, and Johnuniq: Okay, so what we need then is a way to automatically redirect any title with a hyphen or non-breaking hyphen to a hyphen-minus. Any ideas on how to do that? I can't figure out how the software does it for capitalization — trying to go to foobar (with a lowercase f) just goes to Foobar (the page title) without even showing there was any redirect. {{u|Sdkb}} talk 01:14, 25 April 2020 (UTC)
- Hyphen and hyphen-minus are the same thing. I wouldn't think there is anything a bot can fix. Johnuniq (talk) 08:01, 24 April 2020 (UTC)
- @BrandonXLF and Johnuniq: yikes, hyphen-world is complicated haha. Trying to get this straight: so hyphen-minus and hyphen are separate things. And the page titles are all at hyphen-minus. Is hyphen-minus also the grammatically correct option? Is hyphen-minus what you get when you press the button on the keyboard (and thus what people will be searching for)? A bot to fix this sounds fine, if it can't be done more directly than that. Do we know what allows redirects via miscapitalization to work, and could we replicate whatever process does that? This seems more analogous to that situation than anything else. {{u|Sdkb}} talk 07:58, 24 April 2020 (UTC)
- Some other solution would be better because using something other than a hyphen will confuse editors and break searching for "COVID-19" with the normal hyphen. Johnuniq (talk) 00:03, 23 April 2020 (UTC)
- As an alternative, Sdkb, would it help to have a template, say {{nobl}}, that combines no-break with wikilink? E.g.
{{nobl|SARS-CoV-2}}
. Or is it just as easy to write explicitly{{nowrap|[[SARS-CoV-2]]}}
→ SARS-CoV-2, avoiding yet-another-template overload? You can pipe the link, but the source gets ugly with entity references, and confusing with lookalike characters:[[SARS-CoV-2|SARS‑CoV‑2]]
and[[SARS-CoV-2|SARS‑CoV‑2]]
. The difference between nowrap styling and displaying actual no-break-hyphen characters is what the user gets when copy-pasting rendered (not source) text. Pelagic (talk) – (08:32 Mon 04, AEST) 22:32, 3 May 2020 (UTC)- @Pelagic: Using the nowrap template seems like a good solution. And for many cases, we don't want to wikilink, so all the better that it's optional. My hesitation for adding it to the big COVID-19 pages is that many are already bumping up against the post-expand include size limit, and adding more template calls might push it over, which wouldn't be worth it for such a small change. {{u|Sdkb}} talk 22:37, 3 May 2020 (UTC)
- It seems there isn't a super easy way to do this (for find-and-replace, there's also the issue of URLs within references being broken in some cases), so I think I'm going to just give up on it for now. {{u|Sdkb}} talk 22:38, 3 May 2020 (UTC)
- @Pelagic: Using the nowrap template seems like a good solution. And for many cases, we don't want to wikilink, so all the better that it's optional. My hesitation for adding it to the big COVID-19 pages is that many are already bumping up against the post-expand include size limit, and adding more template calls might push it over, which wouldn't be worth it for such a small change. {{u|Sdkb}} talk 22:37, 3 May 2020 (UTC)
Help regarding IA Bot
Hello everyone!
Can someone help me with a very problematic behavior regarding IA Bot? We use IA Bot on SqWiki (I'm an admin there) and it works fine but at some pages it keeps going on and on, archiving and unarchiving or doing some strange loop-kind of behaviors. At first I hoped it would sort itself out, then I hoped that maybe our links were problematic and someone interested in those articles would fix them in the near future. When none of this happened, I did write to Cyberpower678 countless of times but he appears to be too busy and many of my requests have been automatically archived without any solution to the problem.
These are some of the articles with problems:
- Kalaja e Kaninës
- Harry Potter dhe Guri Filozofal (filmi)
- Dan Castellaneta
- Long Road out of Eden (album)
Please, check the talk pages of those articles and you'll immediately understand what I'm talking about but you can check the article's history too for more information. (We have talk page messages set on and that's good because the problem is not with the messages themselves.)
Actually Cyber appeared to be very responsive at first and he helped me set up the bot for SqWiki. Since we have talk page messages set on, I kept monitoring the bot's activity closely for bugs or mistranslations and that's when I found out of this kind of behavior. As I said, I did write to him many times for help regarding this problem (and even some bugs related to its messages) but as he stated himself, he was very busy these months so those things just kept persisting. Since then, other articles have started to have the same problems as the ones above. Not knowing exactly what causes that kind of behavior (and therefore how to stop it), I've unfortunately stopped monitoring IA Bot's contributions for some months now. I returned now after some weeks to check the first article at the aforementioned list and it was a disaster. The bot is going crazy in there.
We've come to see the bot's work as very beneficial to our citations so we wouldn't want to set it off or exclude certain pages from its list of work (although I'm afraid we might be forced to consider those options too). Is there someone who can help me deal with problems regarding it other than the mentioned operators at the bots page? From past experience I know that some aspects of l18n regarding its use at our project have not been fully accomplished, and the initial deal was to fix and optimize those on the way as we discovered them (hence a continuous support would be the best option) but at this point, maybe just helping to fix behaviors like those mentioned above would be enough.
Normally I would have written at its operators but given the circumstances (to my knowledge, Kaldari doesn't deal much with it anymore and I've already written countless of times to Cyber already) I wrote here as a last resort. - Klein Muçi (talk) 03:27, 1 May 2020 (UTC)
- Klein Muçi, entirely my fault for the lack of response. I have indeed been busy. Let me take a look at this problem. I will report back tomorrow. Please ping me if I forget. —CYBERPOWER (Around) 01:23, 2 May 2020 (UTC)
- @Cyberpower678: I'm really sorry I had to write here but literally I didn't know what else to do except for stopping the bot altogether. I fully understand your lack of time since you do get requests from many projects in different languages. I was indeed hoping to find someone else to deal with it so I wouldn't put too much pressure on you (since you've told me yourself you needed help regarding the bot) and that's why I wrote here but... - Klein Muçi (talk) 01:46, 2 May 2020 (UTC)
- @Cyberpower678: Friendly reminder. :) - Klein Muçi (talk) 17:25, 3 May 2020 (UTC)
- Klein Muçi, I'm still here, but will have to push this to tomorrow. I'm in college which eats at my time as well, and I'm involved with finals right now. —CYBERPOWER (Chat) 00:10, 4 May 2020 (UTC)
- @Cyberpower678: I'm really sorry I had to write here but literally I didn't know what else to do except for stopping the bot altogether. I fully understand your lack of time since you do get requests from many projects in different languages. I was indeed hoping to find someone else to deal with it so I wouldn't put too much pressure on you (since you've told me yourself you needed help regarding the bot) and that's why I wrote here but... - Klein Muçi (talk) 01:46, 2 May 2020 (UTC)
Allow mobile web editor to undo changes
Hi, I'm usually logged in but when I'm on a different device or something I like to either use my alt or go anonymous.
I was hopping on Random article and later RC and after finding a vandal-esque edit, I tried to undo but couldn't find the option to undo, only manually edit the changes.
I understand bringing the undo button to the mobile app editor may invoke an influx of edit warring and all that jazz, but Undo is already available for desktop for all users. Happy editing!
P.S. Dunno if this should go here or on Proposals, move it there if needed 120.20.170.114 (talk) 12:27, 4 May 2020 (UTC)
- Seems to be phab:T191706 – Majavah (t/c) 12:33, 4 May 2020 (UTC)
- Thanks, dude. Glad this is being worked on - feel free to close 120.20.170.114 (talk) 12:36, 4 May 2020 (UTC)
Category redirects populated by templates, scripts and extensions
General
A number of populated category redirects have piled up that are impossible to fix with either the redirect maintenance bot or simple changes to the templates to move the contents over to the correct target. Does anyone have the technical knowledge to move over the contents of any of the following?
- Category:Articles with links needing disambiguation from april 2020 to Category:Articles with links needing disambiguation from April 2020 - no idea why this is coming out in lower case on Glossary of nautical terms
- Category:Foo to Category:X1 - something seems to have brought the Foo category back to life and it's populated by a lot of script pages that are near impossible to amend
All help would be much appreciated. Timrollpickering (talk) 11:46, 3 May 2020 (UTC)
- Fixed Category:Articles with links needing disambiguation from april 2020, which is caused by putting {{dn}} in {{term}}, which automatically lowercases its output to include an HTML ID (I resolved the disambiguation link). * Pppery * it has begun... 13:09, 3 May 2020 (UTC)
- The user script pages are all because they have [[Category:Foo]] as an example somewhere. I think that back in the day (circa 2015?) these wouldn't be processed as links, and since they are all ancient, they were never reloaded to have the category on them. Recently, though, Krinkle mass-fixed some old variables. Pre/appending <nowiki> and </nowiki> respectively should work, as would inserting a colon in the link; if desired I can handle that. ~ Amory (u • t • c) 14:09, 3 May 2020 (UTC)
- Please do; Category:Foo has caused various problems over the years. Timrollpickering (talk) 15:19, 3 May 2020 (UTC)
- Done. All came from the same old source. ~ Amory (u • t • c) 10:57, 4 May 2020 (UTC)
- Thank you. Timrollpickering (talk) 15:15, 4 May 2020 (UTC)
- Done. All came from the same old source. ~ Amory (u • t • c) 10:57, 4 May 2020 (UTC)
- Please do; Category:Foo has caused various problems over the years. Timrollpickering (talk) 15:19, 3 May 2020 (UTC)
Babel
- Category:User en-CA to Category:User en-ca
- Category:User en-GB to Category:User en-gb
- Category:User en-GB-3 to Category:User en-gb
These redirects are populated by users using the Babel extension with dialect codes that are not part of the overall system. This has been raised by me over several years and eventually a workaround was posted at Wikipedia talk:Babel#Category redirects; however one user doesn't like the outcome and insists first on reverting to the incorrect format and now threatening admins who try to fix it with being reported for vandalism. Their first suggestion of using lower case with Babel does not work and the Babel extension itself is impossible to amend for all but the deeply versed in code. I have asked for help at Extension talk:Babel but the extension does not appear to be monitored (there has been no reply at all for a month) so we have an impasse with the problem remaining. How can this be fixed? Timrollpickering (talk) 11:46, 3 May 2020 (UTC)
- If there are issues with users, that's for WP:ANI. --Izno (talk) 14:13, 3 May 2020 (UTC)
- I fear so but wanted to explore technical solutions first as a calmer solution. However this is a problem that's been flagged for nearly four years and the solution at Wikipedia talk:Babel#Category redirects is the only one that's ever been forthcoming so this may be a vain hope. Timrollpickering (talk) 10:58, 4 May 2020 (UTC)
PetScan
Magnus Manske's invaluable Wikipedia:PetScan tool is down; could someone please investigate? -- The Anome (talk) 13:22, 4 May 2020 (UTC)
- It's been down for a while. A Wikimedia Cloud Services admin restarted it, which brought it back for a little while. Magnus is the sole maintainer, so he's the only one who can do the investigating. --AntiCompositeNumber (talk) 14:48, 4 May 2020 (UTC)
- It's up again. Since it's not hosted at Toolforge, it cannot be put up for adoption by another maintainer either. --qedk (t 愛 c) 15:54, 4 May 2020 (UTC)
Is a fix needed
I noticed that the {{Infobox company}} has a red error message in the example box that is to the right of the "short version" description. It reads "error: {{lang}}: text has italic markup". As the page is fully protected I can't examine the situation further. I don't know whether this is a problem or not so I brought it here for others to check on. Thanks for your time. MarnetteD|Talk 15:32, 4 May 2020 (UTC)
- It's a documentation issue on the semi-protected Template:Infobox company/doc. Fixed by removing a non-displayed parameter from the demo call.[3] PrimeHunter (talk) 15:50, 4 May 2020 (UTC)
- Many thanks PrimeHunter. MarnetteD|Talk 15:58, 4 May 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
- Some wikis will be on read-only for a few minutes on 5 May. This will happen around 05:00 UTC. This is for database maintenance. [4]
- Some wikis will be on read-only for a few minutes on 7 May. This will also affect CentralAuth. This can for example affect global renames, password changes, changing or confirming your email address and logging in to new wikis. This will happen around 05:00 UTC. This is for database maintenance. [5]
Changes later this week
- You can get a notification when someone links to a page you created. You can soon turn these notifications off for individual pages. [6]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 5 May. It will be on non-Wikipedia wikis and some Wikipedias from 6 May. It will be on all wikis from 7 May (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
16:59, 4 May 2020 (UTC)
Automatic edit summaries
I noticed that changing redirect targets got a new AES two years ago. But since I like to what I call "go retro" as I did here, I would like to know if there is a way to make this standard.
I want to go retro by using this instead:
Is there a code I have to put or something?
I'm not perfect but I'm almost (talk) 17:14, 4 May 2020 (UTC)
- The automatic edit summary is MediaWiki:Autosumm-changed-redirect-target. If you want it changed for everybody then you have to get that message changed. If you want your own edit summaries changed without entering them manually then I don't know whether some JavaScript could do it. It sounds complicated to detect automatically with a script which then inserts your wanted summary. I guess the MediaWiki feature cannot be used since it works after you click save and the edit is already being processed without a summary. PrimeHunter (talk) 17:25, 4 May 2020 (UTC)
Creating template redirects with parameters
Is there any way to create a redirect to a template that includes defined parameters? I'd like to have {{Don't ping}}
redirect to {{Please ping|no}}
. Just calling the template on the redirect page itself doesn't work because then it doesn't substitute properly. {{u|Sdkb}} talk 18:48, 27 April 2020 (UTC)
- As in
#redirect [[Template:Please ping|no]]
? No. The closest you can get is to make the content of the 'redirect' page the particular template you are trying to use. You can also make the target template a subst version with some clever transcluding tricks; between the two, I think you will get where you are trying to. Unfortunately, I don't remember how exactly to make that trick work. --Izno (talk) 19:40, 27 April 2020 (UTC)- The main impetus behind my proposal was consolidating overproliferated templates (I'd like to make
{{Please ping}}
good enough that the four (4!) other duplicates can be merged into it, but that won't really be possible for ones like{{Nw}}
unless I can get that to redirect to{{Please ping|Nw=yes}}
. So duplicating at the redirect definitely wouldn't be my preference. Overall, this seems like it'd be a useful software feature to help combat the overproliferation of templates that make them so hard to maintain (just see e.g. Wikipedia:Current event templates) — they should all be merged). {{u|Sdkb}} talk 19:50, 27 April 2020 (UTC)- You'd have to make it a wrapper. Primefac (talk) 20:39, 27 April 2020 (UTC)
- @Primefac: I just read through Wikipedia:Wrapper templates, but it's not all that thorough. Would you or someone else be able to show me how to use it in this case? I could then try updating the documentation to pay it forward to others. {{u|Sdkb}} talk 23:33, 27 April 2020 (UTC)
- Well, if you want {{Don't ping}} to display
{{Please ping|no}}
, you make the content of the former equal to the latter. Another example is {{Exams}} being a wrapper for {{Wikibreak}}. Primefac (talk) 23:45, 27 April 2020 (UTC)- @Primefac: Ah, that's a million times simpler than the page made it seem. Thanks! I still had a little trouble with making the substitution safe but figured it out after some fiddling around in the sandbox. I'm going to go ahead and perform the consolidation as I mentioned above and here. If you have any issues with wordings being changed too much, feel free to let me know and we can make tweaks as needed. {{u|Sdkb}} talk 02:41, 28 April 2020 (UTC)
- @Primefac: if I can badger you with another question about wrapper templates, is there a way to pass parameters not specified by the wrapper itself through them? For instance, I turned Template:Welcome-autosign into a wrapper a month ago, but I wasn't able to figure out how to get it so that you could use, say,
{{Welcome-autosign|cookie=y}}
. Is there a way to do that? {{u|Sdkb}} talk 00:19, 4 May 2020 (UTC)- In a word, no. If {{B}} is a wrapper for {{A}}, and A has a
|p1=
, the only way you can pass|p1=
to A via B is if B specifically uses or includes the param in the call to A. Primefac (talk) 19:10, 4 May 2020 (UTC) - @Sdkb: You're looking for Module:Template wrapper. * Pppery * it has begun... 19:14, 4 May 2020 (UTC)
- In a word, no. If {{B}} is a wrapper for {{A}}, and A has a
- Well, if you want {{Don't ping}} to display
- @Primefac: I just read through Wikipedia:Wrapper templates, but it's not all that thorough. Would you or someone else be able to show me how to use it in this case? I could then try updating the documentation to pay it forward to others. {{u|Sdkb}} talk 23:33, 27 April 2020 (UTC)
- You'd have to make it a wrapper. Primefac (talk) 20:39, 27 April 2020 (UTC)
- The main impetus behind my proposal was consolidating overproliferated templates (I'd like to make
Converting pseudo-namespaces to aliases
When I first learned about the pseudo-namespaces such as H: for Help: and T: for Template:, I tried using them, but they only rarely were set up. They don't seem to function anywhere near as well as the aliases built into the software. Is there any reason we haven't converted some of them to aliases? {{u|Sdkb}} talk 23:12, 3 May 2020 (UTC)
- @Sdkb: See this RfC for information. — J947 [cont] 23:16, 3 May 2020 (UTC)
- Thanks for catching me up, J947! The line that stands out to me is the second clause of this:
There is no consensus to treat such redirects (eg "T:" and "MOS:") as being as acceptable as "WP:" and "WT:", which work through software magic; whether the developers should be asked to make similar provisions for such shortcuts as they did for the project namespace is a matter for further discussion.
Did anyone ever follow up on that? MOS: seems like a tricky case since it has a different meaning than Wikipedia:, so ignore that one, but for T:, H:, P:, and CAT:, I'd think we'd want to ask the developers to make them aliases. Would there be support for that? {{u|Sdkb}} talk 23:29, 3 May 2020 (UTC)- The obvious reason for not making an alias of H: is that it would need a matching HT: and therein lies the problem: HT (or any case variant) is the language code for the Haitian Creole Wikipedia so
[[ht:<something>]]
creates an interwiki link to ht.wiki. - —Trappist the monk (talk) 23:42, 3 May 2020 (UTC)
- Continuing this thought: tt → Tatar and pt → Portuguese. And yep, there is a tt.wiki and a pt.wiki.
- —Trappist the monk (talk) 23:52, 3 May 2020 (UTC)
- I wouldn't think aliases would be supported. It's one thing to expect people to absorb WP: and WT: which are common, but using H: instead of Help: is not useful, and T: is too mysterious for those who don't spend their days dreaming about templates. Similar for others. Johnuniq (talk) 23:46, 3 May 2020 (UTC)
those who don't spend their days dreaming about templates
you got me there haha... I guess I'll feel a little better about typing out "Template:" now that I know it's for the sake of the Tatars. ¯\_(ツ)_/¯ {{u|Sdkb}} talk 06:29, 4 May 2020 (UTC)
- The obvious reason for not making an alias of H: is that it would need a matching HT: and therein lies the problem: HT (or any case variant) is the language code for the Haitian Creole Wikipedia so
- Thanks for catching me up, J947! The line that stands out to me is the second clause of this:
- It's time that we put this into the FAQ. --Redrose64 🌹 (talk) 19:28, 4 May 2020 (UTC)
- See also Wikipedia:Perennial proposals#Create shortcut namespace aliases for various namespaces, but I suppose you meant this page's FAQ? Whatamidoing (WMF) (talk) 18:40, 5 May 2020 (UTC)
visual edit dropdown disappears
i've noticed (on article pages) the dropdown option to switch between visual and source editing disappears.it will apparently randomly appear and disappear even for the same page. I use firefox 75 64bit. I tried using opera and for the same page firefox won't have the dropdown while opera will. so i think it's a firefox issue. (I've cleared cache, cookies, etc).ToeFungii (talk) 20:28, 1 May 2020 (UTC)
- @ToeFungii: I've not managed to reproduce that using Firefox 75.0 (64-bit) myself. Did the black pencil icon disappear during one single editing session, or between different sessions? What actions were you performing just before you noticed the dropdown editing option had disappeared, and can you recollect what action you were doing before it returned again. Was it on just one article, or many? Have you checked your Editing Settings in Preferences, and have you got 'editing mode' set to 'show me both editor tabs'? Knowing these things might assist someone to offer suggestions Nick Moyes (talk) 21:56, 1 May 2020 (UTC)
- @Nick Moyes:
- The pencil seems to disappear randomly and in multiple editing sessions. It disappears, or should say doensn't appear, upon clicking "edit source." If I publish while in visual mode, visual mode always seems to open the next time I edit.
- In preferences I don't see in 'editing mode' the text you're talking about. There is 'Temporarily disable the visual editor while it is in beta' which is unchecked.
- In 'Beta' the following are unchecked: 'New wikitext mode', 'Visual differences', 'Two column edit conflict'.
- I've yet been able to replicate in Opera. So I think it may be just a firefox issue.
- I've only been editing with an account for a month. I don't remember seeing it as an issue before a couple weeks ago, but I honestly can't swear to that as it was all so new.
- ToeFungii (talk) 01:47, 2 May 2020 (UTC)
- ToeFungii, does this problem resolve when you edit in mw:safemode? Whatamidoing (WMF) (talk) 15:56, 4 May 2020 (UTC)
- @Nick Moyes:
- I'll test it and let you know. ToeFungii (talk) 17:07, 4 May 2020 (UTC)
- I'd say based on a quick check that makes the problem go away.(I didn't notice before that it's the tool bar at the top of the edit frame that is actually disappearing). Based on reading the safemode that I have to find what's causing the problem. Can I get a little help with that? Is it something in my browser or some setting on wp? thanks. ToeFungii (talk) 17:26, 4 May 2020 (UTC)
- ToeFungii, that's useful news, since it tells us where the problem is. It's almost certainly not something in your web browser (unless you have tons of extensions installed). It's probably caused by a user script. If you scroll down on the mw:safemode page, there's a basic list of the steps for figuring out which script is causing it. You don't seem to have installed any scripts manually, so it's probably a user-script gadget that you turned on in Special:Preferences. Maybe make a few screenshots of your prefs settings, reset everything to defaults, and see if that helps? If it does, then you can use the screenshots to figure out what you wanted to turn on/off again. Whatamidoing (WMF) (talk) 17:52, 4 May 2020 (UTC)
- I'd say based on a quick check that makes the problem go away.(I didn't notice before that it's the tool bar at the top of the edit frame that is actually disappearing). Based on reading the safemode that I have to find what's causing the problem. Can I get a little help with that? Is it something in my browser or some setting on wp? thanks. ToeFungii (talk) 17:26, 4 May 2020 (UTC)
- I tried turning off everything in gadgets and still had issue. Could it be something in Beta? I've reset all to default and I'll add slowly to see if I can id what caused the break. ToeFungii (talk) 18:06, 4 May 2020 (UTC)
- Don't know if you keep a log, but if you do go ahead and close this. I've re-turned on a # of things and don't have it back to the look it had (I should have capture all the pref pages:() but the vis edit isn't broke and I actually now see some icons that I don't ever remember seeing before. The one thing that's really annoying is the preview of a wp link i see now as it is really odd, but over time i'll figure out what broke it and post it. Who knows, maybe i'll never break it again. ToeFungii (talk) 19:01, 4 May 2020 (UTC)
- Whatamidoing (WMF), Found what is causing the break. pref-gadgets "wikEd: alternative full-featured integrated text editor for Firefox, Safari, and Google Chrome (documentation)". When I turn this on it breaks showing the vis/source edit.
Without it though, it messes up at least when I tried to post a question in the TeaHouse. ToeFungii (talk) 20:50, 4 May 2020 (UTC)
- I guess WP:WIKED doesn't support switching to the visual mode. I suppose you could talk to User:Cacycle (who controls that gadget) to see if he wants to support it. Whatamidoing (WMF) (talk) 18:37, 5 May 2020 (UTC)
- I will try to add support for that. Cacycle (talk) 19:15, 5 May 2020 (UTC)
Planned maintenance operation on May 7 @ 05:00 AM UTC
Hi, There's a planned maintenance operation that will be performed on Thursday 7th May at 05:00 AM UTC. CentralAuth-based services (rename account, change password, etc.) may not work. See also: phab:T251157. NB: This wiki will not go read-only during this operation. -- Kaartic correct me, if i'm wrong 11:08, 6 May 2020 (UTC)
get revision number of edit that you are making
I couldn't find any way to do this, and I think it must not exist because otherwise people would probably use it more. Basically I'd like some kind of magic word or variable that when you save the page, is expanded to the revision id of the revision being saved. I think that's different from {{REVISIONID}} which is expanded at rendering time, and which is now disabled (miser mode) on WMF wikis for performance reasons. The purpose is to make self-referential edits: i.e. there would be a template like "{{THISDIFF}}" which you can subst into an edit, which would turn into a permanent diff referring to the edit itself, and that would appear in the text. People could then click the diff to see what change you made in the edit. You normally wouldn't do that in an article, but on talk pages and the like, it's often useful to change something and include a link to what you changed. 2602:24A:DE47:B270:DDD2:63E0:FE3B:596C (talk) 09:36, 6 May 2020 (UTC)
- I think that's not possible as the revision ID is created automatically when the edit has been saved to the database, and so you can't include that in the data being saved. – Majavah (t/c) 09:40, 6 May 2020 (UTC)
- As it happens, I asked User:Catrope about this last November, and he said it was "pretty much impossible". I gather that it would require re-writing MediaWiki core to make it possible. phab:T14694#177118 from 2008 provides some information.
- This, by the way, is why we can't automagically include inline links to Special:Thanks or diffs on talk pages (e.g., to put Diff of this edit Thank for this comment after the timestamp). Whatamidoing (WMF) (talk) 18:19, 6 May 2020 (UTC)
Hijacked?
--qedk (t 愛 c) 18:06, 6 May 2020 (UTC)
Is the website in the infobox Very Long Baseline Array article hijacked? And is there a bot or something that can go around and fix that or something? Alanscottwalker (talk) 17:58, 6 May 2020 (UTC)
- @Alanscottwalker: The domain registration just expired afaics. No bot needed, just removed the site from the Wikidata entity. --qedk (t 愛 c) 18:04, 6 May 2020 (UTC)
- QEDK, I've re-added and corrected the official website claim on the Wikidata entry since the article had the updated version in its external links section. As for the bot...probably too much of a WP:CONTEXTBOT problem to be worthwhile. creffett (talk) 18:06, 6 May 2020 (UTC)
- @Creffett: updated it right after that. :) --qedk (t 愛 c) 18:06, 6 May 2020 (UTC)
Thanks. Alanscottwalker (talk) 18:46, 6 May 2020 (UTC)
Automatic Tags
I think that this is a question about automatic tagging in edit summaries. I see that an edit summary consists of two parts, the summary provided by the editor, and notes that are sometimes provided by the code. Where do I report concerns about the automatic tagging? This is not at all urgent. What seems to have happened has to do with Draft:Ute Lotz-Heumann. On 5 November 2019, I accepted this draft, which moved it to article space, and created a page in draft space that is a redirect to article space. The tag correctly says: New redirect. Another tag was then applied to the redirect that says, "Removed redirect". But the redirect was and is still there. As a result, six months later, today, 6 May 2020, an editor came and requested a speedy deletion of the redirect as an abandoned draft. I have described this in more detail at Wikipedia_talk:WikiProject_Articles_for_creation#Weird_Incorrect_G13_tagging. So was the tag incorrect, and what should be done? Robert McClenon (talk) 13:59, 6 May 2020 (UTC)
- @Robert McClenon: the "removed redirect" tag related to this edit is a bit misleading perhaps - so you didn't remove text on that page about the redirect, however you did conceptually remove this page from being a redirect - by placing text before the redirect declaration readers would no longer be redirected. Admins can remove a tag from a revision if it is really needed, but in most cases it isn't a big deal. That specific tag appears to have come from the backend software, specifically
mw-removed-redirect
for being anEdits that change an existing redirect to a non-redirect
- which it was. — xaosflux Talk 14:13, 6 May 2020 (UTC)- Not sure what you were trying to do, but you probably shouldn't have made that edit at all - since those tags don't normally apply to redirects. If that was some sort of twinkle error - you will want to follow up with the twinkle maintainers still. — xaosflux Talk 14:20, 6 May 2020 (UTC)
- User:Xaosflux - I don't really remember what I was trying to do, since this was six months ago, but I would infer that I was trying to tag the article. I can't imagine why I would have tried to apply a tag to the redirect. What is the mechanism for reporting issues to Twinkle? Robert McClenon (talk) 14:36, 6 May 2020 (UTC)
- @Robert McClenon: Wikipedia:Twinkle#Quick_info has a "reporting bugs" section - but unless you can reproduce the problem now, it probably isn't worth chasing down 6 months later. — xaosflux Talk 14:48, 6 May 2020 (UTC)
- Robert McClenon, it'll be nigh impossible to pin down unless you remember exactly what happened, but my guess is that after you moved the draft to mainspace, you tagged the draft page without reloading it. That is, it was in your browser, possibly from the history tab or something where the content, unchanged since you moved it, so when that page and Twinkle were loaded it wasn't a redirect. I can look into making some additional checks, but it's generally a good idea when editing content to ensure you're editing the most recent version of the page. ~ Amory (u • t • c) 18:31, 6 May 2020 (UTC)
- User:Amorymeltzer - Yes, that is probably what happened. I accepted the draft, which does various things including moving it to mainspace, and invisibly creating a new page that is the redirect from draft space to article space. This is another lesson that I will try to keep in mind, which is that when moving a page or doing something that creates a page, be sure that you are where you think you are. Thank you. Robert McClenon (talk) 19:05, 6 May 2020 (UTC)
- Robert McClenon, it'll be nigh impossible to pin down unless you remember exactly what happened, but my guess is that after you moved the draft to mainspace, you tagged the draft page without reloading it. That is, it was in your browser, possibly from the history tab or something where the content, unchanged since you moved it, so when that page and Twinkle were loaded it wasn't a redirect. I can look into making some additional checks, but it's generally a good idea when editing content to ensure you're editing the most recent version of the page. ~ Amory (u • t • c) 18:31, 6 May 2020 (UTC)
- @Robert McClenon: Wikipedia:Twinkle#Quick_info has a "reporting bugs" section - but unless you can reproduce the problem now, it probably isn't worth chasing down 6 months later. — xaosflux Talk 14:48, 6 May 2020 (UTC)
- User:Xaosflux - I don't really remember what I was trying to do, since this was six months ago, but I would infer that I was trying to tag the article. I can't imagine why I would have tried to apply a tag to the redirect. What is the mechanism for reporting issues to Twinkle? Robert McClenon (talk) 14:36, 6 May 2020 (UTC)
- Not sure what you were trying to do, but you probably shouldn't have made that edit at all - since those tags don't normally apply to redirects. If that was some sort of twinkle error - you will want to follow up with the twinkle maintainers still. — xaosflux Talk 14:20, 6 May 2020 (UTC)
Good article nominations
Apologies in advance if this has been sought previously but I'm looking for a bot or a script that will enable me to know how may GANs I have nominated and how many of them have been promoted to GA status. Any help would be great, thanks. The Rambling Man (Stay indoors, stay safe!!!!) 20:37, 6 May 2020 (UTC)
Template:Valid SVG links wrong URL
Hello!
{{Valid SVG}} (and {{Invalid SVG}}) links to the correct URL 9/10 times but sometimes the URL for some reason isn't rendered. For example at File:Fédération Internationale de l'Automobile (emblem).svg the template links to https://validator.w3.org/check?uri=http: when it should in fact link to https://validator.w3.org/check?uri=https://upload.wikimedia.org/wikipedia/en/9/9a/Fédération_Internationale_de_l%27Automobile_%28emblem%29.svg . Can someone please fix this? The links are found by pressing "Valid" or "Invalid" in {{Valid SVG}} and {{Invalid SVG}} respectively. To find files with these templates see Category:Invalid SVGs and Category:Wikipedia images in SVG format.Jonteemil (talk) 05:57, 7 May 2020 (UTC)
- Hello Jonteemil. On first look, it seems like the links are broken if the file is hosted on Commons (such as the example above), and fine for those hosted locally. I will try to look into this, if no one else figures it out by then. Cheers, Rehman 06:08, 7 May 2020 (UTC)
- @Rehman: I think I found why... phab:T18474.Jonteemil (talk) 06:44, 7 May 2020 (UTC)
- Yes, makes sense. Rehman 06:59, 7 May 2020 (UTC)
- @Rehman: I followed instructions at mw:Help:Magic words#Page names: "One simple way to fix this is wrapping the pagename in
{{#titleparts:}}
from the ParserFunctions extension." so it's Done.Jonteemil (talk) 07:00, 7 May 2020 (UTC)- Thanks for the link/explanation. We learn something new everyday. Cheers, Rehman 07:05, 7 May 2020 (UTC)
- Thanks for trying to fix it :)Jonteemil (talk) 07:41, 7 May 2020 (UTC)
- Thanks for the link/explanation. We learn something new everyday. Cheers, Rehman 07:05, 7 May 2020 (UTC)
- @Rehman: I followed instructions at mw:Help:Magic words#Page names: "One simple way to fix this is wrapping the pagename in
- Yes, makes sense. Rehman 06:59, 7 May 2020 (UTC)
- @Rehman: I think I found why... phab:T18474.Jonteemil (talk) 06:44, 7 May 2020 (UTC)
ParserFunctions
Hello!
Can someone help me with a thing related to (I believe) parser functions?
I want to write something depending on the number of entries on a specific category.
The logic would be:
- If there are 0 pages, say there are no pages;
- If there is 1 page, say there is 1 page;
- If there are more than 1 page, say there are X pages;
I tried using an #ifexpr function but it only takes 2 values if I'm not wrong and not three so... Is there any workaround to this? Maybe a better way to do it than what I'm doing? Or is there no way to accomplish this? I can show more details on the specific task if so needed. The point is to make grammar match automatically the status of the category.
Extra question: Do #ifexpr functions accept signs like ≤ and ≥ ? - Klein Muçi (talk) 01:48, 5 May 2020 (UTC)
- Easiest way to do that would probably be
{{#switch:{{PAGESINCATEGORY:Example}} |0=There are no pages |1=There is 1 page |#default=There are {{PAGESINCATEGORY:Example}} pages }}
- You could also do
{{#ifeq:{{PAGESINCATEGORY:Example}}|0 |There are no pages |There {{plural:{{PAGESINCATEGORY:Example}}|is|are}} {{PAGESINCATEGORY:Example}} {{plural:{{PAGESINCATEGORY:Example}}|page|pages}} }}
- You can use
>=
in expressions, but not ≥. I'd suggest taking a look at mw:Help:Extension:ParserFunctions. --AntiCompositeNumber (talk) 02:36, 5 May 2020 (UTC)- Note that
{{PAGESINCATEGORY|Example}}
is a template call so it requires Template:PAGESINCATEGORY to exist. On a wiki without such a template you need{{PAGESINCATEGORY:Example}}
to use mw:Help:Magic words#PAGESINCATEGORY. PrimeHunter (talk) 03:02, 5 May 2020 (UTC)- I'm going to blame the lack of syntax highlighting in <pre></pre> tags for that. --AntiCompositeNumber (talk) 03:16, 5 May 2020 (UTC)
- @AntiCompositeNumber and PrimeHunter: Thank you! Worked perfectly! Regarding the
>=/≥
signs, they are logically equal I believe, no? - Klein Muçi (talk) 14:53, 5 May 2020 (UTC)- Yes. ≥ is a special character and nearly all programming languages are restricted to ASCII characters so they say >= instead. Similarly for ≤ versus <= (or =< in rare cases). PrimeHunter (talk) 16:31, 5 May 2020 (UTC)
- @PrimeHunter: Thank you! - Klein Muçi (talk) 16:50, 5 May 2020 (UTC)
- More on that: for ≠ ≤ ≥ use <> <= >= respectively (a few languages use the two-letter acronyms NE, LE, GE instead of (or as well as) the two-character operators). --Redrose64 🌹 (talk) 18:05, 6 May 2020 (UTC)
!=
for not equal is also common. mw:Help:Extension:ParserFunctions##expr accepts both!=
and<>
. See also Relational operator#Standard relational operators for some other languages. PrimeHunter (talk) 19:04, 6 May 2020 (UTC)- What it comes down to is that you can't use ≤ or ≥ unless you're coding in ALGOL-68 or APL - both of which have wacky character sets in any case. --Redrose64 🌹 (talk) 09:37, 7 May 2020 (UTC)
- More on that: for ≠ ≤ ≥ use <> <= >= respectively (a few languages use the two-letter acronyms NE, LE, GE instead of (or as well as) the two-character operators). --Redrose64 🌹 (talk) 18:05, 6 May 2020 (UTC)
- @PrimeHunter: Thank you! - Klein Muçi (talk) 16:50, 5 May 2020 (UTC)
- Yes. ≥ is a special character and nearly all programming languages are restricted to ASCII characters so they say >= instead. Similarly for ≤ versus <= (or =< in rare cases). PrimeHunter (talk) 16:31, 5 May 2020 (UTC)
- @AntiCompositeNumber and PrimeHunter: Thank you! Worked perfectly! Regarding the
- I'm going to blame the lack of syntax highlighting in <pre></pre> tags for that. --AntiCompositeNumber (talk) 03:16, 5 May 2020 (UTC)
- Note that
reFill deadurl/url-status and a new userscript
It was suggested by MarnetteD to post this here.
in /backend/refill/formatters/citetemplate.py change template.add('deadurl', 'y')
to template.add('url-status', 'dead')
and find and replace "deadurl" with "url-status". In /backend/refill/models/citation.py change 'deadurl': bool,
to 'url-status': str,
.. probably. I literally looked at this for two minutes.
Unrelated but related, I herd U liek ciatations. So I made a userscript. It doesn't do everything reFill does (..YET), but some may find it helpful. It could be expanded later on. Add importScript('User:Alexis Jazz/FUC.js');
to your common.js to enable it. A new button will appear in the edit window near the "Watch this page" checkbox. As an example, clicking it and publishing the page results in these fixes. - Alexis Jazz 18:39, 7 May 2020 (UTC)
- Alexis Jazz, you might want to use something like User:BrandonXLF/Citoid (or you can do it yourself) for making more complete references, especially when the title isn't in the unfilled reference. – BrandonXLF (talk) 22:30, 7 May 2020 (UTC)
List of articles in a wikiproject by size
How can I get a list of articles in a wikiproject sorted by size? something similar to already existing list of popular pages. Capankajsmilyo(Talk | Infobox assistance) 15:57, 7 May 2020 (UTC)
- WP:WikiProject Directory/All. --Izno (talk) 18:24, 7 May 2020 (UTC)
- I don't see where that lists articles by size. BD2412 T 18:40, 7 May 2020 (UTC)
- Perhaps User:MusikAnimal (WMF) or User:NKohli (WMF) could have the tech bot add the page size to that existing popular pages report? — xaosflux Talk 19:55, 7 May 2020 (UTC)
- @Xaosflux, Capankajsmilyo, and BD2412: While adding it to the popular pages report might be the most expedient solution, I think that's conflating two different things together. It seems to me that what's really needed here is a bot/template that can list all the pages of a given wikiproject (along with details like page creation date, size etc.). The popular pages list is capped at 500 or 1000 articles so it wouldn't give a complete list for a lot of wikiprojects. -- NKohli (WMF) (talk) 21:02, 7 May 2020 (UTC)
- I didn't interpret the request correctly, it appears. --Izno (talk) 22:22, 7 May 2020 (UTC)
- Perhaps User:MusikAnimal (WMF) or User:NKohli (WMF) could have the tech bot add the page size to that existing popular pages report? — xaosflux Talk 19:55, 7 May 2020 (UTC)
- I don't see where that lists articles by size. BD2412 T 18:40, 7 May 2020 (UTC)
- PetScan can output page bytes, and can sort output on size, so I think that'd cover it? ~ Amory (u • t • c) 21:15, 7 May 2020 (UTC)
- It seems set up to do that for articles in a category, but what about just a list of articles? BD2412 T 22:24, 7 May 2020 (UTC)
- (Hang on, I may have spoken too soon). BD2412 T 22:26, 7 May 2020 (UTC)
- So far all I'm getting is a 504 Gateway Time-out message. BD2412 T 22:39, 7 May 2020 (UTC)
- I've tried a bunch of routes of entry, and can't seem to get this to generate anything. BD2412 T 23:14, 7 May 2020 (UTC)
- The original request was for pages in a wikiproject, so pages in a category seems ideal? At any rate, the tool is down at the moment (at least for me?) so can't troubleshoot. ~ Amory (u • t • c) 10:00, 8 May 2020 (UTC)
- Special:PageAssessments can give you a list of articles in a WikiProject. Going by this data, you could write a query to get all of the articles sorted by size. For example quarry:query/44749, which lists members of WP:AMATEUR RADIO by size. Just fork that query and change the name accordingly (and refer to Special:PageAssessments if you're unsure you got the name right). — MusikAnimal talk 21:39, 8 May 2020 (UTC)
- The original request was for pages in a wikiproject, so pages in a category seems ideal? At any rate, the tool is down at the moment (at least for me?) so can't troubleshoot. ~ Amory (u • t • c) 10:00, 8 May 2020 (UTC)
Can't get Audio file to Work
I can't get an audio file to work that's positioned right under the first photo under the header July 16 questioning in the wikipage titled 'Alexander Butterfield.'
I was using Firefox 64.0 (64-bit). SmileyTrek (talk) 17:59, 8 May 2020 (UTC)
- Fixed. Hiding the template entirely is an unpleasant failure mode. – Jonesey95 (talk) 18:06, 8 May 2020 (UTC)
Thank you very much. SmileyTrek (talk) 16:01, 9 May 2020 (UTC)
Thursday font change
Arrgh, WP:ITSTHURSDAY and in the last two minutes the font of diffs has changed to monospace, which is smaller and harder to read, causing an accessibility issue. The line height has increased, causing larger gaps between lines --Redrose64 🌹 (talk) 13:07, 30 April 2020 (UTC)
- It actually now depends on "Edit area font style" in Preferences -> Editing. The Phabricator task is phab:T250393. – Majavah (t/c) 13:15, 30 April 2020 (UTC)
- Right, Cop hold of this: I put this in m:Special:MyPage/global.css but it can go in Special:MyPage/common.css or Special:MyPage/skin.css if you prefer. --Redrose64 🌹 (talk) 13:30, 30 April 2020 (UTC)
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { font-family: sans-serif; }
- @Redrose64: Thank you so much for this! Double sharp (talk) 02:43, 1 May 2020 (UTC)
- @Redrose64: thank you. That worked for me too. SarahSV (talk) 01:36, 5 May 2020 (UTC)
- @Redrose64: Thanks for the code. David O. Johnson (talk) 23:35, 6 May 2020 (UTC)
- Hold on. I'm sure that Special:MyPage/skin.css should redirect me to Special:MyPage/monobook.css or Special:MyPage/vector.css as applicable, but it doesn't. When did that change? --Redrose64 🌹 (talk) 13:33, 30 April 2020 (UTC)
- @Redrose64: that is a local hack, and seems to be broken - see MediaWiki_talk:Common.js#Redirect_skin.js_hack_broken_-_remove?. — xaosflux Talk 13:50, 30 April 2020 (UTC)
- Right, Cop hold of this:
I have always used a monospaced font for both the editing area and diffs. But in the last few days I've noticed a font change in the diff area to something that's still monospaced but lighter and harder to read, almost like what Latin characters in an Asian font look like. The editing area is unchanged. Has anyone experienced the same? -- King of ♥ ♦ ♣ ♠ 13:55, 30 April 2020 (UTC) Huh, I just realized that my memory is totally disfunctional, and diffs have always been in a sans-serif font. Must be the Mandela effect... -- King of ♥ ♦ ♣ ♠ 18:06, 30 April 2020 (UTC)
- Yes, edit window is unchanged but the diff typeface has definitely changed. - X201 (talk) 14:24, 30 April 2020 (UTC)
- THE NEW FONT IST TERRIBLE --Killarnee (T•1•2) 15:05, 30 April 2020 (UTC)
- Hideous. I fixed the diffs page ugliness per the directions above "Edit area font style" in Preferences -> Editing, but my edit window font is now tiny, much smaller than what I see on a page when I'm not editing it. Cyphoidbomb (talk) 15:07, 30 April 2020 (UTC)
- meta:User:Killarnee/global.css Fixed.
- And font size:
- --Killarnee (T•1•2) 15:17, 30 April 2020 (UTC)
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { font-size: 90%; }
- Appreciated, Killarnee, but not fixed. My edit window font is still tiny. I can't even count how many indents to use unless I get up close. Cyphoidbomb (talk) 15:26, 30 April 2020 (UTC)
- I even scaled it to 300%. User:Cyphoidbomb/global.css. Maybe it's something I'm doing wrong. Cyphoidbomb (talk) 15:29, 30 April 2020 (UTC)
- You have to create the global css and js pages on meta (meta:User:Cyphoidbomb/global.css, like the global user page) --Killarnee (T•1•2) 15:31, 30 April 2020 (UTC)
- This is absolutely not going to be intuitive for anybody else. I don't know nothin' about css. Also, now that i'm thinking about it, I sort of feel like my edit window displayed mono-spaced fonts. Isn't that the only way to get infobox parameters to align vertically on the equals = signs? Cyphoidbomb (talk) 15:38, 30 April 2020 (UTC)
- Just created the meta page. Nothing happened. Cyphoidbomb (talk) 15:43, 30 April 2020 (UTC)
- You have to create the global css and js pages on meta (meta:User:Cyphoidbomb/global.css, like the global user page) --Killarnee (T•1•2) 15:31, 30 April 2020 (UTC)
- Hideous. I fixed the diffs page ugliness per the directions above "Edit area font style" in Preferences -> Editing, but my edit window font is now tiny, much smaller than what I see on a page when I'm not editing it. Cyphoidbomb (talk) 15:07, 30 April 2020 (UTC)
- THE NEW FONT IST TERRIBLE --Killarnee (T•1•2) 15:05, 30 April 2020 (UTC)
- Maybe this will help you: https://www.w3schools.com/css/default.asp --Killarnee (T•1•2) 15:53, 30 April 2020 (UTC)
- Maybe this will help you: https://www.w3schools.com/css/default.asp --Killarnee (T•1•2) 15:53, 30 April 2020 (UTC)
Can somebody please, with some urgency, provide info on how to change it back? Thanks. -Roxy, the PROD. . wooF 16:42, 30 April 2020 (UTC)
- +1. Call up the egg-heads working on a cure for COVID19 and tell them they have a new priority! Lugnuts Fire Walk with Me 16:48, 30 April 2020 (UTC)
- Really, this is ugliness. I want my diffs readable again. --jpgordon𝄢𝄆 𝄐𝄇 16:55, 30 April 2020 (UTC)
- I just read WP:ITSTHURSDAY and found a useful quote viz .. "so while you can provide a report, there is no guarantee it will be fixed the way you expect, if it needs fixing at all." Oh god. -Roxy, the PROD. . wooF 17:02, 30 April 2020 (UTC)
- Really, this is ugliness. I want my diffs readable again. --jpgordon𝄢𝄆 𝄐𝄇 16:55, 30 April 2020 (UTC)
- +1. Call up the egg-heads working on a cure for COVID19 and tell them they have a new priority! Lugnuts Fire Walk with Me 16:48, 30 April 2020 (UTC)
- Noting here that the software update was reverted today due to an unrelated issue. – Majavah (t/c) 17:57, 30 April 2020 (UTC)
- That's fixed it. Thanks! Lugnuts Fire Walk with Me 18:02, 30 April 2020 (UTC)
- Amen. Cyphoidbomb (talk) 18:45, 30 April 2020 (UTC)
- At the risk of breaking some hearts, the font change is expected to return as soon as the unrelated bug gets fixed.
- I have two thoughts from the above conversation: First, if you remember the mw:Typography refresh from years ago, one of the things to remember is that we hate having our fonts changed ...for a week or two. After that, we pretty much get used to it, and it's okay. So you might want to wait a few days, and see whether the benefits (e.g., making it easier to see narrow punctuation) outweigh the costs. Second, I hate font changes at least as much as the average person, but I think the size is a bigger problem for me than the font itself. So it's possible that a few tweaks to the size and leading would give me (and perhaps some of you, too) the best of both worlds. Whatamidoing (WMF) (talk) 21:39, 30 April 2020 (UTC)
- I, at least, still strongly dislike all of the changes that that refresh included, although I have resentfully accepted them. I seriously hope someone will engineer and provide a CSS way to cancel or reverse this diff change. —烏Γ (kaw) │ 22:36, 30 April 2020 (UTC)
- I already did, at 13:30, 30 April 2020 (UTC) --Redrose64 🌹 (talk) 23:07, 30 April 2020 (UTC)
- I can't follow that, unfortunately; I would need simple instructions. —烏Γ (kaw) │ 01:12, 01 May 2020 (UTC)
- OK, here's "simple instructions". Create User:KarasuGamma/common.css with the content * Pppery * it has begun... 03:04, 1 May 2020 (UTC)
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { font-family: sans-serif; }
- Thank you. Hopefully this will work once that change is unfortunately finalized. —烏Γ (kaw) │ 07:34, 01 May 2020 (UTC)
- OK, here's "simple instructions". Create User:KarasuGamma/common.css with the content
- I can't follow that, unfortunately; I would need simple instructions. —烏Γ (kaw) │ 01:12, 01 May 2020 (UTC)
- I already did, at 13:30, 30 April 2020 (UTC) --Redrose64 🌹 (talk) 23:07, 30 April 2020 (UTC)
- I also wonder how many people stopped complaining because they switched back to Monobook. ;) Double sharp (talk) 02:40, 1 May 2020 (UTC)
- I wonder how many people gave up because they couldn't follow "simple instructions." Sheesh. -Roxy, the PROD. . wooF 07:40, 1 May 2020 (UTC)
- Indeed! No doubt Whatamidoing (WMF) can point to where this proposed change was approved by the/a community. Johnbod (talk) 21:48, 1 May 2020 (UTC)
- @Johnbod: You may want to point out what makes you think that such changes would need some approval by the/a community. That would be news to me (and would not scale). Also see mw:Bug management/Development prioritization. (Note that I was not involved in making this change but am personally curious about understanding what such expectations are based on.) --AKlapper (WMF) (talk) 10:15, 4 May 2020 (UTC)
- @AKlapper (WMF): I don't know, maybe only just how everything else on WP works? ;) Double sharp (talk) 06:17, 5 May 2020 (UTC)
- @Double sharp: Simply repeating a statement does not answer my question where to find a reference for that statement... --AKlapper (WMF) (talk) 10:23, 7 May 2020 (UTC)
- @AKlapper (WMF): Simply: Wikipedia:Consensus. Yes, I'm aware that such changes by the developers are specifically exempted from it by WP:CONEXCEPT. But you'll find a few threads in the talk archives suggesting that I'm not alone in feeling uncomfortable about this, because it feels like a violation of the spirit of the consensus policy, even if not the letter. And no doubt this is what drives such expectations, although you'd have to ask Johnbod to know for sure. Double sharp (talk) 13:02, 7 May 2020 (UTC)
- (@Johnbod:: Ping for the above.) Double sharp (talk) 13:07, 7 May 2020 (UTC)
- Thanks! Personally speaking I'm also torn on this but as you already wrote there is WP:Consensus#Decisions not subject to consensus of editors. So I unfortunately still do not know why Johnbod wrote "approved by the/a community" above, implying that this would be some kind of requirement. For the records, the change was announced in meta:Tech/News/2020/17. --AKlapper (WMF) (talk) 13:20, 7 May 2020 (UTC)
- @Double sharp: Simply repeating a statement does not answer my question where to find a reference for that statement... --AKlapper (WMF) (talk) 10:23, 7 May 2020 (UTC)
- @AKlapper (WMF): I don't know, maybe only just how everything else on WP works? ;) Double sharp (talk) 06:17, 5 May 2020 (UTC)
- @Johnbod: You may want to point out what makes you think that such changes would need some approval by the/a community. That would be news to me (and would not scale). Also see mw:Bug management/Development prioritization. (Note that I was not involved in making this change but am personally curious about understanding what such expectations are based on.) --AKlapper (WMF) (talk) 10:15, 4 May 2020 (UTC)
- Indeed! No doubt Whatamidoing (WMF) can point to where this proposed change was approved by the/a community. Johnbod (talk) 21:48, 1 May 2020 (UTC)
- I wonder how many people gave up because they couldn't follow "simple instructions." Sheesh. -Roxy, the PROD. . wooF 07:40, 1 May 2020 (UTC)
- I, at least, still strongly dislike all of the changes that that refresh included, although I have resentfully accepted them. I seriously hope someone will engineer and provide a CSS way to cancel or reverse this diff change. —烏Γ (kaw) │ 22:36, 30 April 2020 (UTC)
- Amen. Cyphoidbomb (talk) 18:45, 30 April 2020 (UTC)
- That's fixed it. Thanks! Lugnuts Fire Walk with Me 18:02, 30 April 2020 (UTC)
- Other people will be better able to answer the previous point than me. Meanwhile the font change is back, but at a larger size, possibly even in response to the outcry among users. But it is still in the same unhelpful font, and will remain disliked. People might like to comment on whether this is more important than whatever the supposed problem the change fixed was. Johnbod (talk) 16:38, 4 May 2020 (UTC)
- AKlapper (WMF), you asked Johnbod "what makes you think that such changes would need some approval by the/a community". This is the community's workplace. You wouldn't think much of an organization that suddenly moved its workers' desks around, or turned up during the night and messed up all their paperwork, or made the filing cabinets harder to open. Then asked in the morning "what makes you think such changes need your approval?" The point is we have to do a lot of diff reading, including long and complex ones, and we need to be able to do it quickly, often at a glance. This change makes that harder. SarahSV (talk) 18:30, 4 May 2020 (UTC)
- AKlapper (WMF), I second SlimVirgin's point. This change makes it very much harder for editors to edit. It especially makes it harder for us to spot subtle vandalism. I wouldn't go to your workplace and change all the settings on your workstation and then tell you off for complaining about it, could the Foundation try to have the same respect for us? DuncanHill (talk) 18:45, 4 May 2020 (UTC)
- The diff view font is awful and most certainly should be changed back. –Davey2010Talk 13:14, 5 May 2020 (UTC)
Something that would be interesting to check is how many active users have various things in their .css and .js pages specifically to rollback WMF-imposed changes they don't like. I guess it would be a rather nontrivial proportion. ;) Double sharp (talk) 06:22, 5 May 2020 (UTC)
- It looks fairly uncommon, especially if you exclude gadgets. Personally, I'm finding it easier to spot some things. With a monospace font, it's easier to see punctuation and the difference between similarly shaped letters such as I and l. I agree with User:SlimVirgin that the wide characters mean that fewer words appear in the same amount of space. Whatamidoing (WMF) (talk) 18:22, 5 May 2020 (UTC)
- Yes, the monospaces font makes it much easier to see punctuation changes, which was sometimes hard to see with the old fonts. I think the line spacing is the main problem. It looks much better with 1.2em (rather than 1.6em), with the padding on the highlighted text also reduced. — Jts1882 | talk 11:33, 7 May 2020 (UTC)
- I'm finding it harder to read punctuation at all, as the font is so small. That's despite implementing the changes recommended above & below. It's a big problem, hampering my editing considerably. Johnbod (talk) 12:34, 7 May 2020 (UTC)
- User:Johnbod, I think that the font size is meant to be the same as what you see in the mw:2010 wikitext editor (the editor most, but not all, editors see after clicking the Undo button). Is that what you're seeing? (You can check a list of the mw:editors if you're not sure which one you are using.) Whatamidoing (WMF) (talk) 16:35, 7 May 2020 (UTC)
- @Whatamidoing (WMF): I some time ago enlarged the edit window font because it was too small, using common.css
#wpTextbox1 {font-size: 110%;}
. If what you say is correct, it appears I have no choice but to do the same for diffs. What's the CSS for that? ―Mandruss ☎ 17:27, 7 May 2020 (UTC)- If you've implemented one of the changes above, you can set the font-size property to a larger percentage. For example:
- For those who want a tighter line spacing, you can specify the line-height property. isaacl (talk) 17:52, 7 May 2020 (UTC)
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { font-size: 110%; }
- @Whatamidoing (WMF): I some time ago enlarged the edit window font because it was too small, using common.css
- User:Johnbod, I think that the font size is meant to be the same as what you see in the mw:2010 wikitext editor (the editor most, but not all, editors see after clicking the Undo button). Is that what you're seeing? (You can check a list of the mw:editors if you're not sure which one you are using.) Whatamidoing (WMF) (talk) 16:35, 7 May 2020 (UTC)
- I'm finding it harder to read punctuation at all, as the font is so small. That's despite implementing the changes recommended above & below. It's a big problem, hampering my editing considerably. Johnbod (talk) 12:34, 7 May 2020 (UTC)
- Yes, the monospaces font makes it much easier to see punctuation changes, which was sometimes hard to see with the old fonts. I think the line spacing is the main problem. It looks much better with 1.2em (rather than 1.6em), with the padding on the highlighted text also reduced. — Jts1882 | talk 11:33, 7 May 2020 (UTC)
Monday, redux
Blargh, it's back, and bigger than before, and on a Monday no less. Here's a modified version of the Special:MyPage/vector.css change shown above. I don't know if I have the font-size exactly right; I just played with it until I looked reasonable to me. If someone knows where to dig in the site-wide CSS to get the font-size setting exactly right, feel free to change this code to reduce confusion:
.diff-editfont-monospace .diff-addedline,
.diff-editfont-monospace .diff-deletedline,
.diff-editfont-monospace .diff-context {
font-family: sans-serif;
font-size: 88%;
}
Now back to actually improving Wikipedia. – Jonesey95 (talk) 16:45, 4 May 2020 (UTC)
- I copied this into my vector.css and it didn't do anything, even after doing the instructions. I don't know but I might have to wait. I'm not perfect but I'm almost (talk) 17:01, 4 May 2020 (UTC)
- It didn't work at first because I had my preferences to sans serif font in editing. But now it works. And stop fixing what's broke! I'm not perfect but I'm almost (talk) 17:06, 4 May 2020 (UTC)
- Thanks a bunch. The new diff font is absolutely hideous, this code seems to make it look right. ♫ Melodia Chaconne ♫ (talk) 04:56, 5 May 2020 (UTC)
- Yep, back again! Please can someone fix this? Thanks in advance. Lugnuts Fire Walk with Me 17:13, 4 May 2020 (UTC)
- Could someone say how to fix this, please? It's harder to read diffs. SarahSV (talk) 17:56, 4 May 2020 (UTC)
- @Lugnuts and SlimVirgin: Copy the code above into Special:MyPage/common.css (or m:Special:MyPage/global.css, for all projects) to change the font back. --Yair rand (talk) 18:03, 4 May 2020 (UTC)
- Thanks, but I tried that and it still leaves a bit of a gap in the previews, etc. Lugnuts Fire Walk with Me 18:04, 4 May 2020 (UTC)
- @Lugnuts and SlimVirgin: Copy the code above into Special:MyPage/common.css (or m:Special:MyPage/global.css, for all projects) to change the font back. --Yair rand (talk) 18:03, 4 May 2020 (UTC)
- I spoke quite in length about why there should be an option before this change was implemented. Unfortunately, the change was still made without an option, I don't know what we can do about that anymore than just telling the developers we want an option at the Phabricator task: https://phabricator.wikimedia.org/T250393 Don't fix what ain't broke comes to mind here. :/ --qedk (t 愛 c) 18:39, 4 May 2020 (UTC)
- Thank God! Finally! This is a wonderful change! Thanks to the devs who implemented this after many horrible years of proportional fonts in diffs. This will make it so much easier to see things now. I can't tell you how overjoyed I am. Elizium23 (talk) 20:03, 4 May 2020 (UTC)
Somehow, while the rest of the text is showing up fine for me with this fix, text added still shows up with the awful new font. Have I not put it in correctly? Double sharp (talk) 06:20, 5 May 2020 (UTC)
- @Double sharp: The selector
#pt-notifications
has no declaration block applied to it, so it's being interpreted as a required parent to the.diff-editfont-monospace .diff-addedline
, so the code won't run for anything that's not inside an added diff line inside a#pt-notifications
element. You can fix this by either re-adding the{display: none}
line you removed last week or by removing the#pt-notifications
line entirely. --Yair rand (talk) 21:16, 6 May 2020 (UTC)- @Yair rand: Thank you so much! That fixed it. Double sharp (talk) 03:46, 7 May 2020 (UTC)
I'd be happy with the new typeface if the font were a point or two larger. My eyesight isn't quite good enough for the current size. And I shouldn't need to apply personal CSS to get basic accessibility (which is, by the way, supposedly a WMF priority). ―Mandruss ☎ 12:47, 5 May 2020 (UTC)
Rather than change my common.css file directly, I created a separate CSS file and a Javascript file to load it so it can be managed by the script installer gadget. The script is User:Isaacl/script/diff-mono-font.js if anyone is interested in using it. If you don't have the script installer gadget enabled, see Wikipedia:User scripts § How do you install user scripts? for instructions on installing the script manually. Be aware though that the font used may change based on my own personal preference. If you find a font you like, you can clone the CSS file and script and set the font you want to use in the CSS file. isaacl (talk) 06:22, 6 May 2020 (UTC)
- Also be aware your IP will be shared with Google. @Isaacl: I would recommend adding a comment at User:Isaacl/script/diff-mono-font.js to warn users about this. — MusikAnimal talk 15:41, 6 May 2020 (UTC)
- Yes, my CSS file will retrieve the font from Google's web site if you don't have it installed already. (I may remove this later, in which case you will have to download and install one of the fonts listed in the CSS file, or default to whatever font is configured in your browser as the monospace font.) If you want to use a specific font and don't mind having your browser use it on other sites as well, you can use the CSS modifications others have proposed but change the font-family to "monospace", download and install the font you want to use, and change your browser configuration to use it as the monospace font. Alternatively after downloading and installing the font, you can use the CSS modifications but change the font-family to your preferred font. isaacl (talk) 16:18, 6 May 2020 (UTC)
- We do warn people that tweaking their scripts if they don't know what they are doing could compromise their account, and warn them especially that using import is even riskier. basically, for anyone asking about this now: if you import this in to your User:xxx/xxx.js page then isaacl can make your account do most anything they want in the future without you asking; forking it by copy-pasting the code will mean you trust what it is doing now, and isaacl's future changes (good or bad) won't go to you. And yes, if you include external links, they can be used to track you. — xaosflux Talk 16:24, 6 May 2020 (UTC)
- Sorry for not providing the appropriate caveats. Upon reflection, I no longer suggest using my scripts directly; Xaosflux is correct that the risk is high. I strongly encourage anyone to clone my changes to your own personal scripts if you want to be able to enable/disable them using the script installer, as I did. You can take out the @import statement now and download and install your font of choice, and trim down the CSS file to just include the font you want. (Is there a way for me to block my scripts from being used by others?) isaacl (talk) 16:40, 6 May 2020 (UTC)
- @Isaacl: There's nothing wrong with offering user scripts... there are thousands of them here. The risk you run with this script is the same you run with any other. It just wasn't obvious that this one sends your IP to Google, was my complaint. I see you've clarified that, so no concerns on my end. — MusikAnimal talk 16:53, 6 May 2020 (UTC)
- Yes, I know; but Xaosflux is correct on highlighting the general concerns and I can't in good conscience say that the benefit/risk ratio is all that high. I've removed the @import statement now to avoid the concern about third-party servers (to be honest, I think referrer information was a bigger problem; yes caching would have alleviated it but that of course is uncertain). isaacl (talk) 16:59, 6 May 2020 (UTC)
- I don't see the point. If people are unwilling to amend their common.css, why are they going to be more willing to amend their common.js? --Redrose64 🌹 (talk) 17:49, 6 May 2020 (UTC)
- Be careful, some of us are 63 years old, and not scriptkiddies. Some of us are even older. Imagine that. The word used shouldn't be "Unwilling" perhaps "unable" would be more suitable. Most of us are here to write an encyclopedia, not to become scriptkiddies. -Roxy the effin dog . wooF 17:57, 6 May 2020 (UTC)
- With the script installer gadget enabled, you don't have to edit your common.js file directly. An install link is shown on the user script page that you can click. If you're not willing to enable the script installer gadget, then I agree there isn't much point. (Personally I have no issues editing those files, but I like the ability to enable and disable the addition through the gadget.) isaacl (talk) 18:09, 6 May 2020 (UTC)
- I don't see the point. If people are unwilling to amend their common.css, why are they going to be more willing to amend their common.js? --Redrose64 🌹 (talk) 17:49, 6 May 2020 (UTC)
- Yes, I know; but Xaosflux is correct on highlighting the general concerns and I can't in good conscience say that the benefit/risk ratio is all that high. I've removed the @import statement now to avoid the concern about third-party servers (to be honest, I think referrer information was a bigger problem; yes caching would have alleviated it but that of course is uncertain). isaacl (talk) 16:59, 6 May 2020 (UTC)
- @Isaacl: There's nothing wrong with offering user scripts... there are thousands of them here. The risk you run with this script is the same you run with any other. It just wasn't obvious that this one sends your IP to Google, was my complaint. I see you've clarified that, so no concerns on my end. — MusikAnimal talk 16:53, 6 May 2020 (UTC)
- Sorry for not providing the appropriate caveats. Upon reflection, I no longer suggest using my scripts directly; Xaosflux is correct that the risk is high. I strongly encourage anyone to clone my changes to your own personal scripts if you want to be able to enable/disable them using the script installer, as I did. You can take out the @import statement now and download and install your font of choice, and trim down the CSS file to just include the font you want. (Is there a way for me to block my scripts from being used by others?) isaacl (talk) 16:40, 6 May 2020 (UTC)
- We do warn people that tweaking their scripts if they don't know what they are doing could compromise their account, and warn them especially that using import is even riskier. basically, for anyone asking about this now: if you import this in to your User:xxx/xxx.js page then isaacl can make your account do most anything they want in the future without you asking; forking it by copy-pasting the code will mean you trust what it is doing now, and isaacl's future changes (good or bad) won't go to you. And yes, if you include external links, they can be used to track you. — xaosflux Talk 16:24, 6 May 2020 (UTC)
- Yes, my CSS file will retrieve the font from Google's web site if you don't have it installed already. (I may remove this later, in which case you will have to download and install one of the fonts listed in the CSS file, or default to whatever font is configured in your browser as the monospace font.) If you want to use a specific font and don't mind having your browser use it on other sites as well, you can use the CSS modifications others have proposed but change the font-family to "monospace", download and install the font you want to use, and change your browser configuration to use it as the monospace font. Alternatively after downloading and installing the font, you can use the CSS modifications but change the font-family to your preferred font. isaacl (talk) 16:18, 6 May 2020 (UTC)
Primitive font in diff views
Suddenly, the article text in diff views is in a primitive-looking font, a bit like a 60's attempt to look futuristic. It's horrible. It's also got the letters f a r t o o f a r apart from each other. How do I get rid of it? Thanks, DuncanHill (talk) 18:34, 4 May 2020 (UTC)
- See #Thursday font change above. --Masem (t) 18:35, 4 May 2020 (UTC)
New Wikipedia font in diff preview boxes
Hi, Currently I'm using the previous Wikipedia font at User:Davey2010/vector.css (because I dislike the new one), Anyway now whenever I preview someones edits both preview boxes are now using the new font,
Is there a way around this ?,
FWIW the vector.css coding was copied from VP/T when people didn't like the font,
Anyway thanks, Regards, –Davey2010Talk 19:57, 4 May 2020 (UTC)
- @Davey2010: Hmm, you copied the wrong snippet from somewhere I guess.
- This was it:--qedk (t 愛 c) 20:09, 4 May 2020 (UTC)
.diff-editfont-monospace .diff-addedline, .diff-editfont-monospace .diff-deletedline, .diff-editfont-monospace .diff-context { font-family: sans-serif; font-size: 88%; }
- @Davey2010: You didn't include the last
}
at the end when you copied it to your vector.css. --Yair rand (talk) 20:19, 4 May 2020 (UTC)- Hi QEDK, To my knowledge it was copied from here, Up until now the old font was used both in diff box and everywhere else, Also that code doesn't appear to work unless I've done something else wrong ?,
- Thanks Yair rand - Readded the code and still nothing, Thanks, –Davey2010Talk 20:23, 4 May 2020 (UTC)
- FWIW a whole of people here are using the exact same code as mine however by the looks of it people copied it all on the 4th April 2014, Also found a discussion here however that makes no mention of "bodyContent" (which is in the vector page) so I have no idea where I copied the code from, Thanks, –Davey2010Talk 20:43, 4 May 2020 (UTC)
- I am experiencing the same issue when viewing diffs, and I did not make any recent edits to my vector.css. -- Black Falcon (talk) 20:31, 4 May 2020 (UTC)
- @SlimVirgin, Redrose64, and Jonesey95: I love you all thank you os much!, I'm convinced the diff view isn't the same font but I can live with it, Hell of a lot better than the new font that's for sure!, Thanks to you 3 as well as everyone above for their help :), Thanks, –Davey2010Talk 22:08, 4 May 2020 (UTC)
Similar question, i guess: Has something changed in the way diffs are shown? I didn't edit yesterday, i think, so sometime between two days ago and today diffs are showing in a very different size and format and so on, that is not nearly as convenient for me to look at. I haven't made any edits in ages to any .js or .css files, so i can't have done anything wrongly. Any ideas, especially ideas on how i can get my previous view of diffs back? Happy days, LindsayHello 08:32, 5 May 2020 (UTC)
- GUESS WHAT????? -Roxy the effin dog . wooF 13:05, 5 May 2020 (UTC)
- Yes, what? Is it me you're shouting at? If so, i'm afraid you've lost me. This particular section, when i added my comment/question, was in a different spot on the page, so the context was entirely different. In addition, i have added the code to my .css file and the diffs still show in a different font from that they used to be in. If it was not me you were shouting at, then please ignore my explanation. Happy days, LindsayHello 15:43, 6 May 2020 (UTC)
- Wasn't you. It was a general complaint about Life, the Universe, everything and pointless font changes, and impossible to follow instructions. Additionally, it was frustration at the WMF fixing something that isn't broken, and nobody asked for. -Roxy the effin dog . wooF 15:46, 6 May 2020 (UTC)
- When this change first happened, I wondered if my browser was playing up, nope, it has been done deliberately. Not a fan of the new diff font.--♦IanMacM♦ (talk to me) 15:54, 6 May 2020 (UTC)
- No one does apparently but it's still up there. --qedk (t 愛 c) 15:54, 7 May 2020 (UTC)
- User:QEDK, it sounds like you missed Elizium23's comments above. Also, it's worth remembering that people who like it, or who don't care either way, have very little reason to come to this page to say so. Whatamidoing (WMF) (talk) 16:41, 7 May 2020 (UTC)
- No offense @Whatamidoing (WMF): but "no one" obviously does not mean no one, it means most people (here atleast). You are choosing to assume the opinion of the silent majority in the favour of the change instead of appropriately highlighting the complaints made here at the appropriate board, that's in extremely bad taste, imo. --qedk (t 愛 c) 16:49, 7 May 2020 (UTC)
- I have no idea what most people think. If there is a silent majority, then it hasn't spoken to me. Perhaps it hasn't yet decided what it thinks.
- I believe, based on research by other/non-wiki websites into website development, that when you change something as visible as the font, and as obvious as this change is, that it takes people a week or two of seeing the new thing to adapt.
- I can tell you that when I saw this the first time, I expected more complaints than have appeared, and I expected them to be universal. However, I was wrong, because apparently some of the non-English communities prefer this. Perhaps in addition to your language/script, it also depends upon how you use diffs? I imagine that the monospace font is handy for checking edits to templates, less convenient for reading the diffs of long comments on talk pages, but unimportant if you keep up with discussions by actually reading the page (instead of the diff column). I read a lot of busy pages in diff mode, so I'm finding that I'm somewhat more likely to ⌘F down to read long comments than before. But someone who doesn't read like I do might not even notice.
- Also, if you don't have your edit-window font set to monospace (Do you remember the editors complaining when that default changed here? But no complaints after the first couple of weeks...), then you probably didn't see any change. Whatamidoing (WMF) (talk) 19:01, 7 May 2020 (UTC)
- No offense @Whatamidoing (WMF): but "no one" obviously does not mean no one, it means most people (here atleast). You are choosing to assume the opinion of the silent majority in the favour of the change instead of appropriately highlighting the complaints made here at the appropriate board, that's in extremely bad taste, imo. --qedk (t 愛 c) 16:49, 7 May 2020 (UTC)
- User:QEDK, it sounds like you missed Elizium23's comments above. Also, it's worth remembering that people who like it, or who don't care either way, have very little reason to come to this page to say so. Whatamidoing (WMF) (talk) 16:41, 7 May 2020 (UTC)
- No one does apparently but it's still up there. --qedk (t 愛 c) 15:54, 7 May 2020 (UTC)
- When this change first happened, I wondered if my browser was playing up, nope, it has been done deliberately. Not a fan of the new diff font.--♦IanMacM♦ (talk to me) 15:54, 6 May 2020 (UTC)
- Wasn't you. It was a general complaint about Life, the Universe, everything and pointless font changes, and impossible to follow instructions. Additionally, it was frustration at the WMF fixing something that isn't broken, and nobody asked for. -Roxy the effin dog . wooF 15:46, 6 May 2020 (UTC)
- Yes, what? Is it me you're shouting at? If so, i'm afraid you've lost me. This particular section, when i added my comment/question, was in a different spot on the page, so the context was entirely different. In addition, i have added the code to my .css file and the diffs still show in a different font from that they used to be in. If it was not me you were shouting at, then please ignore my explanation. Happy days, LindsayHello 15:43, 6 May 2020 (UTC)
- GUESS WHAT????? -Roxy the effin dog . wooF 13:05, 5 May 2020 (UTC)
I use diffs primarily to spot vandalism, something not apparently of any importance to the Foundation accounts posting here, who only seem interested in talk pages and templates. The new font makes it harder. DuncanHill (talk) 19:07, 7 May 2020 (UTC)
- @DuncanHill: can you expand on how this makes it harder? I just pulled up recent changes and saw this edit, the vandalism is quite obvious still. — xaosflux Talk 19:22, 7 May 2020 (UTC)
- It's a harder font to read quickly. That was a particularly blatant piece of vandalism so not a great example. And no, before you ask, I'm not going to waste my time producing loads of diffs of vandalism and screenshotting them for you, not least because I can't do a "before and after". And also I don't believe the Foundation would take any notice. "We hear what you say but all the people who haven't said anything love the change, and so will you in time as we know your minds better than you do" is the line they are taking, as they always do. DuncanHill (talk) 19:30, 7 May 2020 (UTC)
- @DuncanHill: OK thanks - I went looking for an example of vandalism that was now hard to see in diff view, but after about 50 diffs I couldn't really find one - if you come across one perhaps you could drop the diff here? While we certainly can't fix things for every WMF project, or wikimedia core locally - we could possibly implement local tweaks to improve the experience, but would need to have some good use cases to build upon. — xaosflux Talk 19:53, 7 May 2020 (UTC)
- It's a harder font to read quickly. That was a particularly blatant piece of vandalism so not a great example. And no, before you ask, I'm not going to waste my time producing loads of diffs of vandalism and screenshotting them for you, not least because I can't do a "before and after". And also I don't believe the Foundation would take any notice. "We hear what you say but all the people who haven't said anything love the change, and so will you in time as we know your minds better than you do" is the line they are taking, as they always do. DuncanHill (talk) 19:30, 7 May 2020 (UTC)
- @Whatamidoing (WMF): People giving up complaining after one or two weeks does not translate to it being fine with them, they just don't see it as a choice. Even after multiple editors posted on Phabricator against it (and that is not common at all), the change was not reverted and nor was an option given to choose different styles. I understand that all changes cannot be notified but to railroad things after they are disliked is just plain mean. I had it set to monospace yeah, the 2010 editor forces monospace afaik, so in both spaces I'm stuck on that accord, not that I mind (the font is too big for me imo), but a lot of others do. I'm just trying to make opinions heard because everytime a change like this is forced upon us, we feel that you're taking away our right to choose, remember the survey which apparently had 4% opposition or something? Or the time that superprotect was decided? And finally little instances like these. The community really does not ask for a lot - we don't need flashy features, we just don't want things that are okay to be broken, is that so hard to ask? I hope you understand my viewpoint. I just hope you (or whoever is responsible for passing on feedback) really does their due diligence and takes the opinions here to heart and does what is required. --qedk (t 愛 c) 19:37, 7 May 2020 (UTC)
- User:QEDK, I believe that you will find that I have not claimed to be a mind reader. I started writing a longer explanation, but it's probably off topic for VPT, so if you're interested, then please drop by my user talk page in a few minutes. Whatamidoing (WMF) (talk) 21:54, 8 May 2020 (UTC)
- It astounds me that a major UI change was implemented with no apparent UI survey or testing in place. In my decades of involvement with software design and implementation, no company I've worked with would have done such a ham-handed job of making a glaring UI change. But then, the WMF has made it clear several times in the recent past that editors are taken for granted. Eggishorn (talk) (contrib) 19:38, 7 May 2020 (UTC)
- I'm not convinced that this is a "major" UI change. People who think changing one font in one place is a "major" change probably wants to get mw:Reading/Web/Desktop Improvements on their watchlists, because some moderate-to-major changes are planned for the coming year. Whatamidoing (WMF) (talk) 21:54, 8 May 2020 (UTC)
- And with that comment this just descended into complete unprofessionalism. It is never up to the developers in any competent software development organization to decide what is or is not a major change in UI. It neither should be up to en:wiki editors to be required to monitor meta for anything that affects their editing environment. To assert such is further evidence of WMF disconnect. I literally find monospaced fonts painfully difficult to read but my personal distress is not what I object to. It is the blasé assumption that that the WMF knows what is best without consultation. Eggishorn (talk) (contrib) 22:14, 8 May 2020 (UTC)
- Improvements for readers is different than improvements for editors; since there's no way to solicit most of the affected people, it's essential to rely on research, including A-B testing. I am also sympathetic to the argument that even for editors, there are a lot of features that are better designed through focus groups than community surveys. However choice of typeface is something text-based content creators have wanted over and over again, with everyone desiring a font that suits their own personal quirks. I can't imagine there is any research that editors using a monospaced font for editing would automatically attain a net benefit from a monospaced font over a sans-serif proportional font when viewing diffs. It's just too much of a personal choice. And unlike the interface for readers, where branding is an important factor, it plays no role for the diff viewer font. isaacl (talk) 23:17, 8 May 2020 (UTC)
- I'm not convinced that this is a "major" UI change. People who think changing one font in one place is a "major" change probably wants to get mw:Reading/Web/Desktop Improvements on their watchlists, because some moderate-to-major changes are planned for the coming year. Whatamidoing (WMF) (talk) 21:54, 8 May 2020 (UTC)
- It astounds me that a major UI change was implemented with no apparent UI survey or testing in place. In my decades of involvement with software design and implementation, no company I've worked with would have done such a ham-handed job of making a glaring UI change. But then, the WMF has made it clear several times in the recent past that editors are taken for granted. Eggishorn (talk) (contrib) 19:38, 7 May 2020 (UTC)
- (crossposting from User talk:Whatamidoing (WMF) I will give you a simple explanation - the more you believe that editors will simply be amenable to any change without doing your due diligence, the more editors you will lose. Everytime there is an misstep on the part of the Foundation, it is an erosion of confidence - and I do not understand why every change has to be justified! How easy is it to just fix the problem? Literally everytime, WP:FRAM, superprotect, you name it - it is absolutely insulting that user feedback is not respected. I'll tell you what - and this is what your eBay example did not cover, in a few weeks, people will finally learn to live with the new font, they will realize complaining is fruitless, but what they will remember is that they complained and no one cared. And the next time there is a misstep, this will be in their list of examples of why they don't think the WMF will do anything to resolve their issue. Take my word for it. --qedk (t 愛 c) 16:49, 9 May 2020 (UTC)
- FWIW, I think the change was quite reasonable, but the WMF did not handle the transition well. There should have been clear instructions on how to reverse the change posted right at the time of deployment. The unfortunate deploy-revert-redeploy also probably caused additional frustration. Style changes like this are always disruptive, even when they're positive changes, and efforts should be made to avoid messing up anyone's flow. --Yair rand (talk) 20:26, 7 May 2020 (UTC)
- @Yair rand: I did post instructions, not immediately it is true, but within half an hour of the change going live (25 minutes after, as far as I can determine). But if you read this thread from start to finish, it's surprising just how many participants clearly had not WP:READ what had already been posted and still asked for a fix even though I'd already done so. --Redrose64 🌹 (talk) 18:38, 8 May 2020 (UTC)
- I'm pretty sympathetic to the notion that there are some changes that should be done for the greater good even if there is a vocal dissenting minority. The typography refresh, for example, is something that benefited the large mass of anonymous Wikipedia readers. But if you look at any popular creation tool (such as integrated development environments) based around text, the user can customize the fonts used. If the initial release doesn't support this, I guarantee it'll be a top request. Back in the day, customizing an X11 configuration file was considered sufficient, but now people want to be able to do it more easily. It would have been desirable to invest the effort to allow the font used by the diff viewer to be configured, as it is for the edit area (I did forget how that was introduced). Yes, it would have meant some editors might have never learned how to configure the font to something more helpful for them, but they would have been no worse off than before. isaacl (talk) 22:53, 7 May 2020 (UTC)
- @Isaacl: IIUC, previously there was no way (other than direct editing of CSS) to specify a font for diffs, but this change made it so that the font for diffs is the same as the one chosen for the edit area, which can be customized at Special:Preferences#mw-prefsection-editing, and defaults to monospace. --Yair rand (talk) 00:12, 8 May 2020 (UTC)
- Yes, I know. Rather than assume all editors would be happy with tying them together, I feel it would be better to allow the font used for viewing diffs to be configured separately. isaacl (talk) 00:33, 8 May 2020 (UTC)
- @Isaacl: IIUC, previously there was no way (other than direct editing of CSS) to specify a font for diffs, but this change made it so that the font for diffs is the same as the one chosen for the edit area, which can be customized at Special:Preferences#mw-prefsection-editing, and defaults to monospace. --Yair rand (talk) 00:12, 8 May 2020 (UTC)
- Can we revert back to pre-2014 fonts/sizes and anything new should be done via RFC ? ... Not saying WMF etc are useless but time and time again thing's are changed and like 80-90% of the project doesn't like those changes ..... It's OUR eyes that are being tortured to death with these fonts so we should atleast get a say on what looks/is fine and what isn't. –Davey2010Talk 23:04, 7 May 2020 (UTC)
A wild Courier appears!
In all seriousness, is there a reason why when I view diffs they are suddenly in Courier (or some similar serif monospaced) font? I find this type of font very difficult to read. This started this weekend for me with no changes to my .js or .css pages. I'm using monobook, if that makes any difference. Did I miss a technical change? Eggishorn (talk) (contrib) 21:14, 6 May 2020 (UTC)
- Thank you, J947. So the answer is, yes, I did miss something. Thanks again. Eggishorn (talk) (contrib) 21:45, 6 May 2020 (UTC)
Thanks for this. I was wondering the same, and thought it was my browser. For those reading, the font is now controlled in "Edit area font style" in Special:Preferences#mw-prefsection-editing. Rehman 04:35, 7 May 2020 (UTC)
- Should we drop a link to this in CD or something so that other editors know? There should be wider notice of this change and its fix, I think. Eggishorn (talk) (contrib) 05:35, 7 May 2020 (UTC)
Template:atnhead archive link problem
I just archived a talk page: Wikipedia talk:WikiProject Assyria/Archive 4. At the top, where Template:atnhead tells you which archive number you're in as well as which archives come before and after in sequence, it does not show a red link for the next archive yet to be created (in this case, Wikipedia talk:WikiProject Assyria/Archive 5). Instead, it's a link to the same archive (Archive 4), so that it shows the current and next archive as the same. What did I do wrong here? --334a (talk) 21:31, 9 May 2020 (UTC)
- If in doubt, WP:PURGE. --Redrose64 🌹 (talk) 21:52, 9 May 2020 (UTC)
ImportScript
Hello.
As per the advice received from a fellow editor, I've just implemented a bit of code that will help me highlight any errors in referencing. It seems to have been successfully uploaded, but - as is recommended on the page where I put it - I thought that I'd check here and make certain that it's all kosher. Wouldn't want to compromise my account.
importScript('User:Svick/HarvErrors.js'); // Backlink: [[User:Svick/HarvErrors.js]]
Thanking you for your help in advance,
O.ominirabluejack (talk) 22:00, 9 May 2020 (UTC)
- Assuming that you mean User:O.ominirabluejack/common.js, that looks fine to me. --Redrose64 🌹 (talk) 22:15, 9 May 2020 (UTC)
- Please note, that when using "import" any changes that are made by the other person will apply to you as well. This can be good for bug-fixes, but bad if something breaking or disruptive were entered in there. You can just copy-and-paste the code from that page to avoid future changes. — xaosflux Talk 01:06, 10 May 2020 (UTC)
Phantom line breaks
I am having a hard time figuring out why there are a couple of line breaks at the bottom of The New American Poetry 1945–1960 (https://en.wikipedia.org/w/index.php?title=The_New_American_Poetry_1945%E2%80%931960&oldid=955271370). I figured it would be {{Schools of poetry}} having some stray line breaks in it but that's not it. (e.g. see the bottom of Dada, where it fits in nicely with navboxes above and below.) What am I missing here? How is this space here before the categories? Please {{ping}} me if you are smarter than I am and can figure out what's happening here. ―Justin (koavf)❤T☮C☺M☯ 22:05, 6 May 2020 (UTC)
- Fixed by removing a non-displayed character.[7] PrimeHunter (talk) 22:18, 6 May 2020 (UTC)
- PrimeHunter, What was this character? It's hard to search for it by its nature. How did you even find it? ―Justin (koavf)❤T☮C☺M☯ 22:48, 8 May 2020 (UTC)
- The right and left arrows in my Firefox often reveal there is something by not moving to the next visible character. I deleted it with backspace. Copy-paste to the "Characters" field at https://r12a.github.io/app-conversion/ and click "View in UniView" to see it's a thin space. PrimeHunter (talk) 23:20, 8 May 2020 (UTC)
- PrimeHunter, Hm. Any idea why thsp would make line breaks??? ―Justin (koavf)❤T☮C☺M☯ 02:06, 10 May 2020 (UTC)
- It was a combination with other things which apparently made it count as part of two blank lines which causes extra space in MediaWiki. The infobox is in a div.
- PrimeHunter, Hm. Any idea why thsp would make line breaks??? ―Justin (koavf)❤T☮C☺M☯ 02:06, 10 May 2020 (UTC)
- The right and left arrows in my Firefox often reveal there is something by not moving to the next visible character. I deleted it with backspace. Copy-paste to the "Characters" field at https://r12a.github.io/app-conversion/ and click "View in UniView" to see it's a thin space. PrimeHunter (talk) 23:20, 8 May 2020 (UTC)
- PrimeHunter, What was this character? It's hard to search for it by its nature. How did you even find it? ―Justin (koavf)❤T☮C☺M☯ 22:48, 8 May 2020 (UTC)
1. One div, newline, blank line after this.
2. One div, thin space, newline, blank line after this.
3. Two blank lines after this.
The second spacing above is far larger than the first and even a bit larger than the third for me. I don't know all the rules. Just be happy if something works.
Conditional table looks weired.
Hi,
Here is my template code for conditional row: https://gofile.io/?c=KfrrxS (code.jpg)
If I use both rows it looks good. As here: https://gofile.io/?c=KfrrxS (good.jpg)
But if I use one of them, it looks weired, as here: https://gofile.io/?c=KfrrxS (bad.jpg)
How to fix it?
PS. Sorry I could not post any file here and image here. So I gave link. Please help.
Farvardyn (talk) 15:01, 4 May 2020 (UTC)
- @Farvardyn: Post the code and calls as text so it can be tested. Your image is an unreadable mess of left-to-right and right-to-left text, and you don't even show any of the calls. Also say at which wiki the code runs. I guess it's not here when there is right-to-left text. And don't post the same question in multiple places. PrimeHunter (talk) 15:36, 4 May 2020 (UTC)
- @PrimeHunter: Here is the source code. This is on my own personal wiki. Photos are here: https://stackoverflow.com/questions/61595539/why-the-wiki-conditional-table-template-looks-weired
I highly appreciate your help. {| class="wikitable" {{#if:{{{boardgameclub1|}}}| {{!}}- ! boardgameclub {{!}} {{{boardgameclub1}}} {{!}} {{{boardgameclub2}}} }} {{#if:{{{boardgamecenter1|}}}| {{!}}- ! boardgame center {{!}} {{{boardgamecenter1}}} {{!}} {{{boardgamecenter2}}} }} |}
And here is the usage: {{Shop| boardgameclub1=value1| boardgameclub2=value2 }} PS. It seems code is not visible unless otherwise you click for `Edit` to see it! Also You can find it on StackOverflow link I gave above. — Preceding unsigned comment added by Farvardyn (talk • contribs) 15:52, 4 May 2020 (UTC)
Farvardyn (talk) 15:49, 4 May 2020 (UTC)
- @Farvardyn: Your code here has empty lines which aren't in your links. The problem goes away when I remove the empty lines here or copy your code from https://stackoverflow.com/questions/61595539/why-the-wiki-conditional-table-template-looks-weired. PrimeHunter (talk) 16:18, 4 May 2020 (UTC)
- @PrimeHunter: Thanks, it worked. What if I want to do use (IF A & B both are empty) or not set? How this if clause should look like?
- @Farvardyn:
{{#if:{{{A|}}}{{{B|}}}|At least one of A and B is set|A and B are both empty or not set}}
PrimeHunter (talk) 17:15, 4 May 2020 (UTC)
- @Farvardyn:
- @PrimeHunter: Thanks, it worked. What if I want to do use (IF A & B both are empty) or not set? How this if clause should look like?
- @PrimeHunter: Sorry, it still is not working when I tried to add some more options to the code. I updated Stackoverflow with my full code as here: https://stackoverflow.com/questions/61595539/why-the-wiki-conditional-table-template-looks-weired why it is happening again? Isn't it a bug in this feature? I highly appreciate if you look in my updated code there.
Farvardyn (talk) 06:15, 5 May 2020 (UTC)
- @Farvardyn: You have a newline between each
if
and they add up to blank lines. Start the nextif
on the same line the last ended like}}{{#if:
. PrimeHunter (talk) 11:15, 5 May 2020 (UTC)
- @Farvardyn: You have a newline between each
- @PrimeHunter: I tried that approach too and still not working properly! I updated source code here: https://stackoverflow.com/questions/61595539/why-the-wiki-conditional-table-template-looks-weired I appreciate if you check it. Isn't there a bug? Farvardyn (talk) 13:41, 5 May 2020 (UTC)
- @Farvardyn: Your code works for me:
- @PrimeHunter: I tried that approach too and still not working properly! I updated source code here: https://stackoverflow.com/questions/61595539/why-the-wiki-conditional-table-template-looks-weired I appreciate if you check it. Isn't there a bug? Farvardyn (talk) 13:41, 5 May 2020 (UTC)
بوردگیم کلاب | value1 | value2 |
---|
- User:PrimeHunter/sandbox9 is copied exactly from https://stackoverflow.com/questions/61595539/why-the-wiki-conditional-table-template-looks-weired and I also copied your call exactly. PrimeHunter (talk) 14:05, 5 May 2020 (UTC)
- @PrimeHunter: Sorry, I meant if I am calling more than one item it looks weird. Please try this call as it looks bad for me.
{{Shop|bazikade1=value1|bazikade2=value2|bazinovin1=value1|bazinovin2=value2|boardboard1=value1|boardboard2=value2}}
Please see this:
بازیکده | value1 | value2 |
---|---|---|
بازی نوین | value1 | value2 |
بردبرد | value1 | value2 |
Why it looks just in one row, instead of row by row? I appreciate your help. Thanks again. Farvardyn (talk) 05:53, 6 May 2020 (UTC)
- @Farvardyn: Whitespace is stripped from the beginning and end of parser function parameters. MediaWiki requires some table code to be at the start of a line so I have added non-displayed code (I chose nowiki) before newlines we don't want stripped.[8] PrimeHunter (talk) 11:14, 6 May 2020 (UTC)
- @PrimeHunter: Thanks a lot, May I ask to help for this problem to: https://stackoverflow.com/questions/61636062/why-pf-thubnails-cause-page-bad-looking
Sorry not directly here as I cannot upload screenshot and the code looks bad here. I highly appreciate your help. Farvardyn (talk) 13:22, 6 May 2020 (UTC)
- @Farvardyn: Special:Version does not show CommentStreams so mw:Extension:CommentStreams is not installed here. I don't know the extension. This page is actually only for Wikipedia and occasionally other Wikimedia wikis so the whole discussion is off topic. The top of the page says: "Questions about MediaWiki in general should be posted at the MediaWiki support desk." PrimeHunter (talk) 19:11, 6 May 2020 (UTC)
- @PrimeHunter: How can I install sandbox like here in my mediawiki? Does it have a particular extension? Farvardyn (talk) 11:09, 10 May 2020 (UTC)
- @Farvardyn: I already linked Special:Version which shows three different sandbox features here: LuaSandbox, TemplateSandbox, SandboxLink. In most browsers you can search a page for a string with Ctrl+f. If you refer to User:PrimeHunter/sandbox9 then it's just an arbitrarily chosen page name and not a special sandbox feature. PrimeHunter (talk) 11:21, 10 May 2020 (UTC)
- @PrimeHunter: How can I install sandbox like here in my mediawiki? Does it have a particular extension? Farvardyn (talk) 11:09, 10 May 2020 (UTC)
Bug when creating new sections
This has been bothering me for a some time now, hence I thought it is maybe time to post here. Do this:
- Open any talkpage in a new tab or window (I've experienced this at Module talk:Mapframe last, but this page works too)
- Click start a new section
- Type something in the "Subject/headline"
- Type something in the edit window.
- Now, from the dropdown at the bottom, select "Wiki markup" and click on the
<code></code>
or anything else.
Why does the text end up in the "subject/headline box? It is extremely frustrating if you often work with templates/codes. Please tell me this isn't only me. Rehman 10:08, 10 May 2020 (UTC)
- It doesn't happen to me in Firefox. What is your browser? Is the typing cursor still in the edit area when it happens? For me, it inserts where the typing cursor is, or where it last was if it isn't in any of the fields. PrimeHunter (talk) 10:28, 10 May 2020 (UTC)
- I'm using Chrome 81.0.4044.138 (64-bit). The cursor is active in the edit Window - I can even type there, but clicking those codes always adds the text to the subject line. This happens only when #3 is followed though. If you head straight to the edit box, this doesn't happen. I have a bunch of extra elements enabled in Gadgets, but I don't know if one of them is causing this... Rehman 12:10, 10 May 2020 (UTC)
- It doesn't happen to me in the same Chrome version. Does it happen in safemode or if you log out? safemode doesn't run gadgets or other local scripts. PrimeHunter (talk) 12:18, 10 May 2020 (UTC)
- safemode also disables the insert feature so ignore that part of the question. PrimeHunter (talk) 12:20, 10 May 2020 (UTC)
- Yep safemode disables that part. Running in incognito (i.e. logged out), the issue isn't there. So probably one of those gadgets is causing this. Only if I know how to figure that out... Rehman 12:34, 10 May 2020 (UTC)
- wikEd does it (also in Firefox): User talk:Cacycle/wikEd#CharInsert doesn't work with wikEd. PrimeHunter (talk) 12:50, 10 May 2020 (UTC)
- I don't have that enabled, but after spotting the phrase Syntax highlighting on that page, I spot the culprit. This is caused by the default syntax highlighter (the pen icon, next to "Advanced", on the top toolbar). Can you retry and confirm if this happens to you with that on? I'd like to file a bug report if so... Rehman 12:57, 10 May 2020 (UTC)
- Yes, that also does it for me. The conflicting features are mw:Extension:CodeMirror and mw:Extension:CharInsert. PrimeHunter (talk) 13:38, 10 May 2020 (UTC)
- It doesn't happen for me at meta: but it does happen at de: so local factors may also play a role. PrimeHunter (talk) 13:46, 10 May 2020 (UTC)
- Thanks for helping pinpoint the cause of this issue, PrimeHunter. I have checked Commons, and it doesn't happen there as well. I will go ahead and file a bug report. Cheers, Rehman 14:35, 10 May 2020 (UTC)
- It doesn't happen for me at meta: but it does happen at de: so local factors may also play a role. PrimeHunter (talk) 13:46, 10 May 2020 (UTC)
- Yes, that also does it for me. The conflicting features are mw:Extension:CodeMirror and mw:Extension:CharInsert. PrimeHunter (talk) 13:38, 10 May 2020 (UTC)
- I don't have that enabled, but after spotting the phrase Syntax highlighting on that page, I spot the culprit. This is caused by the default syntax highlighter (the pen icon, next to "Advanced", on the top toolbar). Can you retry and confirm if this happens to you with that on? I'd like to file a bug report if so... Rehman 12:57, 10 May 2020 (UTC)
- wikEd does it (also in Firefox): User talk:Cacycle/wikEd#CharInsert doesn't work with wikEd. PrimeHunter (talk) 12:50, 10 May 2020 (UTC)
- Yep safemode disables that part. Running in incognito (i.e. logged out), the issue isn't there. So probably one of those gadgets is causing this. Only if I know how to figure that out... Rehman 12:34, 10 May 2020 (UTC)
- I'm using Chrome 81.0.4044.138 (64-bit). The cursor is active in the edit Window - I can even type there, but clicking those codes always adds the text to the subject line. This happens only when #3 is followed though. If you head straight to the edit box, this doesn't happen. I have a bunch of extra elements enabled in Gadgets, but I don't know if one of them is causing this... Rehman 12:10, 10 May 2020 (UTC)
Debug please
Can anyone help me check the code of User:Eumat114/deCOInote.js? The script does not seem to run properly. It aims to edit a user page and send a message to that user. Thanks in advance, Eumat114 formerly TLOM (Message) 12:01, 10 May 2020 (UTC)
- Without looking too deeply, I can say that
get_page
andset_new
aren't functions, you have to define them. They seem to come from DannyS712's User:DannyS712/De-Stub.js, also present in your local copy at User:Eumat114/deCOI.js. ~ Amory (u • t • c) 16:35, 10 May 2020 (UTC)
Graph module update (relevant for Graph:Chart template)
Hi, I made some updates to Module:Graph for detail see module sandbox and Template_talk:Graph:Chart#Symbols and line-widths upgrade Please test and let me know if you like it. --Pietrasagh (talk) 20:10, 10 May 2020 (UTC)
GA stats
Hi all. I would like to pull some stats for Good Article nominations and was hoping someone watching here would know an easier way to do it. Currently I am just importing into excel and using formulas to drag the info I need across. From 19 September 2010 a bot has been updating the WP:GAN page. So we have some pretty consistent edit summaries to follow since then. I was hoping there was a way to pull the information presented in the edit summaries out and put it in an excel spreadsheet. For example if we look at this revision history (screenshot to the right) we have GA Bot leaving edit summaries like:
- New: Hannah Banana (Theatre, film, and drama)
- On hold: Bianca Jackson by CountdownCrispy
- On review: Ho Chi Minh City by ??? ??? must be an unknown editor
- Failed: Party in the U.S.A. On review: Platinum by Jezhotwells
- Passed: Great Fire of New York (1776) On hold: Platinum by Jezhotwells
- Passed: Günther Specht On review: Émile Bouchard by Leech44 2nd opinion: French ironclad Armide by Dank
Often the edit summary is for one article, but sometimes it is for multiple ones. At the start there is a bit of interference from non-bot editors, but that becomes less as editors got used to the new system. The bot itself changed and is now called legobot. The edit summaries are pretty consistent though (see this for latest history revision). I believe all the possible options are presented above (New, On hold, On review, Failed, Passed, 2nd opinion).
- New corresponds to when the article was nominated.
- On review and On hold should be treated as review date (some editors use on review and then go to hold, some don't hold at all and others hold without putting it on review).
- Failed and Passed are pretty self explanatory. It is possible for an editor to pass or fail an article without putting it on review, but this is rare.
- 2nd Opinion doesn't happen very often and while it may be interesting is not really as important as the others.
What I am hoping to do is to sort the info into a table. For example I would like to end up with something like this.
Article | Cagtegory | Reviewer | Review Date | Nominator | Nomination Date | Passed | Failed |
---|---|---|---|---|---|---|---|
1757 Hajj caravan raid | Warfare | Gog the Mild | 14/11/2018 | 13/11/2018 | 14/01/2019 | ||
2001 Motorola 220 | Sports and recreation | Kpgjhpjm | 20/12/2018 | 19/12/2018 | 01/01/2019 |
Unfortunately the bot doesn't record the nominator in the edit summaries, I am going to have to figure out another way to do that. I am happy to do the heavy lifting, but was hoping someone more technically minded can suggest better tools, methods or might even have a bot capable of extracting the info. There are a lot of revisions ~30 a day, so a 500 revision page covers roughly 2 weeks. AIRcorn (talk) 22:29, 10 May 2020 (UTC)
Color contrast
About a week ago, I was playing around with color contrast options on some "preference" page. I made a change, but it's too bright. I want to revert back to the default, but I can't locate the page where I had the options to change color contrast. Thanks for your help. --Rosiestep (talk) 05:56, 7 May 2020 (UTC)
- @Rosiestep: It sounds like a browser feature and not us. Does it happen if you log out? If so then try searching Google for
color contrast
and your browser name, or post to Wikipedia:Reference desk/Computing with the browser name. PrimeHunter (talk) 11:25, 7 May 2020 (UTC)- Thank you, PrimeHunter! You are right; it was on my MacBook Air. Resolved now. --Rosiestep (talk) 15:59, 7 May 2020 (UTC)
- Hey, Rosie, great to see you here. Hope you're doing OK. Best, Nick Moyes (talk) 23:01, 10 May 2020 (UTC)
- Thanks for the ping, @Nick. Yes, am doing okay, and hope the same for you. --Rosiestep (talk) 23:05, 10 May 2020 (UTC)
- Hey, Rosie, great to see you here. Hope you're doing OK. Best, Nick Moyes (talk) 23:01, 10 May 2020 (UTC)
- Thank you, PrimeHunter! You are right; it was on my MacBook Air. Resolved now. --Rosiestep (talk) 15:59, 7 May 2020 (UTC)
Stacked toggle buttons in the medical cases chart template
I am posting my concern at the talk page for the medical cases chart template here because traffic there seems to be lesser than other highly visible noticeboards. Someone seems to have messed up with the code. As a result, the toggle buttons appear to be stacked, whereas they are supposed to appear in a single row. This is quite concerning because the template is being transcluded in so many templates that display the chart of COVID-19 cases in several countries and other localities. LSGH (talk) (contributions) 17:17, 10 May 2020 (UTC)
- This problem appears only in some charts. Ruslik_Zero 18:51, 10 May 2020 (UTC)
- Looks like it has been fixed already. Some sort of code tweaking had happened there. LSGH (talk) (contributions) 10:02, 11 May 2020 (UTC)
Changes to MediaWiki:Gadget-UTCLiveClock.js
There was a request (see Wikipedia talk:Gadget#UTC time gadget) to add functionality to this gadget (MediaWiki:Gadget-UTCLiveClock.js) to allow users to specify another timezone to use. Enwiki's gadget simply imports the current version on mediawiki.org (mw:MediaWiki:Gadget-UTCLiveClock.js), so I thought I should cross-post here for feedback before proceeding with adding the new functionality. Please discuss at Wikipedia:Code review/UTCLiveClock. Thanks, --DannyS712 (talk) 10:28, 11 May 2020 (UTC)
overriding mini-headlines from infoboxes
This article, Willys M38, has an infobox that is generating one of those "mini-summary" lines, referred to as "title description" in my iOS client. This similar article, M151 ¼-ton 4×4 utility truck, uses the automobile infobox rather than weapon, and does not generate such a title, although I see one on-screen in the iOS client.
I'd like to edit both of these descriptions. How do I do that through my desktop browser in both cases - they appear to use different mechanisms, neither of which is either obvious or immediately visible. Maury Markowitz (talk) 11:51, 11 May 2020 (UTC)
- Template:Infobox weapon says: "This template adds an automatically generated short description." You can make another with {{short description}}. M151 ¼-ton 4×4 utility truck gets it from Wikidata. Click "Wikidata item" under "Tools" in the left pane to see it. It can be overridden at the English Wikipedia with {{short description}}. PrimeHunter (talk) 12:36, 11 May 2020 (UTC)
- The article Willys M38 has the short description "Type of 1⁄4 short ton (230 kg)?'"`UNIQ--ref-00000001-QINU`"'? 4x4 Utility truck". I think strip marker is because
|type=
in the infobox template includes a note. — Jts1882 | talk 12:54, 11 May 2020 (UTC)
- The article Willys M38 has the short description "Type of 1⁄4 short ton (230 kg)?'"`UNIQ--ref-00000001-QINU`"'? 4x4 Utility truck". I think strip marker is because
Dispute Resolution Notice Board
We do not have a "References" section at the bottom of the page, so when editors file a DRN it shows up as part of the last DRN filed. Can this be corrected so it does not look like it is part of the DRN? If you look at the bottom of Wikipedia:Dispute_resolution_noticeboard you will see what I mean. Thanks for looking into this. Galendalia CVU Member \ Chat Me Up 09:00, 11 May 2020 (UTC)
- The better solution is somewhat simpler: [9]. --Francis Schonken (talk) 09:08, 11 May 2020 (UTC)
- I thought something was up Francis Schonken when I noticed it completely disappeared from the bottom of the page lol. Thanks. It looks much better!!!! Courtesy ping @Robert McClenon: - Robert if you look at the discussion psych the references are now listed at the bottom of that thread. I like it much better and I believe they will archive with the thread if I am not mistaken? Galendalia CVU Member \ Chat Me Up 09:22, 11 May 2020 (UTC)
- Yes, it will archive with the thread – that's why this is a better approach than creating a references section at the bottom of the page. --Francis Schonken (talk) 09:27, 11 May 2020 (UTC)
- User:Francis Schonken - Thank you. As I was explaining to User:Galendalia, having the footnotes show up at the bottom of the last discussion on the noticeboard was a misfeature, not a bug. It was working as designed, and I didn't feel like adding the reflist manually. Thank you. Robert McClenon (talk) 17:15, 11 May 2020 (UTC)
- Yes, it will archive with the thread – that's why this is a better approach than creating a references section at the bottom of the page. --Francis Schonken (talk) 09:27, 11 May 2020 (UTC)
- I thought something was up Francis Schonken when I noticed it completely disappeared from the bottom of the page lol. Thanks. It looks much better!!!! Courtesy ping @Robert McClenon: - Robert if you look at the discussion psych the references are now listed at the bottom of that thread. I like it much better and I believe they will archive with the thread if I am not mistaken? Galendalia CVU Member \ Chat Me Up 09:22, 11 May 2020 (UTC)
User rights issue
I have recently enabled the gadget Twinkle in my User Preferences page. I don't have the rollback right in English wiki (my rights). I would like to know why I have options to rollback when viewing the Revision History of articles. File:Revision History.JPG shows that I have 3 buttons enabled related to rollback. This was one such edit done by me. Adithyak1997 (talk) 11:01, 11 May 2020 (UTC)
- Hi@Adithyak1997: every user gets those links. When you have rollback rights you get additional links as well and it allows you to use programs like Huggle. I hope this helps. When you have questions like this you can go to the Teahouse and someone is always in there to answer questions. Galendalia CVU Member \ Chat Me Up 11:16, 11 May 2020 (UTC)
- See more at Wikipedia:Rollback. PrimeHunter (talk) 11:26, 11 May 2020 (UTC)
- Twinkle's "rollback" feature is not the same as true WP:ROLLBACK. For a start, Twinkle doesn't need you to have the rollback right (as you noticed). Second, your edit shows "(Tag: Undo)" - a true rollback would show "(Tag: Rollback)" instead. --Redrose64 🌹 (talk) 18:03, 11 May 2020 (UTC)
Bot issues
Who handles bot issues if the editor has seemed to vanish? Galendalia CVU Member \ Chat Me Up 11:21, 11 May 2020 (UTC) DRN bot is not properly updating the templates it stopped around the middle of March and attempts to reach the creator have failed and their talk page is filled with questions not answered. Thanks again Galendalia CVU Member \ Chat Me Up 11:21, 11 May 2020 (UTC)
- If it's malfunctioning and doing something disruptive, you should open a thread at WP:ANI. You can also ask at WP:BOTREQ if someone wants to take over. – Majavah (t/c) 11:42, 11 May 2020 (UTC)
- Or WP:BON. --Redrose64 🌹 (talk) 18:04, 11 May 2020 (UTC)
- BON is fine if the bot is actually doing something wrong - if it is simply not making contributions the only place to go is to its operator's talk page - if they are also inactive in most cases no one else is going to make their bot do anything. — xaosflux Talk 18:12, 11 May 2020 (UTC)
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
- Everyone can now import photos from Flickr to Commons with the UploadWizard. Before this only autopatrollers on Commons could import photos from Flickr. [10]
Problems
- Commons will be on read-only for a few minutes on 12 May. This will happen around 05:00 UTC. This is for database maintenance. [11]
- Several wikis including Wikidata will be on read-only for a few minutes on 19 May. This will happen around 05:00 UTC. English Wikipedia will be on read-only for a few minutes on 21 May 05:00 UTC. This is for database maintenance. [12][13]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 12 May. It will be on non-Wikipedia wikis and some Wikipedias from 13 May. It will be on all wikis from 14 May (calendar).
Future changes
- JavaScript scripts and gadgets can no longer check multiple keys at once via
mw.config.exists()
ormw.user.tokens.exists()
. You can useexists()
orget()
to check one at a time instead. [14]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
20:40, 11 May 2020 (UTC)
Graphs moving to client-side rendering
For those who may not watch Template talk:Graph:Chart, I wanted to make sure that everyone is aware of a post I've made on this subject over there. Thanks for your time. Keegan (WMF) (talk) 20:45, 11 May 2020 (UTC)
Can't edit the module or TemplateStyle page
I have a problem bothered me just know. When I start to edit a Lua module, it doesn't load the editor, just redirect to view mode instead, and the problem also affect a TemplateStyles. I used Firefox 68.8 for Android, and I used User-Agent Switcher and Manager to switch desktop and mobile modes, however both two modes got the same problem. Anyone know have an idea as to why this is happening? --Great Brightstar (talk) 16:33, 10 May 2020 (UTC)
- Oh I just installed Kiwi Browser Quadea, than I found all editors works for me even if I edit these pages, however while I switched back to Firefox, the problem happen to me again, no any warning or notice for me. --Great Brightstar (talk) 10:47, 12 May 2020 (UTC)
Add option filter data in tables
An option to filter data in table like spreadsheet will be useful — Preceding unsigned comment added by Sivakumar1605 (talk • contribs) 09:06, 12 May 2020 (UTC)
- @Sivakumar1605: it would be useful, but this is not currently technically possible. There is an open phabricator task (phab:T238309) to add it, but it hasn't seen much discussion there and the only technical respondent so far was unconvinced of the need. It has remained prioritised since November 2019. If you or anyone else knows of any previous discussion about this idea on-wiki it would be useful to link to it. Thryduulf (talk) 10:03, 12 May 2020 (UTC)
- Writing a gadget that would do this sounds like a good challenge for anyone who wants to practice their Javascript. Maybe you could find someone to write it by posting at Wikipedia:Village pump (technical), which I would guess is where people who are into that sort of thing hang out. Phil Bridger (talk) 11:43, 12 May 2020 (UTC)
- @Sivakumar1605 and Phil Bridger: I've moved this discussion here (to the technical village pump) where it is a better fit. Thryduulf (talk) 13:33, 12 May 2020 (UTC)
Can't log in (to arwiki)
I know this is not the arWP, but I don't speak Arabic...
Maybe someone can help me, I can not log in to ar.wikipedia.org. Does someone else have the same problem or should I open a ticket on phabricator? --Killarnee (T•1•2) 20:44, 10 May 2020 (UTC)
- Works for me. Try to log out here and delete your wikipedia.org and wikimedia.org cookies, or try another browser or computer. Post your browser if you want cookie deletion help. You can also delete all your cookies if you are willing to delete cookies for other sites. PrimeHunter (talk) 09:08, 11 May 2020 (UTC)
- I use Safari 13.1.1. I tried again and I got a message that the automatic account creation does not work because my name is blacklisted. I have now asked on arWP in the village pump if anyone can change this. --Killarnee (T•1•2) 15:51, 11 May 2020 (UTC)
- @Killarnee: you are probably hitting an entry in w:ar:MediaWiki:Titleblacklist, one of the arwiki admins should be able to help you with that, either by at least temporarily whitelisting you or by adjusting the blacklist. — xaosflux Talk 16:13, 11 May 2020 (UTC)
- Thanks, I have already asked in the ar village pump whether an admin can change this: w:ar:ويكيبيديا:الميدان/منوعات#Can’t_log_in But I don't know what's so bad about my name... --Killarnee (T•1•2) 16:19, 11 May 2020 (UTC)
- @Killarnee: you can let their admins know that they are blocking you based on their w:ar:Special:Abusefilter/89 rule. — xaosflux Talk 16:53, 11 May 2020 (UTC)
- @Dr-Taher: who may be able to help. — xaosflux Talk 16:54, 11 May 2020 (UTC)
I don't know what's so bad about my name
- perhaps it's the first four letters. --Redrose64 🌹 (talk) 18:10, 11 May 2020 (UTC)
- @Killarnee: you can let their admins know that they are blocking you based on their w:ar:Special:Abusefilter/89 rule. — xaosflux Talk 16:53, 11 May 2020 (UTC)
- Thanks, I have already asked in the ar village pump whether an admin can change this: w:ar:ويكيبيديا:الميدان/منوعات#Can’t_log_in But I don't know what's so bad about my name... --Killarnee (T•1•2) 16:19, 11 May 2020 (UTC)
- @Killarnee: you are probably hitting an entry in w:ar:MediaWiki:Titleblacklist, one of the arwiki admins should be able to help you with that, either by at least temporarily whitelisting you or by adjusting the blacklist. — xaosflux Talk 16:13, 11 May 2020 (UTC)
- I use Safari 13.1.1. I tried again and I got a message that the automatic account creation does not work because my name is blacklisted. I have now asked on arWP in the village pump if anyone can change this. --Killarnee (T•1•2) 15:51, 11 May 2020 (UTC)
- @Killarnee: arwiki admins updated their list, try again? — xaosflux Talk 18:23, 11 May 2020 (UTC)
- Yes, it worked now, thanks for the help. And no, I don't want to kill anyone, my name is from Killarney National Park 😅 --Killarnee (T•1•2) 18:36, 11 May 2020 (UTC)
- @Xaosflux: Addendum: It still doesn't work. I can log in, but as soon as I want to edit a page I get the message: منع أسماء المستخدمين غير المقبولة من التحرير --Killarnee (T•1•2) 18:50, 11 May 2020 (UTC)
- @Killarnee: they are still blocking you, I left a note at w:ar:ويكيبيديا:الميدان/منوعات#Can’t_log_in. — xaosflux Talk 19:30, 11 May 2020 (UTC)
- @Xaosflux: Addendum: It still doesn't work. I can log in, but as soon as I want to edit a page I get the message: منع أسماء المستخدمين غير المقبولة من التحرير --Killarnee (T•1•2) 18:50, 11 May 2020 (UTC)
- Yes, it worked now, thanks for the help. And no, I don't want to kill anyone, my name is from Killarney National Park 😅 --Killarnee (T•1•2) 18:36, 11 May 2020 (UTC)
- Thanks @Xaosflux: for mention. @Killarnee: The problem is that, the first four letters of your name "kill" is in the black list. I will try to modify the abusefilter for you.--Dr-Taher (talk) 02:21, 12 May 2020 (UTC)
- @Killarnee:, Everything should be OK now, our friend "علاء" has updated the filter. If there is any problem please tell me. Thanks. --Dr-Taher (talk) 03:56, 12 May 2020 (UTC)
- Yes, the problem has already been solved. But thanks anyway. --Killarnee (T•1•2) 13:51, 12 May 2020 (UTC)
- @Killarnee:, Everything should be OK now, our friend "علاء" has updated the filter. If there is any problem please tell me. Thanks. --Dr-Taher (talk) 03:56, 12 May 2020 (UTC)
Jobqueue cache
Does anyone have any idea why Category:Redirects from fictional characters seems so reluctant to even start to automatically empty (it's been renamed by CFD) despite Template:R from fictional character being amended three days ago? Timrollpickering (talk) 22:48, 11 May 2020 (UTC)
- Template-populated categories are often very slow to update after template edits. The categories displayed on the pages are often updated far faster than the category pages. I examined 10 pages in Category:Redirects from fictional characters and they all showed the new name Category:All fictional character redirects. A purge of a page only updates which categories are displayed on the page itself. A null edit also updates link tables so the category page will be updated immediately. It appears the job queue only does purges at first in many cases. Google's cache shows 38,199 pages 8 May. There were around 33,000 when you posted and 31,995 now (dropped 100 while I wrote this) so it has started emptying. The new name currently says 6,207 pages. We could speed it up with 32,000 null edits but I see no need to burden the servers with that. Help:Job queue#Updating links tables when a template changes and mw:Manual:Job queue#Updating links tables when a template changes give the impression link tables are updated at the same time as the pages themselves but that seems wrong. PrimeHunter (talk) 10:28, 12 May 2020 (UTC)
- I have added a link to a feature request that is at least five years old. But hey, we got a new diff font that everybody loves! – Jonesey95 (talk) 14:27, 12 May 2020 (UTC)
- They changed the way that the job queue works in July 2013 (see Null edits; Job queue / Updating links tables when a template changes; page showing cat when cat does not show page; updating categories). Previously, a change to a template would propagate to transcluding pages and onward to category pages within an hour or so; since then, it can take days or even weeks. --Redrose64 🌹 (talk) 15:16, 12 May 2020 (UTC)
- I have added a link to a feature request that is at least five years old. But hey, we got a new diff font that everybody loves! – Jonesey95 (talk) 14:27, 12 May 2020 (UTC)
VE choke
I'm working on improving a table in this sandbox, with the intention of placing it in this article:List of mountains of New Hampshire
I want to finish fixing the references, but visual editor chokes and won't run. I thought it might be a temporary glitch but it failed yesterday and still fails. It's 48k, but I've used VE on larger articles.
Any thoughts on why it chokes?--S Philbrick(Talk) 15:25, 11 May 2020 (UTC)
- @Sphilbrick: It seems to be working for me, but saving does take a while. I also ran my reference expander script on the page at User:BrandonXLF/C for testing of the script and I thought the page might be useful for you.– BrandonXLF (talk) 01:25, 12 May 2020 (UTC)
- BrandonXLF, I tried again and failed. I've had some computer issues (though I think they are wifi related, and I'm directly connected) so I tried a speed check and have 450 mps, so it isn't that. Thanks for running the reference expander script, that's exactly what I wanted to do. Can I install that myself? S Philbrick(Talk) 12:05, 12 May 2020 (UTC)
- Sphilbrick, it acting up a little for me too. You can access the old wikitext editor by adding ?action=submit to the end of a page URL for example, https://en.wikipedia.org/wiki/User:Sphilbrick/Mountains_of_New_Hampshire_table?action=submit. I've made my script available at User:BrandonXLF/ReferenceExpander. – BrandonXLF (talk) 18:59, 12 May 2020 (UTC)
- BrandonXLF, If I follow, adding "?action=submit" brings up the old editor, which I use extensively. I like VE for converting bare url's, and for working with tables. although maybe I won't need the convert functionality after installing your script. Thanks for pointing me to it. S Philbrick(Talk) 20:44, 12 May 2020 (UTC)
- Sphilbrick, I wasn't sure if you used the new VE code editor or old code editor. I'm now unable to edit your sandbox using VE and I am also having issues with the VE code editor. I'm now facing an issue when using the VE to edit your sandbox, the REST API is returning a 500 error when the VE tries to access https://en.wikipedia.org/api/rest_v1/page/html/User%3ASphilbrick%2FMountains_of_New_Hampshire_table?redirect=false&stash=true:
{"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"get","uri":"/en.wikipedia.org/v1/page/html/User%3ASphilbrick%2FMountains_of_New_Hampshire_table"}
- This happens when I'm just starting the VE. I created a phabricator ticket at phab:T252598, I think it has to do with the large table on the page. – BrandonXLF (talk) 21:08, 12 May 2020 (UTC)
- BrandonXLF, Thanks for creating the ticket. On the one hand, it's not a small table, but I'm fairly certain I've seen many much larger. For example, I've recently worked on Honda Sports Award, which is larger in the aggregate. It is made up of smaller individual tables, which may be relevant, although VE doesn't open sections, it open the whole thing.S Philbrick(Talk) 00:30, 13 May 2020 (UTC)
- BrandonXLF, If I follow, adding "?action=submit" brings up the old editor, which I use extensively. I like VE for converting bare url's, and for working with tables. although maybe I won't need the convert functionality after installing your script. Thanks for pointing me to it. S Philbrick(Talk) 20:44, 12 May 2020 (UTC)
- Sphilbrick, it acting up a little for me too. You can access the old wikitext editor by adding ?action=submit to the end of a page URL for example, https://en.wikipedia.org/wiki/User:Sphilbrick/Mountains_of_New_Hampshire_table?action=submit. I've made my script available at User:BrandonXLF/ReferenceExpander. – BrandonXLF (talk) 18:59, 12 May 2020 (UTC)
- BrandonXLF, I tried again and failed. I've had some computer issues (though I think they are wifi related, and I'm directly connected) so I tried a speed check and have 450 mps, so it isn't that. Thanks for running the reference expander script, that's exactly what I wanted to do. Can I install that myself? S Philbrick(Talk) 12:05, 12 May 2020 (UTC)
Template not showing up in Category:Wikipedia non-free file copyright templates
OK, I'm racking my head here. I created Template:Non-free destroyed architecture today and added Category:Wikipedia non-free file copyright templates to Template:Non-free destroyed architecture/doc, which is transcluded in the main template. Looking at Template:Non-free destroyed architecture, you can see that it is in Category:Wikipedia non-free file copyright templates at the bottom of the page. However, when you go to the category page the template is not listed. I've tried purging the cache multiple times, still no luck. What's up? -- King of ♥ ♦ ♣ ♠ 02:53, 13 May 2020 (UTC)
- King of Hearts, it's there under the "A" section, not sure if it was there before or if my WP:NULLEDIT to Template:Non-free destroyed architecture forced the category to update. – BrandonXLF (talk) 03:01, 13 May 2020 (UTC)
- Ah, perfect, thanks! Looks I learned something new today, null edit != purge. -- King of ♥ ♦ ♣ ♠ 03:03, 13 May 2020 (UTC)
- Yes, a null edit remakes the whole page (including the table entries relating to outward links) whereas a purge merely freshens the display on that particular page. So if you amend a transcluded page (such as a template's doc) it's desirable to null edit the pages transcluding that page (such as the parent template). --Redrose64 🌹 (talk) 08:50, 13 May 2020 (UTC)
- Ah, perfect, thanks! Looks I learned something new today, null edit != purge. -- King of ♥ ♦ ♣ ♠ 03:03, 13 May 2020 (UTC)
Wrong Fabric? WikiMedia Foundation Errors, May 2020
Are Wikimedia Foundation Errors supposed to go to the Phabricators? Are there systems programmers who've looked at previously reported errors?
As of this moment, for the first time in my over six months of seeing these problems, I'm getting this on TWO edits.
Below, interleaved, are a list for passing to the appropriate parties, who can presumably change/rollback whatever system parameter(s) may be causing this.
The articles I'm editing are
The errors occurs when trying to save.
The heading on the error messages is:
- Wikimedia Foundation Error
- Our servers are currently under maintenance or experiencing a technical problem. Please try again in a few minutes.
- See the error message at the bottom of this page for more information.
- If you report this error to the Wikimedia System Administrators, please include the details below.
- Request from (Redacted) via cp1087 frontend, Varnish XID 6238131
Error: 503, Backend fetch failed at Tue, 12 May 2020 00:38:57 GMT
- Request from (Redacted) via cp1087 frontend, Varnish XID 22255412
Error: 503, Backend fetch failed at Tue, 12 May 2020 00:39:14 GMT
- Request from (Redacted) via cp1087 frontend, Varnish XID 18834531
Error: 503, Backend fetch failed at Tue, 12 May 2020 01:04:12 GMT
- Request from (Redacted) via cp1087 frontend, Varnish XID 23617505
Error: 503, Backend fetch failed at Tue, 12 May 2020 01:03:44 GMT
- Request from (Redacted) via cp1087 frontend, Varnish XID 23710071
Error: 503, Backend fetch failed at Tue, 12 May 2020 01:05:28 GMT
- Request from (Redacted) via cp1087 frontend, Varnish XID 6238131
Thanks in advance for forwarding to a systems programmer, to at least look into an error log regarding the above. Pi314m (talk) 02:03, 12 May 2020 (UTC)
- @Pi314m: Are you still seeing the errors? It's possible that they showed up because of some maintenance work that might be happening. They usually go away in a little bit. -- NKohli (WMF) (talk) 05:34, 12 May 2020 (UTC)
There was a note on Commons stating that a server is being restarted (or something like that) from UTC 05:00 to 05:30 today, and it did say things will become read-only during this time. Could be related. Rehman 05:46, 12 May 2020 (UTC)
- The errors haven't totally gone away, but in the past 48 hours none of them have been as persistant. One or perhaps two clicks on RETRY
seem to get edits saved. For now, I'll credit the improvement to the reboot. Thanks. Pi314m (talk) 06:13, 14 May 2020 (UTC)
- OK, perhaps THREE clicks on Retry - didn't save #1, but here are #s 2 & 3 trying to save the above entry:
- #2: Request from x.x.x.x via cp1083 frontend, Varnish XID 172077620
Error: 503, Backend fetch failed at Thu, 14 May 2020 06:07:35 GMT
- #3: Request from x.x.x.x via cp1083 frontend, Varnish XID 172142794
Error: 503, Backend fetch failed at Thu, 14 May 2020 06:11:20 GMT
- to repeat from above - can someone please look at system logs? Pi314m (talk) 06:18, 14 May 2020 (UTC)
Ping
Hello. My pings are working perfectly - except for pings to Girth Summit. For example, I tested this by trying to ping them on my sandbox and it didn't go through. Both of us don't get the notification that the ping was sent/received. We communicate a lot as Girth is training me at WP:CVU so it would be great if someone can help with this. I am using Google Chrome on Windows 10. Thanks sm, Hillelfrei talk 17:04, 13 May 2020 (UTC)
- Hello. You need to sign together with the mention, for the ping to work. Rehman 17:05, 13 May 2020 (UTC)
- @Rehman: I forgot to sign in my test but in general it's not working even when I sign. Just re-did it on my sandbox and signed and it didn't work. To make things more confusing, the first message I sent on this forum did send the ping. Any ideas? Hillelfrei talk 17:08, 13 May 2020 (UTC)
- Hmm, I did get your ping just now though. Perhaps the other user muted you - Special:Preferences#mw-prefsection-echo? Rehman 17:23, 13 May 2020 (UTC)
- @Hillelfrei: In this edit you reformatted a link to Girth Summit's user page, changing from Template:U to Template:Re, but you did not add a new link. To send a ping, a single edit must include a new link to the recipient's user page and a new signature. -- John of Reading (talk) 17:26, 13 May 2020 (UTC)
- Also, they must be as a fresh post, not a modification to an existing post. --Redrose64 🌹 (talk) 17:39, 13 May 2020 (UTC)
- Thanks for the information. Is it possible that previewing an edit on quick edit will cause the ping to not go through? Hillelfrei talk 17:44, 13 May 2020 (UTC)
- That sounds uñlikely. Please always post a diff if you think there is a problem with an edit. See mw:Manual:Echo#Technical details. PrimeHunter (talk) 10:23, 14 May 2020 (UTC)
- Thanks for the information. Is it possible that previewing an edit on quick edit will cause the ping to not go through? Hillelfrei talk 17:44, 13 May 2020 (UTC)
- @Rehman: I forgot to sign in my test but in general it's not working even when I sign. Just re-did it on my sandbox and signed and it didn't work. To make things more confusing, the first message I sent on this forum did send the ping. Any ideas? Hillelfrei talk 17:08, 13 May 2020 (UTC)
Bug in HotCat
When adding categories to a page, HotCat tries to remove {{nocat}} (a shortcut for {{Uncategorized}}) with or without parameters from the page. This sometimes breaks parameter |nocat={{{nocat|}}}
, which is passed to Template:Userbox. Examples: Special:Diff/900767578, Special:Diff/956639287. HotCat Gadget on Wikimedia Commons seems to not have the same issue, despite also having a commons:Template:nocat. It automatically removes only {{uncategorized}}: commons:Special:Diff/419145718/419145728.
On enwiki MediaWiki:Gadget-HotCat.js seems to just load the script from Commons. Lines 130–132 of commons:MediaWiki:Gadget-HotCat.js:
// A regexp matching a templates used to mark uncategorized pages, if your wiki does have that.
// If not, set it to null.
uncat_regexp: /\{\{\s*[Uu]ncategorized\s*[^}]*\}\}\s*(<!--.*?-->\s*)?/g,
These lines are responsible for detecting the templates, which need to be removed when categories are being added. However, the script does not mention "nocat". —andrybak (talk) 15:47, 14 May 2020 (UTC)
- @Andrybak: as you noted, HotCat is not maintained here on enwiki, I suggest you follow up your request at commons:MediaWiki talk:Gadget-HotCat.js — xaosflux Talk 15:58, 14 May 2020 (UTC)
- After reading the code some more, I found the issue and submitted an edit request over at MediaWiki talk:Gadget-HotCat.js/local defaults § Interface-protected edit request on 14 May 2020. —andrybak (talk) 16:14, 14 May 2020 (UTC)
Null audio control using <score> tag
In mobile view (iPhone 8, iOS 13.3.1, Safari), the article Seht, er lebt displays an audio control with no content. This control is not shown in desktop view. Update: I can eliminate the control by deleting the parameter "vorbis=1" and will do so since this is a Main Page DYK entry. Jmar67 (talk) 23:39, 10 May 2020 (UTC)
- @Jmar67: prior to your edit I saw and could use the audio control in desktop view just fine, now it is gone. — xaosflux Talk 18:15, 11 May 2020 (UTC)
- I have restored the parameter that generates the audio file. I had deleted it because the article was on DYK. In mobile view I see the player control but there is no file to play. In desktop view on mobile, the player is not even visible. Jmar67 (talk) 00:15, 12 May 2020 (UTC)
- @Jmar67: Works for me on desktop:
- I have restored the parameter that generates the audio file. I had deleted it because the article was on DYK. In mobile view I see the player control but there is no file to play. In desktop view on mobile, the player is not even visible. Jmar67 (talk) 00:15, 12 May 2020 (UTC)
- — xaosflux Talk 14:09, 12 May 2020 (UTC)
- @Xaosflux and Jmar67: The reason it doesn't work is that iOS doesn't support Ogg Vorbis files by default. Normal Ogg Vorbis files have been transcoded to MP3 server-side since January 2018, but it looks like this wasn't implemented for the Score extension. Jc86035 (talk) 16:18, 13 May 2020 (UTC)
- @Xaosflux and Jmar67: I've filed phab:T252795. Jc86035 (talk) 16:28, 14 May 2020 (UTC)
- — xaosflux Talk 14:09, 12 May 2020 (UTC)
Trigger alert on text?
Is there any way to get alerted when certain text appears on a page? I want to be alerted whenever a particular user's name is mentioned on WP:AN (or a subpage). -- RoySmith (talk) 15:01, 14 May 2020 (UTC)
- @RoySmith: "Stalked" mentions are somewhat discussed in phab:T50892, though I doubt it will get implemented in to echo without an opt-in from the stalked user, and if it did it would still only apply to linked mentions, not "text". I don't expect anyone will make this 'easy' because of the resistance to things that will "stalk" people. — xaosflux Talk 15:13, 14 May 2020 (UTC)
- It could probably be done with some sort of outside software. I once wondered whether something like an RSS feed would ping me any time the word "visual" appeared on this page. I never got around to trying it, though. (Consequently, please ping me whenever you want my attention.) Whatamidoing (WMF) (talk) 15:33, 14 May 2020 (UTC)
- @Whatamidoing (WMF): depending on the capabilities of your RSS software you can do something like that - you would need to watchlist all the pages you care about, and not watchlist pages you don't care about as well. — xaosflux Talk 15:44, 14 May 2020 (UTC)
- See, it's that assumption about "your RSS software" that we'd have to deal with first. ;-p
- BTW, I'm testing the Reply tool. It didn't break on ArbCom pages or the Teahouse, so that's a good sign. Click https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&dtenable=1 if you want to try it out here, and do please squawk if it does something awkward. No bells or whistles yet – plain, empty box (though with a live preview and autosigning, which some folks will appreciate). Whatamidoing (WMF) (talk) 18:02, 14 May 2020 (UTC)
- @Whatamidoing (WMF): depending on the capabilities of your RSS software you can do something like that - you would need to watchlist all the pages you care about, and not watchlist pages you don't care about as well. — xaosflux Talk 15:44, 14 May 2020 (UTC)
- It certainly is possible, as every edit is public. You can monitor the entire recent changes feed and parse all the text, like the way some of the anti-vandalism bots do - then have your processing service send you some sort of notification. We could also make an edit filter to look for a word and you could monitor the filter log, but there would really need to be a good reason not just because one user wants to watch for a word anywhere. — xaosflux Talk 15:42, 14 May 2020 (UTC)
- It could probably be done with some sort of outside software. I once wondered whether something like an RSS feed would ping me any time the word "visual" appeared on this page. I never got around to trying it, though. (Consequently, please ping me whenever you want my attention.) Whatamidoing (WMF) (talk) 15:33, 14 May 2020 (UTC)
Visual editor not loading
I'm not sure what happened, but recently Visual Editor isn't loading up for me. It appears to be loading on other wikis, so this appears to be site-specific. I have tried toggling the Visual Editor and the editing toolbar in my Preferences to no avail. I have also cleared my cache without changing anything. I suspect it could be a Javascript issue, but I only recently edited my common.js with minor addition. The browser (Chrome) recognises that I tried to access the Visual Editor by appending &veaction=edit
at the end of the URL. Anyone know have an idea as to why this is happening? (please mention me on reply) —Tenryuu 🐲 ( 💬 • 📝 ) 05:28, 10 May 2020 (UTC)
- Tenryuu, try adding
&safemode=true
to the URL and see if that works, if it does than it's a JavaScript issue. Also try loading with and without&debug=true
and look for any errors in the console (press F12). – BrandonXLF (talk) 07:20, 10 May 2020 (UTC)- @BrandonXLF: I've added both of those strings to the end of the URL and nothing new happens. What errors am I looking for in the console? —Tenryuu 🐲 ( 💬 • 📝 ) 15:40, 10 May 2020 (UTC)
- @Tenryuu: really just anything that is red or had the word error in it.– BrandonXLF (talk) 19:05, 10 May 2020 (UTC)
- @BrandonXLF: Resolved. I think I figured it out; I am using the Modern skin and the debug console gave a yellow warning which stated:
Your skin is incompatible with VisualEditor. See https://www.mediawiki.org/wiki/VisualEditor/Skin_requirements for the requirements.
- The other four skins load up VisualEditor with no apparent trouble; it appears to only be Modern that is the issue. I'm assuming what happened is that VE had an update which Modern neglected to be updated with. I have switched to back to the default Vector skin and it is working as intended. —Tenryuu 🐲 ( 💬 • 📝 ) 19:26, 10 May 2020 (UTC)
- Interesting. Glad you were able to figure it out. – BrandonXLF (talk) 22:33, 10 May 2020 (UTC)
- You are correct. The Modern skin needs an update to work with VE. This is Phabricator feature request T177243. The WMF apparently does not maintain the Modern skin, so someone from the community will have to make these updates. – Jonesey95 (talk) 22:35, 10 May 2020 (UTC)
- Interesting. Glad you were able to figure it out. – BrandonXLF (talk) 22:33, 10 May 2020 (UTC)
- @Tenryuu: really just anything that is red or had the word error in it.– BrandonXLF (talk) 19:05, 10 May 2020 (UTC)
- @BrandonXLF: I've added both of those strings to the end of the URL and nothing new happens. What errors am I looking for in the console? —Tenryuu 🐲 ( 💬 • 📝 ) 15:40, 10 May 2020 (UTC)
I restored the local hack that was providing usability, so it should be okay now until that goes live. ~ Amory (u • t • c) 18:27, 14 May 2020 (UTC)
Use of the IABot to archive live links en masse
I would like to clarify best practices regarding the use of IABot to archive live links en masse, meaning can one start using IABot on any article and archive live links that actually work on their own? Thank you. Dr. K. 02:46, 13 May 2020 (UTC)
- This came from an inquiry by another editor on my talk page. My understanding has been that WP:LR supports the use of the IABot in this manner to ensure that sources stay available for our readers. If there is documentation/consensus somewhere that says that this is not to be the case I think we should make that clearer at that how-to-guide. Best, Barkeep49 (talk) 02:51, 13 May 2020 (UTC)
- I participated in that discussion on Barkeep49's talk. I have used IABot on articles where there were no dead links, and am not aware of any reason not to. (I have only done so, however, while fixing other citation-related issues, like converting bare links with reFill). Mdaniels5757 (talk) 04:03, 13 May 2020 (UTC)
- Ok, to make myself clear, if the archiving of live links is acceptable, why not make a bot to automatically archive all extant links on Wikipedia, instead of doing it manually. Personally, I think the added bloat to the articles would be something excessive and would make navigation in editing mode more difficult. Dr. K. 04:26, 13 May 2020 (UTC)
- My understanding is that as soon as you add a reference with a URL, a backend process assures that the link, if possible is archived. using IABot to populate archiveurls into articles is not disallowed, but it is "busy" work. --Masem (t) 04:29, 13 May 2020 (UTC)
- I agree on both points. At WP:LR it is specified that all en.wiki links are automatically archived after 24 hrs. But archiving all links in all articles would create excess bloat, which you described well as "busy" work. Dr. K. 04:35, 13 May 2020 (UTC)
- The bot has an optional feature (check box) to archive all links, even live. The feature has always been controversial. Some want it, others do not. The bot operator/coder wants to keep it. I don't think you'll have much luck removing the feature, but you might be able to regulate it. One solution is to specifically mention the feature in the guidelines, and when it should be used, and how to resolve disputes over usage. -- GreenC 05:06, 13 May 2020 (UTC)
- I fully agree, GreenC. Dr. K. 05:42, 13 May 2020 (UTC)
- I don't know the background leading to this discussion but of course external links in references should be archived ASAP. Webpages disappear quickly and archiving later may not be possible, and usually cannot be done once it is needed because the original has gone. Johnuniq (talk) 05:25, 13 May 2020 (UTC)
- Per WP:LR, this is already done automatically at the IA server:
All new links added to English Wikipedia mainspace are automatically saved to Wayback Machine within about 24 hours.
. The issue here is if in addition to the automatic archiving at the source (at web archive), these links have to be archived live at the article as well. Dr. K. 05:31, 13 May 2020 (UTC)
- Per WP:LR, this is already done automatically at the IA server:
- I would assume the reason for including the archive meta tags in citations would be so editors could repair broken links without needing to wait for or know how to use IABot. All the guidance appears to encourage editors to add at least an “|archive-url”, including Help:Archiving a source, Help:Using the Wayback Machine and Wikipedia:Link rot. I don’t see how that would add “bloat”, as the tags are self-contained in citations and adding them to even large articles only adds a few kilobytes. XPEric (talk) 07:23, 13 May 2020 (UTC)
- I agree that reference-urls should be archived at the earliest possibility after a reference is added (just in case it changes/disappears later in time, you can check whether the information was correct at the time of the edit). also agree it is good practice to have the backup-url in the article, but it is and remains a convenience link, it makes our life easier, but if the archive exists then we can always find it. I therefore would not encourage a bot to add the parameter soon after the page was edited (on some pages that would result in bot edits a handful times a day, every time a new reference is added and archived). The archiving itself should be ASAP, adding of the url to the page can either be done manually, or by bot once every so much time (weekly?). --Dirk Beetstra T C 07:54, 13 May 2020 (UTC)
- @Dr.K.: since you have this here on VPT: What is the technical issue you are trying to resolve here? Can you point to a diff of the issue occuring? — xaosflux Talk 11:48, 13 May 2020 (UTC)
- This is a very good and practical question Xaosflux. This is a good example of an edit adding 31,495 KB into a 107,722 KB article by rescuing 181 sources that were live. It automatically bumped the article to 139,217 KB and bloated it by approx. 30%. Now imagine this being done to every article on Wikipedia en masse. Also, let's no forget that these links did not need to be rescued because they were live, thus working. In addition, per WP:LR:
All new links added to English Wikipedia mainspace are automatically saved to Wayback Machine within about 24 hours.
, thus archived copies of these links already exist at the Internet Archive, making retrieval of these links in the future easy. Therefore, the added bloat of ca. 30% additional KB added to the article was unnecessary. Dr. K. 12:19, 13 May 2020 (UTC)
- @Dr.K.: thank you, but like most things people raise about this "bot" it doesn't seem to be a bot problem at all - that edit was made by an editor, XPEric - and if this is mostly about if that is an appropriate edit for someone to make it isn't really a technical problem but a user behavior/editing guidelines concern isn't it? — xaosflux Talk 14:05, 13 May 2020 (UTC)
- Strictly speaking you are correct Xaosflux. After posting here, I also thought that VP Technical was not the right venue and even said so to Barkeep who then posted at VP Miscellaneous as well. The problem is not so much on the technical side, but rather lies in the lack of guidelines on how to use the bot properly and uncontroversially. Having said that, since this is a bot forum, guidelines for bot use may also be within the spirit of this place. 15:52, 13 May 2020 (UTC)
- This is a very good and practical question Xaosflux. This is a good example of an edit adding 31,495 KB into a 107,722 KB article by rescuing 181 sources that were live. It automatically bumped the article to 139,217 KB and bloated it by approx. 30%. Now imagine this being done to every article on Wikipedia en masse. Also, let's no forget that these links did not need to be rescued because they were live, thus working. In addition, per WP:LR:
- I think that doing this en-masse is against the spirit of WP:CITEVAR. It should certainly not be done by a bot, since this is clearly a controversial issue, and bots should be limited to actions that have consensus per the bot policy at WP:BOTREQUIRE bullet #4. I also agree with Dr. K's point about readability. The citation templates have become so bloated that a lot of articles are now virtually unreadable in edit mode. The argument that this saves editors the bother of trawling through the archives is a bit thin. IABot automatically rescues deadlinks so a human rescue is only really needed if it is an emergency. SpinningSpark 15:05, 13 May 2020 (UTC)
- @Cyberpower678: According to the bot's request for approval, it is only approved for deadlinks, not livelinks, and is consequently open to blocking per WP:BOTBLOCK if used in this way (unless there is another approval not listed on the bot's userpage). SpinningSpark 15:23, 13 May 2020 (UTC)
- @Spinningspark: This isn't a bot task; if you actually look at the example edit, you can see it was made under XPEric's account using OAuth, and the tool used to do that only allows you to edit one page at a time when you add archives to live references. * Pppery * it has begun... 15:29, 13 May 2020 (UTC)
- (edit conflict) @Spinningspark: I'm a bit lost here - if there is an actual bot account that is making bad edits, and the operator isn't responding to feedback - lets follow it up at WP:BOTN. The only edit I'm seeing referenced in this discussion was made by a live human editor who should be responsible for whatever they publish. — xaosflux Talk 15:30, 13 May 2020 (UTC)
- The opening of this thread claims that edits are being (or could be) made "en masse". That phrase implies either a bot or bot-like editing. My apologies if the bot is not actually capable of doing that. My other comments still stand. SpinningSpark 15:42, 13 May 2020 (UTC)
- A rapid succession of edits was made to 13 articles in 13 minutes using the optional functionality of IABot to archive live links inside the articles. I reverted the edits and warned the operator of the IABot to stop. Given that there are no clear guidelines on this type of editing I came here, after discussion with Barkeep, to clarify this. The IABot operator spoke to Barkeep about my reverts of his semi-automated mass edits and wanted clarification. By the way, I also use IABot, but only to rescue dead links. I never choose the option to archive live links inside the article, for the reasons enumerated above by myself and others, including Spinningspark who actually made some excellent arguments against such use. Dr. K. 16:20, 13 May 2020 (UTC)
- This is just like saying someone made a lot of edit with AWB, or with "Chrome", or with any other editing environment. Not really a technical issue, its an editor issue isn't it? — xaosflux Talk 16:43, 13 May 2020 (UTC)
- It is a technical issue insofar as the option to archive live links is given to the operator of IABot. Perhaps, it should not be given, since archiving live links creates bloat in articles. It is also an editor issue and lack of guidelines issue. It has elicited opinions that are helpful in clarifying the issues involved so it was valuable. However, it has not solved all the associated problems. If you can suggest a better venue, we can move this discussion there. Dr. K. 17:34, 13 May 2020 (UTC)
- What I'm saying is that the option to just blank an entire page is there every time you click edit, but that doesn't make it your browsers fault if you do so. If editors are making inappropriate edits, point them to some documented editing guidelines on how they can improve. — xaosflux Talk 17:44, 13 May 2020 (UTC)
- I would fully agree with you, Xaosflux, except one of the issues here is that there is no guideline saying that mass-archiving live links is frowned upon. To the contrary, what little guidance exists seems to allow this practice. Dr. K. 17:51, 13 May 2020 (UTC)
- Well then that's not a tech issue either :) But it is something that deserves discussion, because this isn't the first time its come up. We have Help:Archiving a source and Help:Using the Wayback Machine for some of the technical aspects, but Wikipedia:Citing_sources#Preventing_and_repairing_dead_links appears to be the usage guidelines, perhaps it needs some improvement? — xaosflux Talk 18:10, 13 May 2020 (UTC)
- Right. So if it shouldn't be here, this discussion should really be at Help talk:Archiving a source, Help talk:Using the Wayback Machine, or Wikipedia talk:Citing_sources. --Redrose64 🌹 (talk) 18:47, 13 May 2020 (UTC)
- (edit conflict) @Xaosflux: Yes, definitely, documentation is not a tech issue. :) Perhaps, we can add some information to the links you so helpfully provided, as well as WP:LR or even the interface of IABot near the archive live links button or on the bot's wiki page. Such reference would provide guidance so that we don't have to discuss this issue every time it pops up. Dr. K. 18:56, 13 May 2020 (UTC)
- Well then that's not a tech issue either :) But it is something that deserves discussion, because this isn't the first time its come up. We have Help:Archiving a source and Help:Using the Wayback Machine for some of the technical aspects, but Wikipedia:Citing_sources#Preventing_and_repairing_dead_links appears to be the usage guidelines, perhaps it needs some improvement? — xaosflux Talk 18:10, 13 May 2020 (UTC)
- I would fully agree with you, Xaosflux, except one of the issues here is that there is no guideline saying that mass-archiving live links is frowned upon. To the contrary, what little guidance exists seems to allow this practice. Dr. K. 17:51, 13 May 2020 (UTC)
- What I'm saying is that the option to just blank an entire page is there every time you click edit, but that doesn't make it your browsers fault if you do so. If editors are making inappropriate edits, point them to some documented editing guidelines on how they can improve. — xaosflux Talk 17:44, 13 May 2020 (UTC)
- It is a technical issue insofar as the option to archive live links is given to the operator of IABot. Perhaps, it should not be given, since archiving live links creates bloat in articles. It is also an editor issue and lack of guidelines issue. It has elicited opinions that are helpful in clarifying the issues involved so it was valuable. However, it has not solved all the associated problems. If you can suggest a better venue, we can move this discussion there. Dr. K. 17:34, 13 May 2020 (UTC)
- This is just like saying someone made a lot of edit with AWB, or with "Chrome", or with any other editing environment. Not really a technical issue, its an editor issue isn't it? — xaosflux Talk 16:43, 13 May 2020 (UTC)
- A rapid succession of edits was made to 13 articles in 13 minutes using the optional functionality of IABot to archive live links inside the articles. I reverted the edits and warned the operator of the IABot to stop. Given that there are no clear guidelines on this type of editing I came here, after discussion with Barkeep, to clarify this. The IABot operator spoke to Barkeep about my reverts of his semi-automated mass edits and wanted clarification. By the way, I also use IABot, but only to rescue dead links. I never choose the option to archive live links inside the article, for the reasons enumerated above by myself and others, including Spinningspark who actually made some excellent arguments against such use. Dr. K. 16:20, 13 May 2020 (UTC)
- The opening of this thread claims that edits are being (or could be) made "en masse". That phrase implies either a bot or bot-like editing. My apologies if the bot is not actually capable of doing that. My other comments still stand. SpinningSpark 15:42, 13 May 2020 (UTC)
- @Cyberpower678: According to the bot's request for approval, it is only approved for deadlinks, not livelinks, and is consequently open to blocking per WP:BOTBLOCK if used in this way (unless there is another approval not listed on the bot's userpage). SpinningSpark 15:23, 13 May 2020 (UTC)
- Dr.K., I would say this looks to be settled here. In any event, what the user chooses to do with IABot, is the responsibility of the user. If the user is in violation of specific guidelines, any admin can block said user from using the tool. —CYBERPOWER (Chat) 19:17, 14 May 2020 (UTC)
- Thank you, Cyberpower678. Yes, I agree with you, and I think we are done here. By the way, IABot is currently down giving an "Interface disabled" message. Hopefully you can fix it. Best regards, and stay safe. Dr. K. 20:01, 14 May 2020 (UTC)
- Dr.K., Yes, IABot is broken. An update to it went seriously sideways.—CYBERPOWER (Chat) 20:05, 14 May 2020 (UTC)
- Thank you again, Cyberpower678. That was very funny. :) Hopefully you can fix it. It is a very useful bot. Take care. Dr. K. 20:08, 14 May 2020 (UTC)
- Dr.K., Yes, IABot is broken. An update to it went seriously sideways.—CYBERPOWER (Chat) 20:05, 14 May 2020 (UTC)
- Thank you, Cyberpower678. Yes, I agree with you, and I think we are done here. By the way, IABot is currently down giving an "Interface disabled" message. Hopefully you can fix it. Best regards, and stay safe. Dr. K. 20:01, 14 May 2020 (UTC)
Unused local "stewards" group
Don't get me wrong, it's not a big deal, but I'm curious. Why does the local "Stewards" group exist? Stewards are global and they don't need this local group to exist AFAIK. Is this a remnant of a past when local stewards were either a thing or considered as an option? Or is there an actual reason why a group without members needs to exist? - Alexis Jazz 18:59, 14 May 2020 (UTC)
- @Alexis Jazz: "stewards" local group is part of the default groups in the WMF wiki's config (every single project has it, and it is normally empty). So no need to deal with removing it only here on enwiki - you can raise a request at phabricator if you want the default updated. — xaosflux Talk 19:23, 14 May 2020 (UTC)
- @Xaosflux: clear, done. - Alexis Jazz 19:36, 14 May 2020 (UTC)
- Steward's note: This user group is used for edge-cases, when we need to manipulate with user groups that aren't available at Meta. Hence, this group needs to exist as a technical one, to be used in cases of need. Best, --Martin Urbanec (talk) 20:11, 14 May 2020 (UTC)
In inline citation, is there a way to have a reference number like in a footnote but not in superscript and not in brackets?
Suppose that an article uses footnote-style referencing, so that references appear as bracketed numbers in superscript, like this.[1] This is achieved e.g. using the following markup: <ref name="Doe 2020">{{cite journal |last1=Doe |first1=J. |date=2020 |title=An important article. |journal=J. Big Results |volume=21 |pages=234–235 }}</ref>
. (It can also be achieved using the refn template.)
It would be nice to be able to refer to this reference directly, e.g. like this:
As explained in Ref. 1, …
But, apart from not being superscripted and not being enclosed in brackets, this ‘1’ in ‘Ref. 1’ should have the same properties as the superscripted reference. In particular, it should have the following three properties:
- It should be generated automatically, from the supplied reference name in the wiki markup (i.e. the engine should know how to convert the name "Doe 2020" to the appropriate number);
- It should link to the correct entry in the list of citations.
- It should show the reference when the mouse pointer hovers over it (the same tooltip behavior as the superscripted reference).
It would additionally be nice if there were an option to retain the brackets, so that the citation looks like this: As explained in Ref. [1], …
In short, whatever generates the ‘1’ in ‘Ref. 1’ should work just like refn, except that the output should not be superscripted and (optionally) the number should not be in brackets.
Is there any way to do this? After much googling and asking about it on the Teahouse, I haven't been able to find anything.
I do know that there are often workarounds. In the particular example I used above, one could write
As explained by Doe,[1] …
I realize that, in a great majority of cases, one just summarizes what the source says and provides a superscripted reference without needing to directly refer to that reference; and I realize that on the rare occasions when sources do have to be discussed, the "workaround" mentioned above is the preferred method. Indeed, scholarly literature has these same two guidelines. And yet, scholarly literature does allow for usage such as 'Ref. 1', because it is recognized that there do exist some rare occasions when the usual, preferred way of talking about sources results in awkward constructions.
--Reuqr (talk) 23:19, 15 May 2020 (UTC)
- Maybe: Fred Foobar is a dingus.[note 1]
- Take a look at Wikipedia:Citation templates and reference anchors, which offers a few options for what it sounds like you want. It's not the easiest system to understand, but you can probably make it work. – Jonesey95 (talk) 01:00, 16 May 2020 (UTC)
- Please no, not that. Manual anchors are the worse things ever to maintain and will horribly break over time. If you need an inline ref, go with According to Doe (2020), ... or similar. Headbomb {t · c · p · b} 01:04, 16 May 2020 (UTC)
- Thank you for your answer, Jonesey95. The #CITEREF trick gets us two-thirds of the way there: it generates the correct link to the list of citations and the correct tooltip. However, the automatic generation of the reference number is absolutely essential; as Headbomb points out, the solution is not practical without it.
In addition, it seems that that, in order for the #CITEREF to work, either the article has to use list-defined references, or else in the article there needs to be, in addition to the[[#CITEREF...
reference, at least one standard footnote reference to the same source. But this one might be able to live with, assuming other editors of the article can be persuaded to switch to list-defined references. --Reuqr (talk) 05:01, 16 May 2020 (UTC)
- Thank you for your answer, Jonesey95. The #CITEREF trick gets us two-thirds of the way there: it generates the correct link to the list of citations and the correct tooltip. However, the automatic generation of the reference number is absolutely essential; as Headbomb points out, the solution is not practical without it.
- Please no, not that. Manual anchors are the worse things ever to maintain and will horribly break over time. If you need an inline ref, go with According to Doe (2020), ... or similar. Headbomb {t · c · p · b} 01:04, 16 May 2020 (UTC)
- Take a look at Wikipedia:Citation templates and reference anchors, which offers a few options for what it sounds like you want. It's not the easiest system to understand, but you can probably make it work. – Jonesey95 (talk) 01:00, 16 May 2020 (UTC)
Notes
- ^ As explained by Doe...
What is organic traffic, and how is the statistic arrived at?
Where does Wikipedia rank in organic traffic, and what is the significance of that? — The Transhumanist 04:54, 16 May 2020 (UTC)
- Er, examples please? Where, for instance, is this mentioned? --Redrose64 🌹 (talk) 13:10, 16 May 2020 (UTC)
- Per organic search it is generally traffic from clicks on non-paid search engine results. If you refer to a specific statistic then you should definitely link it. PrimeHunter (talk) 13:49, 16 May 2020 (UTC)
- And here I thought it was something being promoted by Greta Thunberg... Elizium23 (talk) 13:52, 16 May 2020 (UTC)
- Per organic search it is generally traffic from clicks on non-paid search engine results. If you refer to a specific statistic then you should definitely link it. PrimeHunter (talk) 13:49, 16 May 2020 (UTC)
Planned maintenance operation (read-only time) on May 21 @ 5:00 A.M. UTC
Hi, There's a planned maintenance operation in the upcoming week. It will happen on Thursday 21st May at 05:00 AM UTC, for 15 minutes. This wiki will go read-only during this operation. See also: phab:T251982. -- Kaartic correct me, if i'm wrong 16:07, 16 May 2020 (UTC)
Replication lag
How might I check the current replication lag at the servers (I don't know what they're called now, it was Toolserver until mid 2014) that are used for database reports? I've suspected the existence of a significant replag for a week or so now, so yesterday I was careful to make exactly 100 edits, expecting my count at Wikipedia:List of Wikipedians by number of edits/1–1000 to increase by the same amount (100). Instead, it's increased by just 41, so there are at least 59 edits of mine that have not made it over to those other servers. My adminstats edit count for the same period shows an increase of 44 (excluding deleted edits). --Redrose64 🌹 (talk) 09:10, 13 May 2020 (UTC)
- @Redrose64: It's called Toolforge nowadays and replag can be seen at https://replag.toolforge.org/. – Majavah (t/c) 09:31, 13 May 2020 (UTC)
- Thanks, that gives more than 17 hours. Not good, but not so bad as Commons. --Redrose64 🌹 (talk) 09:54, 13 May 2020 (UTC)
enwiki.{analytics,web}.db.svc.eqiad.wmflabs s1 61935.9990 17:12:15
- Thanks, that gives
- I noticed this earlier in the week, it seemed to be about a day behind reality, so 17hrs would make sense. Lugnuts Fire Walk with Me 19:51, 13 May 2020 (UTC)
- @Redrose64: - looks like it's now caught up and there's no lag. Lugnuts Fire Walk with Me 07:10, 17 May 2020 (UTC)
Inclusion control nesting
I'd like to be able to set up the pages from the Help:Intro to series (e.g. Help:Introduction to policies and guidelines/2) so that, when transcluded, only the central text gets copied, not the tabs/border/etc. All of the extraneous stuff is coded at Template:Intro to, but when I think about adding an includeonly tag there, it applies to the Help:Intro pages themselves, not the transclusion of the those pages as desired. How do I get around this, so that the onlyinclude tags will end up resting at the level of the Help:Intro pages? {{u|Sdkb}} talk 19:42, 17 May 2020 (UTC)
- {{intro to}} can't do anything about this by itself other than possibly branching off of the name of the current page. There's of course lots of ways to do this that involve manually editing each individual page in the tutorial (I'd recommend adding adding
<section begin="content" />...<section end="content">
inside the {{intro to}} transclusion, and then transcluding with{{#section:Help:Introduction to policies and guidelines/2|content}}
, but simple<noinclude>...</noinclude>
tags would work. If you insist on not editing individual pages of the tutorial, you might be able to hack something together with Module:String, Module:Page, and Module:Expand wikitext, but it would inevitably be fairly brittle. * Pppery * it has begun... 20:21, 17 May 2020 (UTC) - An example of that last suggestion:
{{strip categories|{{expand wikitext|{{#invoke:String|replace|{{#invoke:Page|getContent|Help:Introduction to policies and guidelines/2|as=raw}}|[iI]ntro to|1x|plain=false}}}}}}
produces
Wikipedia is an online encyclopedia, and the community constantly strives for accuracy. Articles should be neutral and should contain only verifiable information and opinions that already exist in reliable sources.
Neutral point of view (or NPOV) means that content is written objectively and without bias, merely presenting the facts and notable viewpoints of others. A general-purpose encyclopedia ought not to contain articles that favor particular viewpoints. Striving for a neutral point of view helps prevent articles from becoming advertisements or propaganda.
|
Verifiability means that articles should contain only material that has been published by reliable sources, such as reputable newspapers and scholarly journals. All content should ideally be supported by a citation, but content that is controversial or likely to be challenged will definitely require one! Unsourced material may be removed at any time, and it is the obligation of the editor adding material to provide a reliable source. |
No original research means that articles may not contain previously unpublished arguments, concepts, data, opinions, or theories. This prohibition means that Wikipedia editors' own analysis or synthesis should not be included in articles. Basically, Wikipedia is a record of human knowledge, viewpoints, and summaries that already exist and are expressed elsewhere. |
- * Pppery * it has begun... 20:36, 17 May 2020 (UTC)
- Thanks, Pppery! That code at the end is quite a glorious monstrosity haha. I think I'll just go with adding the section tags to each page — that seems a lot simpler, even if it does involve copying to each page to get it off the ground. Cheers, {{u|Sdkb}} talk 21:00, 17 May 2020 (UTC)
- @Sdkb: It's only a monstrosity if you don't understand what it does. I'm personally very familiar with writing that kind of code, having written Wikipedia:Miscellany for deletion no drafts/Wikipedia:Miscellany for deletion no portals/Template:DBR index (and a few others), all of which work in a similar way (extracting subcontent from a page I can't change), so it doesn't feel monstrous to me. * Pppery * it has begun... 21:03, 17 May 2020 (UTC)
- Thanks, Pppery! That code at the end is quite a glorious monstrosity haha. I think I'll just go with adding the section tags to each page — that seems a lot simpler, even if it does involve copying to each page to get it off the ground. Cheers, {{u|Sdkb}} talk 21:00, 17 May 2020 (UTC)
Cluebot III has blown up my talk archive index. I am not certain what has gone wrong or how to fix it. Nor do I know the appropriate forum to seek an answer. I imagine the real error is my own. I came here for a clue by following a link from the bot’s user page. —¿philoserf? (talk) 16:19, 17 May 2020 (UTC)
- (Philoserf I've moved your issue from ANI to here as technically you were at the wrong venue and 4 hours had passed with no help (I did try but couldn't find the issue although I suspect it's related to the heading page, Thanks, –Davey2010Talk 19:22, 17 May 2020 (UTC))
- This usually means
|archiveprefix=
is set incorrectly, but I can't figure out what's wrong the the specific instance on your talk page. * Pppery * it has begun... 19:25, 17 May 2020 (UTC) - I recall a spate of these a few years ago. I don't think there ever was an explanation and the solution was to blank the index and hope it got regenerated correctly. Johnuniq (talk) 23:58, 17 May 2020 (UTC)
- Johnuniq, Thank you. I have blanked the archive index. I will keep an eye on it. —¿philoserf? (talk) 00:11, 18 May 2020 (UTC)
Problems with display
Hi there! I've been on Wikipedia for a touch under four and a half years, and I had to get a new computer relatively recently. My new computer's screen is larger than my old one's and it affected the way certain Wikipedia pages are displayed. The problem occurs only when I am logged in and viewing a page in the mainspace. The issue is that the rightmost quarter of the screen seems to be some sort of a cut-off point, and no text will go beyond it. Any images present in a section, such as images displayed as thumbnails, will appear larger and always in that section of the screen. Is there a way to remedy this? I've linked images below that show my view of the Main Page when logged in and out.
I am editing on Google Chrome, if that matters. Thank you! PCN02WPS (talk | contribs) 20:58, 17 May 2020 (UTC)
- Does it happen in safemode? If you reload a page, e.g. with F5, does it start out bad, or does it start out normal and then move the content? PrimeHunter (talk) 21:35, 17 May 2020 (UTC)
- @PrimeHunter: The content reaches the edge of the page in safemode (which I did not know existed until now), and the content starts out with the messed-up formatting when reloaded, rather than moving. PCN02WPS (talk | contribs) 23:20, 17 May 2020 (UTC)
- safemode omits local JavaScript and CSS. It sounds like something at either User:PCN02WPS/common.js or Special:Preferences#mw-prefsection-gadgets. You could try blanking the first or disable some gadgets. Or maybe you just have to bypass your cache, so first try Ctrl+F5 on an affected page. PrimeHunter (talk) 00:23, 18 May 2020 (UTC)
- @PrimeHunter: The latter was the answer! Turns out I'd skipped over the "Improved appearance for mobile, narrow and wide screens" option in my preferences and didn't realize I had it checked. Thank you so much! PCN02WPS (talk | contribs) 01:27, 18 May 2020 (UTC)
- safemode omits local JavaScript and CSS. It sounds like something at either User:PCN02WPS/common.js or Special:Preferences#mw-prefsection-gadgets. You could try blanking the first or disable some gadgets. Or maybe you just have to bypass your cache, so first try Ctrl+F5 on an affected page. PrimeHunter (talk) 00:23, 18 May 2020 (UTC)
- @PrimeHunter: The content reaches the edge of the page in safemode (which I did not know existed until now), and the content starts out with the messed-up formatting when reloaded, rather than moving. PCN02WPS (talk | contribs) 23:20, 17 May 2020 (UTC)
Mystery whitespace on an image
American Automobile Association includes File:Stamp US AAA 50th Anniversary 3-cent.jpg. If you look at that file by itself, the image is cropped closely so that there is very little whitespace around the focus of the photograph. (See https://upload.wikimedia.org/wikipedia/commons/3/35/Stamp_US_AAA_50th_Anniversary_3-cent.jpg). Somehow, when it's included here at en.wp, there is a fairly broad whitespace border. (See https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Stamp_US_AAA_50th_Anniversary_3-cent.jpg/250px-Stamp_US_AAA_50th_Anniversary_3-cent.jpg) How/why is this happening and how can I make it go away? ―Justin (koavf)❤T☮C☺M☯ 01:34, 18 May 2020 (UTC)
- I see the same narrow border in all cases. The file history has an older version with more whitespace and some of the above and below stamp visible: https://upload.wikimedia.org/wikipedia/commons/archive/3/35/20090906221031%21Stamp_US_AAA_50th_Anniversary_3-cent.jpg. Is that what you see? It was replaced in 2009 so it would be odd if it still shows. PrimeHunter (talk) 10:59, 18 May 2020 (UTC)
- I suspect that the older version was cached by the client. Justin, try a WP:BYPASS. --Redrose64 🌹 (talk) 11:25, 18 May 2020 (UTC)
Help with duplicate template arguments
Hello. Could anyone tell me the best way to identify the duplicate template arguments at Template:Infobox power station/sandbox please? I made some changes which caused the page to show up in Category:Pages using duplicate arguments in template calls, but I can't spot what exactly. Any help is appreciated. Cheers, Rehman 07:17, 18 May 2020 (UTC)
- If you edit the page and go straight for Show preview, it should list the errors in a box at the top. --Redrose64 🌹 (talk) 09:08, 18 May 2020 (UTC)
- Nope it doesn't... Rehman 10:49, 18 May 2020 (UTC)
- You mean you don't get a box like this?
- Nope it doesn't... Rehman 10:49, 18 May 2020 (UTC)
This is only a preview; your changes have not yet been saved! → Go to editing area
Warning: Template:Infobox power station/sandbox is calling Module:WikidataIB with more than one value for the "1" parameter. Only the last value provided will be used. (Help)
- If not you must have some CSS that suppresses it, such as --Redrose64 🌹 (talk) 10:57, 18 May 2020 (UTC)
.warningbox { display: none; }
- That's strange, I don't have any custom css enabled... Would you know of a way to find the duplicate arguments? Rehman 11:40, 18 May 2020 (UTC)
- I don't get any warning either. --qedk (t 愛 c) 11:44, 18 May 2020 (UTC)
- Probably this is a (useful) opt-in feature? Rehman 12:01, 18 May 2020 (UTC)
- If not you must have some CSS that suppresses it, such as
- Thanks User:PrimeHunter, for spotting and fixing them! Cheers, Rehman 12:02, 18 May 2020 (UTC)
- I saw the warning before the fix. Maybe you have enabled "Show previews without reloading the page" at Special:Preferences#mw-prefsection-editing. I don't. I previewed different parts to pin it down. It was tricky because there are 170 complicated calls of WikidataIB and four of them had errors. Fixed by [15]. PrimeHunter (talk) 12:06, 18 May 2020 (UTC)
- Curious that you don't get the box, I get it even when logged out so it must be part of the default setup. Anyway, the duplicates were fixed in the edit. --Redrose64 🌹 (talk) 12:08, 18 May 2020 (UTC)
- I guess this is phab:T190120: "Parse warnings not visible with live preview". PrimeHunter (talk) 12:12, 18 May 2020 (UTC)
- MediaWiki:Tog-uselivepreview is displayed at the option. Maybe we should add a note like "(may omit some warnings)". PrimeHunter (talk) 12:18, 18 May 2020 (UTC)
- Yes it is "Show previews without reloading the page". I get the box when I disable that option. Rehman 12:41, 18 May 2020 (UTC)
- MediaWiki:Tog-uselivepreview is displayed at the option. Maybe we should add a note like "(may omit some warnings)". PrimeHunter (talk) 12:18, 18 May 2020 (UTC)
- I guess this is phab:T190120: "Parse warnings not visible with live preview". PrimeHunter (talk) 12:12, 18 May 2020 (UTC)
Superfluous brackets
Could somebody take a look at Ontario Highway 400#Exit list? There's a superfluous }} appearing between the section's introductory text and the actual table, but I've scoured the table several times in an attempt to fix the coding error and just can't find it. Thanks. Bearcat (talk) 14:26, 18 May 2020 (UTC)
- I think I've fixed it. The top template closes further down in the middle of the table. Cheers, Rehman 14:45, 18 May 2020 (UTC)
- You did indeed. Thanks much! Bearcat (talk) 16:45, 18 May 2020 (UTC)
- Happy to help. Cheers, Rehman 16:49, 18 May 2020 (UTC)
- You did indeed. Thanks much! Bearcat (talk) 16:45, 18 May 2020 (UTC)
Weird loop issue in script
Hi folks, hoping this is the right place to ask for a little userscript help. I'm working on a modification to Headbomb's unreliable source highlighter script which will make it load custom rules from a userpage, my work-in-progress script is at User:Creffett/unreliable.js and the part I modified is the chunk starting with the comment "Dynamically load a user's custom rules". From my console log statements, I can see that my test rule is picked up and appended to the rules var correctly, but then the JQuery each() loop doesn't reach my custom rule - the logs show that the last rule it checks is the final hardcoded rule, "Reliability depends...". Any ideas why it's not iterating over the full array? creffett (talk) 12:30, 18 May 2020 (UTC)
- Well, the first thing I notice is that your log statement is outside your callback. Callbacks are run asynchronously, so the console.log statement will probably execute *before* the getScript statement has finished downloading the script, and therefore before the callback has had a chance to run and add the rules. Try adding a console.log within the callback and see if it gets executed there. Just a guess. Writ Keeper ⚇♔ 13:00, 18 May 2020 (UTC)
- Writ Keeper, d'oh, that might be it, I'll give that a try tonight. creffett (talk) 15:59, 18 May 2020 (UTC)
- ...or I could do it now while my work code is running tests. That indeed did the trick, I reworked things so that the iterating call was a function called in the callback. Thanks! creffett (talk) 16:58, 18 May 2020 (UTC)
- Writ Keeper, d'oh, that might be it, I'll give that a try tonight. creffett (talk) 15:59, 18 May 2020 (UTC)
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
- If you forget your password you can ask for a new one to be sent to your email address. You need to know your email address or your username. You can choose that you need to enter both your email address and your username. This is a preference. This is to get fewer password reset emails someone else asked for. This is now available on all Wikimedia wikis. [16][17]
Problems
- There is a bug that creates problems for iPhone users with iOS 13 and Safari. If you use an iPhone to read or edit Wikipedia and see bugs on the mobile site you can report them. [18]
- Several wikis including Wikidata will be on read-only for a few minutes on 19 May. This will happen around 05:00 UTC. English Wikipedia will be on read-only for a few minutes on 21 May 05:00 UTC. This is for database maintenance. [19][20]
Changes later this week
- The Wikipedia app for Android can let users add depicts on Commons. The beta version used computer-aided tagging. This was removed to get more specific depicts. [21]
- There is no new MediaWiki version this week.
Future changes
- Graphs will be rendered in the reader's browser. This will use Javascript. Graphs will hopefully work better for everyone who uses Javascript. It will not work for users who don't use Javascript. This will not affect diagrams in image files. [22]
- Some CSS for the skins has been simplified. This affects
div#p-personal
,div#p-navigation
,div#p-interaction
,div#p-tb
,div#p-lang
,div#p-namespaces
,div#p-variants
anddiv#footer
. They will have to removediv
. You will have to update your gadgets, scripts or user styles. This is so we can use HTML5. [23] - Some CSS for the Vector skin has been changed. This affects
#p-variants
,#p-namespaces
,#p-personal
,#p-views
and#p-cactions
. They can no longer use> ul
. You might need to update your gadgets, scripts or user styles. See how.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
17:18, 18 May 2020 (UTC)
Visual issues in edit preview screen
Heavy - annoying - black lines around the preview screen. Breaking up with line breaks (or whatever) This just started happening a few minutes ago. In the edit box, and this only appears in a preview mode (it was only on preview, but now I see it as I type this when I opened this to add this note) . On both Firefox 76.01.1 (32-bit) and Chrome. I am not in Beta, and I am not editing other than just regular style. I am looking at this issue right now as I type this.
See TFA Frank Matcham as one example. I open the edit screen on that, and I see those heavy black lines everywhere the system (seemingly) detects an extra space or something.
There's a heavy line at the top and at the left hand side, which seems consistent on this talk page. In article space, the heavy black line appears, it seems to me, where the system is detecting a space or line that breaks the page. It's unbelievably annoying to work in the edit screen this way. Visually, this is VERY distracting. Can we turn off this feature, whatever it is? — Maile (talk) 17:51, 17 May 2020 (UTC)
- @Maile66: I'm using Firefox 76.0.1 (Linux, 64 bit) but don't see anything like that. Does it appear with mw:safemode, e.g. with [24]? If not it's a problem with a script or gadget. Suffusion of Yellow (talk) 18:23, 17 May 2020 (UTC)
It does not appear in safe mode. Guess I'll have to figure out which gadget or script is causing it.— Maile (talk) 19:07, 17 May 2020 (UTC)- On a second look, it does appear in safe mode. But how it appears ... if I click on the safe mode link you gave, it's not immediately there. If I then click on the "Show preview" button, the problem shows up. Did you try it that way? — Maile (talk) 19:17, 17 May 2020 (UTC)
- @Maile66: Safe mode won't "stick"; you need to add it to each URL manually. The link to preview this section in safe mode is [25]. Does the problem appear there? Suffusion of Yellow (talk) 19:24, 17 May 2020 (UTC)
- The problem does not appear there. — Maile (talk) 19:36, 17 May 2020 (UTC)
- @Suffusion of Yellow: thanks for your advice. The problem would appear to be in the Gadgets syntax highlighter. Now it's a choice for me whether I want to go blind trying to edit in black and white, or see the colors but be annoyed by the malfunctioning visuals. At least I know what it is. — Maile (talk) 00:29, 18 May 2020 (UTC)
- @Maile66: There's another syntax highlighter. Click the pen icon just above the edit textbox for the CodeMirror highlighter. Suffusion of Yellow (talk) 01:24, 18 May 2020 (UTC)
- @Suffusion of Yellow: Well, thank you. I did not know about that, and am editing with it right now. It seems like a viable alternative. — Maile (talk) 01:33, 18 May 2020 (UTC)
- Probably should have also pointed out that I can't reproduce the problem with the syntax highlighter gadget. Can anyone else? Suffusion of Yellow (talk) 03:24, 18 May 2020 (UTC)
- @Suffusion of Yellow: Just another odd thing, and probably because I don't know how to do this. I can take a screen shot of the issue, no problem. I can insert/paste the screen shot in just about anywhere outside of Wikipedia. But if I take the screen shot and try to insert it on Wikipedia or its affiliated sites, nothing happens. That is ... Print Screen ... Control-V to insert ... or the Insert key on my computer. Am I doing something wrong? — Maile (talk) 12:49, 18 May 2020 (UTC)
- @Maile66: You\re trying to paste an object, and MediaWiki works on text. Follow the directions at WP:WPSHOT. --Redrose64 🌹 (talk) 13:09, 18 May 2020 (UTC)
- Here's my screen shot. My first ever attempt at a screen shot. Note that the right-hand side has none of the black/bolded vertical lines. The top of the edit screen has a long black/bolded line, but not above the section header. The left side has the black/bolded vertical border between paragraphs, but not next to any text. The rest of the page that you can't see in this screen shot, is that the bottom of the edit window has no black/bolded line, nor does the right-hand side have a vertical black/bolded line. — Maile (talk) 14:37, 18 May 2020 (UTC)
- From close examination, I think that the border is the same all the way around, but portions of it are being obscured by (i) the variously-coloured backgrounds of the highlighted elements; (ii) the scrollbar on the right. Where it's partially obscured, it appears thinner. --Redrose64 🌹 (talk) 17:57, 18 May 2020 (UTC)
- Well, until yesterday, that heavy black border wasn't there at all. When I first open an edit window, it isn't there. It's when I do a "Show changes" or "Show preview", and it essentially does a refresh, then the dark black border is there at all. Since this change happened right in the middle of something I was working on, I thought it might be a bug. But it also flips the opposite way, depending on the article. I just pulled up an article with no table formatting, no list involved, and the black link was solid. When I did a "Show preview", the black line disappeared from the screen. — Maile (talk) 18:55, 18 May 2020 (UTC)
- From close examination, I think that the border is the same all the way around, but portions of it are being obscured by (i) the variously-coloured backgrounds of the highlighted elements; (ii) the scrollbar on the right. Where it's partially obscured, it appears thinner. --Redrose64 🌹 (talk) 17:57, 18 May 2020 (UTC)
- Here's my screen shot. My first ever attempt at a screen shot. Note that the right-hand side has none of the black/bolded vertical lines. The top of the edit screen has a long black/bolded line, but not above the section header. The left side has the black/bolded vertical border between paragraphs, but not next to any text. The rest of the page that you can't see in this screen shot, is that the bottom of the edit window has no black/bolded line, nor does the right-hand side have a vertical black/bolded line. — Maile (talk) 14:37, 18 May 2020 (UTC)
- @Maile66: You\re trying to paste an object, and MediaWiki works on text. Follow the directions at WP:WPSHOT. --Redrose64 🌹 (talk) 13:09, 18 May 2020 (UTC)
- @Suffusion of Yellow: Just another odd thing, and probably because I don't know how to do this. I can take a screen shot of the issue, no problem. I can insert/paste the screen shot in just about anywhere outside of Wikipedia. But if I take the screen shot and try to insert it on Wikipedia or its affiliated sites, nothing happens. That is ... Print Screen ... Control-V to insert ... or the Insert key on my computer. Am I doing something wrong? — Maile (talk) 12:49, 18 May 2020 (UTC)
- Probably should have also pointed out that I can't reproduce the problem with the syntax highlighter gadget. Can anyone else? Suffusion of Yellow (talk) 03:24, 18 May 2020 (UTC)
- @Suffusion of Yellow: Well, thank you. I did not know about that, and am editing with it right now. It seems like a viable alternative. — Maile (talk) 01:33, 18 May 2020 (UTC)
- @Maile66: There's another syntax highlighter. Click the pen icon just above the edit textbox for the CodeMirror highlighter. Suffusion of Yellow (talk) 01:24, 18 May 2020 (UTC)
- @Suffusion of Yellow: thanks for your advice. The problem would appear to be in the Gadgets syntax highlighter. Now it's a choice for me whether I want to go blind trying to edit in black and white, or see the colors but be annoyed by the malfunctioning visuals. At least I know what it is. — Maile (talk) 00:29, 18 May 2020 (UTC)
- The problem does not appear there. — Maile (talk) 19:36, 17 May 2020 (UTC)
- @Maile66: Safe mode won't "stick"; you need to add it to each URL manually. The link to preview this section in safe mode is [25]. Does the problem appear there? Suffusion of Yellow (talk) 19:24, 17 May 2020 (UTC)
Proposed fix to Mediawiki:Common.js about section-jumping behavior
I have proposed a fix to Common.js that might help with how autocollapsing boxes make the page jump around after navigating to a section header. That is, when navigating directly to a section near the bottom of AN, often times when the collapse box code and other javascript is done, the section is offscreen. This fix performs an additional jump to the section after the collapse box code. Comments are requested over there. Enterprisey (talk!) 19:24, 18 May 2020 (UTC)
Issues with the API when logging in with a bot
I am trying to make a bot for a non-WMF wiki. When I send a POST request to log in, I always get a 'NeedToken' error even though I get a token by querying for the login token, via https://.../api.php?action=query&meta=tokens&type=login&format=json
.
I then respond with the body:
{ "action": "login", "lgname": username, "lgpassword": password, "lgtoken": token, "format": "json" }
Where token
is the token from response.query.tokens.logintoken
.
I am aware that I need to manage and maintain cookies which I do by storing the Set-Cookie
header from the response and then putting that back into the Cookie
header of the request. That might have something to do with the issues I'm having.
The wiki is running on MW 1.34.0. I am using Deno and the Fetch API.
- VeryGoodDog 13:56, 17 May 2020 (UTC)
- @VeryGoodDog: If this is not about English Wikipedia then this is not a question for English Wikipedia but probably for mw:Project:Support desk. --Malyacko (talk) 15:14, 17 May 2020 (UTC)
- I did not know that you're talking about a non-WMF site, the documentation is only for the latest version of MediaWiki so it's possibly changed, my recommendation at this point is to use mw.Api()'s login method. --qedk (t 愛 c) 15:42, 17 May 2020 (UTC)
- It's a possibility you will need to use the "lgdomain" parameter. --qedk (t 愛 c) 15:45, 17 May 2020 (UTC)
- Ah, TBH I probably should have realized too. I'll try that. If it doesn't work I'll post on the support desk. - VeryGoodDog 11:56, 19 May 2020 (UTC)
- It's a possibility you will need to use the "lgdomain" parameter. --qedk (t 愛 c) 15:45, 17 May 2020 (UTC)
Possible issues with search function
Hello everyone! I hope it's the right place to ask this. I've created a number of pages recently, and I check pretty frequently if the articles that I create are correctly indicized by the WP internal search engine. I've noticed that many articles do not come up in the suggested articles when I write the name of the article in the search bar (the small list that appears whenever you write something in the search bar, for example if I type Abraham, it will show Abraham, Abraham Lincoln, Abrahamic religions and so on). This has happened with the more recent articles (some example: all the LNBP seasons but the 2000 and 2001 seasons, so if I type 2006 LNBP season, it will just suggest 2000 and 2001 but not the 2006 article; Amaury Filion is another example, does not appear at all; Nike Elite Youth Basketball League, same thing. So, I am wondering: is it just for me, or does this happen to other users, too? I've tried to access these articles on mobile, and the same thing happens. While I am able to access it by typing the name and clicking "Go", they do not appear as I type the name, so people possibly searching for these articles just have to guess they exist and click "Go", the search engine wouldn't show them in advance. Could you please check? Sorry if I got some terminology wrong and if my message is a bit wordy, but I did not know if I would be able to explain the issue correctly. --Triple 8~enwiki (talk) 20:14, 17 May 2020 (UTC)
- Hmm, WP's search function has never worked super great, but I'm not sure what's leading to that. Have the pages been approved by NPP yet? If not, perhaps they're being downranked because of that. {{u|Sdkb}} talk 20:22, 17 May 2020 (UTC)
- Hello, thanks for answering! Yes, they have been approved as new pages. --Triple 8~enwiki (talk) 09:16, 18 May 2020 (UTC)
If it matters, the same phenomenon emerged at the Hungarian wiki only for a few users, irrespective of browser, system, ad filter, everything: the search engine does not return any article (or any page in any namespace) created after April 30. We are planning to log an issue on Phabricator. @Triple 8~enwiki: My question to you would be if you experience the anomaly starting with the same date, ie. pages you created before are okay, pages created afterwards do not show up in the search bar? Thanks! Please ping me when answering. Pasztilla (talk) 04:43, 19 May 2020 (UTC)
phab:T253114 Pasztilla (talk) 12:13, 19 May 2020 (UTC)
- @Pasztilla: thanks for your reply. It does start on April 30, actually. 2002 LNBP season was created on April 30, and it's the first page not to appear in the engine – even though, the date only seems not to be the only issue. 2001 LNBP season was created on April 30 at 00:02 (should be UTC+01:00 as I am in that time zone). This page has no issue and appears in the search engine just fine. 2002 LNBP season, on the other hand, does not appear in the search engine, and it was created at 12:53 of April 30. So, my inference would be that something has happened between 00:02 and 12:53 on April 30 that messed up the search engine. --Triple 8~enwiki (talk) 14:27, 19 May 2020 (UTC) P.S. I see you pinged me but I didn't get any notification or anything. I just checked this page randomly if anyone had replied. I hope it works for you, I tried to ping you (this ping thing didn't exist in 2014 when I stopped editing on wiki for the first time)
Bug in Module:Template invocation
You're invited to join the discussion at Module talk:Template invocation § Lua error: attempt to compare string with number. —andrybak (talk) 14:36, 19 May 2020 (UTC)
Cyclone track and the Kartographer extension
Hello. Could anyone familiar with mw:Help:Extension:Kartographer and/or Lua share your thoughts at Module talk:Mapframe#Cyclone tracks please? Thank you, Rehman 03:21, 20 May 2020 (UTC)
RfC help
Done
Would someone please fix an RfC snafu:
- Talk:Sydney#RfC: What image should appear in the infobox at Sydney? new RfC
- diff Legobot's edit at Talk:Sydney where it munged an {{rfc}} in a comment before I had a chance to remove it
- Wikipedia:Requests for comment/History and geography where Sydney appears at the bottom with blank text
Thanks! Johnuniq (talk) 01:17, 20 May 2020 (UTC)
- More cosmic rays: Legobot inexplicably added the full text an hour later so it's all good. Johnuniq (talk) 03:02, 20 May 2020 (UTC)
- @Johnuniq: as the Legobot "expert" around here during the continued silence of Legoktm, I shall explain.
- In the diff you linked, Legobot added
|rfcid=6F12A99
in two places: the second was correct, the first was due to WP:RFC#Duration (sentence beginning "Do not enclose") not being observed. That's kind-of an obscure place for what is really universal advice; it should at least be mentioned at Template:Rfc#Usage in the paragraph warning against nowiki. Technical expln: Legobot runs one an hour, and doesn't know that you're still working on your RfC. When it sees a page in Category:Wikipedia requests for comment, it searches the wikitext for two opening braces followed by the three letters "rfc" (case-insensitive). If it finds those five characters in that sequence, in any context, it assumes that it is the start of an open RfC. It continues the search to the end of the page, in case there is more than one open RfC. For all open RfCs without a|rfcid=
parameter, it adds one. It is buggy, not just that it looks inside comments, but also that it doesn't conjure a different rfcid value each time (recent dramatic example). - Now to this edit. That was due to the lack of a timestamp following the first instance - the commented-out one mentioned above. Where two open RfCs have the same rfcid, only one of them gets posted on the listing page. When the comment line was removed in this edit (no cosmic rays were involved), Legobot noticed that and amended the listing entry. --Redrose64 🌹 (talk) 08:42, 20 May 2020 (UTC)
- Thank you. I guessed some of the first bit and I fully intended removing the commented-out rfc template but I got an edit conflict with Legobot when I saved. I must have been super lucky with my timing. That's interesting how it revisited an hour later and sorted out the issue. Johnuniq (talk) 09:27, 20 May 2020 (UTC)
Short description metadata issues
I'm not sure how the short description stuff is getting into articles these days without {{Short description}}
or {{SHORTDESC:}}
being used; it seems to sometimes be imported directly from WikiData. E.g., William A. Spinks has no {{Short description}}
in it, nor the magicword (though I'm about to fix that), yet it has a short description, possibly via infobox behavior.
The short description is followed by a block of links that look like "(Wikidata · Import · Edit and import)"; this span of text is broken in two ways:
- Some of it is generated by CSS and is not actually part of the HTML content per se. It copies and mis-pastes as "WikidataImportEdit and import", and this is how some screen readers are going to misinterpret it. (However, this kind of behavior can vary by user agent.)
- It is not being properly CSS-classed as unprintworthy self-reference, and it consequently is showing up in circumstances it should not, such as the output of Print/export > Print page in the left menu. It may need more CSS classes than just
unprintworthy
, such asnomobile noexcerpt noprint
, as used in{{Short description}}
for some other metadata.
WP:SHORTDESC says "The short description is normally invisible when visiting Wikipedia using a desktop browser. It is visible and used by the mobile interface." So, at this point a majority of our users are seeing the short descriptions. And even desktop users will if running something like MediaWiki:Gadget-Page descriptions.js (in the Gadgets section of Special:Preferences), or the original User:Galobtter/Shortdesc helper. All of us should be using the gadget by now. WP:SHORTDESC says of short descriptions: "All articles should have a short description. ... The short description is part of the article content, and is subject to the standard processes for content decisions .... Short descriptions are subject to many Wikipedia standards of content, including those found at Wikipedia:Biographies of living persons and Wikipedia:Neutral point of view ...." Thus, a) we need to be including, reviewing, and improving them; and b) they are real, printworthy, reader-facing content, to be included in printed and other WP:REUSEd article content. However, metadata links for management of them are not, but are WP-internal editor interface features.
It appears that the implicated interface pages are among these:
- MediaWiki:Gadget-Page_descriptions.js
- MediaWiki:Gadget-Shortdesc-helper.js
- MediaWiki:Gadget-Shortdesc-helper.css
- MediaWiki:Gadget-Shortdesc-helper-pagestyles-vector.css
- MediaWiki:Gadget-libSettings.js
This code might even be "pushed" here from https://github.com/galobtter/shortdesc-helper . I'm not really sure exactly how this code is being managed as of 2020-05.
— SMcCandlish ☏ ¢ 😼 20:21, 19 May 2020 (UTC)
- As of right now Wikidata short descriptions still show up on articles if there is no short description on enwiki, so shortdesc helper shows it. Re screen readers, the links should show up as buttons as I've set them as so (see aria button; let me know if it doesn't). On printing, I don't think short descriptions need to be included in printed material, since its main use is in search results where the rest of the article is not visible. I suppose I could wrap the buttons of the script in noprint, but if you are printing a page you probably want to view it logged out as there are other gadgets whose output could appear (like Xtools and assessment).
- FYI, MediaWiki:Gadget-Page_descriptions.js is the original script, which just shows the page description without any editing functionalities; I forked it as User:Galobtter/Shortdesc helper which eventually became a gadget of its own. As for
I'm not really sure exactly how this code is being managed as of 2020-05.
: the code is maintained by me, and I generally push my changes to the github and then copy them to the onwiki gadget file. Galobtter (pingó mió) 21:15, 19 May 2020 (UTC) - Sorry, is there a question? I'm having difficulty parsing what you're asking, but it seems like you might be interested in Wikipedia:Village pump (WMF)/Archive 1#Update: Scheduled shutdown of Wikidata descriptions on EnWiki ~ Amory (u • t • c) 09:46, 20 May 2020 (UTC)
What happened to mobile version of website
Earlier wikipedia while opening from smartphone redirected to m.wikipedia, now it does not. The normal wikipedia is so annoying and unoptimised for smarphones. And syntax editing is highly inefficient. It leads to unknown locations and sometimes type what you havent typed. Sometimes you cant even click on a desired location to type because it will keep on leading your cursor to somewhere above. Can we please get the mobile switching automatic mechanism back? Capankajsmilyo (talk) 02:20, 20 May 2020 (UTC)
- Click "Mobile view" at the bottom of any page and see if it rembembers your choice. "Desktop" switches back to the desktop version. PrimeHunter (talk) 10:20, 20 May 2020 (UTC)
Planned maintenance operation (read-only time) on May 21 @ 5:00 A.M. UTC
Hi,
This is a reminder about the planned maintenance operation that will happen on Thursday 21st May at 05:00 AM UTC, for 30 minutes.
This wiki will go read-only during this operation.
See also: phab:T251982.
Note: An earlier intimation mentioned the approximate duration incorrectly as 15 minutes. Apologies for that.
-- Kaartic correct me, if i'm wrong 10:31, 20 May 2020 (UTC)
How to make sortable columns that are also colour coded?
Hi all
I'm working on some documentation which needs colour coding of section heading to organise the information into different types, unfortunately this seems to break the ability of the column to be sortable, which I also need. How can I make the 'Completed Tour' a sortable column?
Thanks very much
John Cummings (talk) 21:41, 19 May 2020 (UTC)
Tour name | Description | Content | Javascript configuration | Completed Tour | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Design | Write | Tour item | Javascript | Test | Publish | Translate | Troubleshoot | Notes | |||
Coordinates | How to add Coordinate statements to items | Done | Done | Done | Done | Done | Done | Live working tour link | |||
Official Website | How to add property statements to items | ||||||||||
Person | Tour on how to create an item about a person with most common properties (link to schema when its available) |
- It's already sortable but the sort arrows are not visible. Use
background-color
instead ofbackground
per Help:Sorting#Background colors in sortable headers. PrimeHunter (talk) 22:38, 19 May 2020 (UTC)- Yes, if you move your mouse cursor into the header cells concerned, you'll see that in some portions of the cell, the arrow pointer changes to a finger pointer revealing the presence of a hotspot, which may be clicked to sort. --Redrose64 🌹 (talk) 08:45, 20 May 2020 (UTC)
- @PrimeHunter: and @Redrose64: thanks so much, works great :) John Cummings (talk) 09:22, 20 May 2020 (UTC)
- @PrimeHunter: and @Redrose64: one last question, is there a way to put code into a table so when the page loads in sorts a specific column, e.g so the 'Completed Tour' column puts all the blank rows at the top. John Cummings (talk) 18:38, 20 May 2020 (UTC)
- No, when a sortable table is first displayed the rows appear in the same order that they occur in the page source. --Redrose64 🌹 (talk) 18:50, 20 May 2020 (UTC)
- OK, thanks @Redrose64:. John Cummings (talk) 21:14, 20 May 2020 (UTC)
- No, when a sortable table is first displayed the rows appear in the same order that they occur in the page source. --Redrose64 🌹 (talk) 18:50, 20 May 2020 (UTC)
- @PrimeHunter: and @Redrose64: one last question, is there a way to put code into a table so when the page loads in sorts a specific column, e.g so the 'Completed Tour' column puts all the blank rows at the top. John Cummings (talk) 18:38, 20 May 2020 (UTC)
- @PrimeHunter: and @Redrose64: thanks so much, works great :) John Cummings (talk) 09:22, 20 May 2020 (UTC)
- Yes, if you move your mouse cursor into the header cells concerned, you'll see that in some portions of the cell, the arrow pointer changes to a finger pointer revealing the presence of a hotspot, which may be clicked to sort. --Redrose64 🌹 (talk) 08:45, 20 May 2020 (UTC)
Misleading message at login
When I log in (with user ID) alternately from two WiFi networks, I receive the email message:
"Someone (probably you) recently logged in to your account from a new device. If this was you, then you can disregard this message. If it wasn't you, then it's recommended that you change your password, and check your account activity."
I am using the same device (iPhone) but with different IP addresses. The message should read "from a new device or using a new IP address". The help files for this message do make this distinction. Jmar67 (talk) 03:19, 21 May 2020 (UTC)
- Which help files do you refer to? The message is MediaWiki:Notification-header-login-success. translatewiki:MediaWiki:Notification-header-login-success/qqq doesn't mention IP address. At Special:Preferences#mw-prefsection-echo the option is MediaWiki:Echo-category-title-login-success: "Login from an unfamiliar device". Clicking The "i" icon displays MediaWiki:Echo-pref-tooltip-login-success: "Notify me whenever somebody logs into my account from an unfamiliar device and IP address." PrimeHunter (talk) 09:47, 21 May 2020 (UTC)
Styling JQuery.UI dialog boxes
This is for a script User:Awesome Aasim/quicknote.js, a script that allows leaving "quick notes" (short personal messages for thanking or coaching editors). I want to stylize the JQuery UI buttons to use the mw-ui styling instead of the default ui styling. How can we do this? I tried removing all the styling associated with JQuery UI and adding the .mw-ui-progressive and .mw-ui-button but that does not stop the JQuery UI styling when someone puts their mouse over the button. Aasim 06:57, 17 May 2020 (UTC) Did some searching on my own. The answer: jquery.ui is deprecated and I should use ooui instead. Will consider this for the future. Aasim 09:57, 21 May 2020 (UTC)
Petscan is down
Petscan is returning a 502 bad gateway error. It's been doing this a few hours a day for awhile now. Seems to happen most often in the evening California time (so around 02:00-05:00 UTC). CJK09 (talk) 02:07, 21 May 2020 (UTC)
- Came here to report the same thing - glad to see I'm not alone. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 03:03, 21 May 2020 (UTC)
- @CJK09 and Ser Amantio di Nicolao: https://petscan-md.toolforge.org is a fork hosted by Mdaniels, might as well try that. --qedk (t 愛 c) 06:53, 21 May 2020 (UTC)
- Feel free to report Petscan issues in its issue tracker, e.g. https://bitbucket.org/magnusmanske/petscan/issues/163/petscans-down --Malyacko (talk) 11:56, 21 May 2020 (UTC)
- @QEDK and Malyacko: Thanks very much - I was unaware of the existence either of the mirror or the issue tracker. Both should prove to be extremely useful in the long run. --Ser Amantio di NicolaoChe dicono a Signa?Lo dicono a Signa. 13:28, 21 May 2020 (UTC)
- Thanks, that fork is a very useful find. I find Petscan is down more often than not when I want to use it. — Jts1882 | talk 13:50, 21 May 2020 (UTC)
- Feel free to report Petscan issues in its issue tracker, e.g. https://bitbucket.org/magnusmanske/petscan/issues/163/petscans-down --Malyacko (talk) 11:56, 21 May 2020 (UTC)
- @CJK09 and Ser Amantio di Nicolao: https://petscan-md.toolforge.org is a fork hosted by Mdaniels, might as well try that. --qedk (t 愛 c) 06:53, 21 May 2020 (UTC)
Linking to gadgets?
Email from [email protected] in Asian script
I received an email from [email protected] in an Asian script, as follows:
नया सदस्य सन्देश ने आपके वार्ता पृष्ठ पर एक संदेश छोड़ा है।
संदेश देखें नया सदस्य सन्देश बदलाव देखें
To control which emails we send you, अपनी पसंद देखें. Wikimedia Foundation, 1 Montgomery Street, Suite 1600, San Francisco, CA 94104, USA
I will click on the thing, but can someone give me some insight as to why I would be receiving this in a non-Roman script?
Robert McClenon (talk) 19:27, 16 May 2020 (UTC)
- Clicking on it takes me to what appears to be the main page of the Hindi Wikipedia. Robert McClenon (talk) 19:31, 16 May 2020 (UTC)
- By the way, when I saw the subject line in my inbox, my first thought was to decipher the header and report it as spam. My second thought is that the Wikimedia software is making a mistake. Robert McClenon (talk) 19:31, 16 May 2020 (UTC)
- @Robert McClenon: According to Special:CentralAuth/Robert McClenon, you visited hi.wikipedia.org, ne.wikipedia.org, and pa.wikipedia.org at about 14:48 today. Hi and pa of apparently have those annoying bots that welcome every single user, so you got an email message in the local language notifying you about a new message on your user talk page. You can disable email notifications on all wikis from Special:GlobalPreferences#mw-prefsection-echo. Suffusion of Yellow (talk) 19:39, 16 May 2020 (UTC)
- Thank you, User:Suffusion of Yellow, but how do I disable email notifications from other wikis while leaving them on for English Wikipedia? Does the global setting override the local, or does the local override the global? Robert McClenon (talk) 01:12, 17 May 2020 (UTC)
- When you first make a global setting it overrides local settings. Afterwards you get a local option "Set a local exception for this global preference". PrimeHunter (talk) 01:41, 17 May 2020 (UTC)
- I don't want to turn off messages that are in English. I am willing to get messages in Hindi if that is needed to get them in English, because I can ignore messages that I can't read. Robert McClenon (talk) 01:14, 17 May 2020 (UTC)
- Thank you, User:Suffusion of Yellow, but how do I disable email notifications from other wikis while leaving them on for English Wikipedia? Does the global setting override the local, or does the local override the global? Robert McClenon (talk) 01:12, 17 May 2020 (UTC)
- Thank you. That answers that. I "visited" those Wikipedias because I was checking on the editing history of a blocked user, and then concluded that I wasn't learning anything, partly because I can't read the scripts. Well, well. Robert McClenon (talk) 19:52, 16 May 2020 (UTC)
- The text above is Hindi; several of the words are found at hi:User talk:Robert McClenon (in particular, सदस्य means User) but I couldn't find any at pa:User talk:Robert McClenon. --Redrose64 🌹 (talk) 20:17, 16 May 2020 (UTC)
- I just thought... Whispyhistory, this is surely something that you can help with. Is it, as we believe, simply a welcome message in Hindi? --Redrose64 🌹 (talk) 20:53, 16 May 2020 (UTC)
- @Redrose64:...It translates to a note saying someone new has left a message on a talk page....nothing else Whispyhistory (talk) 07:20, 17 May 2020 (UTC)
- A bit wrong, it says "New member message (presumably name of the bot) has left..." --qedk (t 愛 c) 14:00, 17 May 2020 (UTC)
- @Redrose64:...It translates to a note saying someone new has left a message on a talk page....nothing else Whispyhistory (talk) 07:20, 17 May 2020 (UTC)
- @Robert McClenon: According to Special:CentralAuth/Robert McClenon, you visited hi.wikipedia.org, ne.wikipedia.org, and pa.wikipedia.org at about 14:48 today. Hi and pa of apparently have those annoying bots that welcome every single user, so you got an email message in the local language notifying you about a new message on your user talk page. You can disable email notifications on all wikis from Special:GlobalPreferences#mw-prefsection-echo. Suffusion of Yellow (talk) 19:39, 16 May 2020 (UTC)
- This issue often comes up on help pages. I have created meta:Welcoming policy with a proposed policy in development: "A wiki is only allowed to post welcome messages to users if their account was originally created at the wiki, or the user has at least one non-imported edit there." PrimeHunter (talk) 20:38, 16 May 2020 (UTC)
- I thought I'd filed a bug report to
complain about thisask that my UI language be used for the e-mail message a few years ago, but I can't find it. (I'm tesitng the upcoming Reply tool: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)?dtenable=1 if you want to try it on this page.) Whatamidoing (WMF) (talk) 19:52, 21 May 2020 (UTC)
- I thought I'd filed a bug report to
Template request
Hello everyone, Here we have Template:Infobox person/Wikidata that fetches Wikidata information and it's useful to saving time on Wikipedia. Now, I want to ask you to create a template like above for Template:Infobox country (It should be Template:Infobox country/Wikidata). Can someone create it? Thanks! ⇒ AramTalk 23:36, 20 May 2020 (UTC)
- Hi Aram. I'm currently working on a similar task (which I believe will take a bit of time). I'd be happy to look into this if no one starts on it by the time I'm done with the task in hand. In the mean time, I'd help speed up things if you can gain consensus on the template talkpage. You may also wish to ask if you really need a separate template subpage for Wikidata, or code it on the main template as {{Infobox power station}} does. Cheers, Rehman 04:01, 21 May 2020 (UTC)
- @Rehman: Thanks for the reply! I asked here again to gaining consensus. ⇒ AramTalk 20:44, 21 May 2020 (UTC)
Postal code for Romblon, Romblon
The rendered infobox in the Romblon, Romblon article says Zip Code 5505. List of ZIP codes in the Philippines article and http://www.phlpost.gov.ph/ say that 5500 is Romblon, Romblon and 5505 is Odiongan, Romblon. The Odiongan article says that 5505 is for Odiongon. The relevant infobox parameter says postal_code = {{PH wikidata|postal_code}}
. Template:PH wikidata isn't much help in figuring out where to fix this or to get it fixed. Wtmitchell (talk) (earlier Boracay Bill) 18:14, 21 May 2020 (UTC)
- Wtmitchell, you click the wikidata item link in the sidebar of the article you want to correct, find the data field in the item page and correct it. Or override the local en.wp value by providing it as the infobox param ‘postal_code’ —TheDJ (talk • contribs) 18:39, 21 May 2020 (UTC)
- Thanks. Done. Wtmitchell (talk) (earlier Boracay Bill) 22:14, 21 May 2020 (UTC)
Template:Transclude random excerpt appears not to be excluding infoboxes, causing non-free content in portal space
Hi all. There are currently ~40 non-free images in Portal:Speculative fiction/Selected works. It appears that the portal uses {{Transclude random excerpt}} to pull excerpts from articles, however there are two issues that I can see with that:
- The excerpts appear not to be current versions of the articles
- The excerpts include infoboxes, which means that they render non-free content outside the article namespace (a violation of WP:NFCC #9)
I don't understand the template enough to diagnose/fix the issue. Assistance would be appreciated. The Squirrel Conspiracy (talk) 04:39, 22 May 2020 (UTC)
Sending a POST to the API to purge
The situation: I've been working on Category:United States articles with invalid parameters starting with those headings that list the most pages. Under heading "N", several hundred pages were showing because they use |New Hampshire=yes
due to an error in the template documentation (since fixed). To avoid amending all those page individually, I amended the template to allow it as an alias for |New-Hampshire=yes
.
The problem: Go to the category and in the TOC, click on "Na". Expected result: it should go straight to the "O" heading because there are no longer any pages with invalid parameters that begin "N" or "n". Actual result: it lists something like 450 pages under the "N" heading.
The slow fix: Go to any one of those pages, preferably one which has the words "New Hampshire" in the title; perform a WP:NULLEDIT; return to the category page; reload and observe that the page visited is no longer listed. I don't want to do this 450 times.
The quick fix: in the old days I could visit https://en.wikipedia.org/w/api.php?action=purge&forcerecursivelinkupdate&titles=Template:WikiProject_United_States but when I try this, it complains as follows:
{
"error": {
"code": "mustbeposted",
"info": "The \"purge\" module requires a POST request.",
"*": "See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
},
"servedby": "mw1388"
}
Now, I know how to put together a HTML form to send a POST request - it would be
<form action="https://en.wikipedia.org/w/api.php" method=post>
<input name=action value=purge />
<input name=forcerecursivelinkupdate value=1 type=hidden />
<input name=titles value="Template:WikiProject United States" />
<input type=submit value=Go />
</form>
but when I try this, it returns
{
"batchcomplete": "",
"purge": [
{
"ns": 10,
"title": "Template:WikiProject United States",
"purged": "",
"linkupdate": ""
}
]
}
and the category page doesn't change. What am I doing wrong here? --Redrose64 🌹 (talk) 22:02, 20 May 2020 (UTC)
- @Redrose64: The purge and linkupdate are both successful because both the parameters are returned. The issue lies in how categories are cached, phab:T26575 might be related. --qedk (t 愛 c) 22:09, 20 May 2020 (UTC)
- Redrose64, also FYI you can use Special:ApiSandbox to make POST requests to the API, thought it might be a little helpful. – BrandonXLF (talk) 23:17, 20 May 2020 (UTC)
- Redrose64 You can also do it with User:Ahecht/Scripts/UTCLiveClock. --Ahecht (TALK
PAGE) 16:53, 21 May 2020 (UTC)- It doesn't work, whether I try it at the category page or at the template that populates the category. Looking at the code for your script, the line is sending the same information to the API as my form above. The problem as I see it is that a category page shows entries that are presently in the link table, whether those are correct or not, but a purge doesn't update the link tables. An edit (if only a WP:NULLEDIT) is necessary for that, --Redrose64 🌹 (talk) 19:51, 21 May 2020 (UTC)
new mw.Api().post( { action: 'purge', forcerecursivelinkupdate: '1', titles: mw.config.get( 'wgPageName' ) } ).then( function () {
- @Redrose64: I have some confused notes on purging accumulated over the years with much of it probably out of date. One point (which the note says is from the API docs) states that forcerecursivelinkupdate uses the job queue and so will not immediately purge anything. I have a Python script which I occasionally use to purge pages while fixing an error category. I just tried it on the first 16 entries under your Na link above. After purging (a few seconds) the 16 entries were no longer on the category page. The script uses a POST with forcelinkupdate=1 on each title copied to the clipboard, pausing for 65 seconds after every 30 titles to avoid tripping the server's rate limiter. Johnuniq (talk) 23:40, 21 May 2020 (UTC)
- Meantime, I have found that the pages which are incorrectly showing in Category:United States articles with invalid parameters are also incorrectly not showing in Category:WikiProject New Hampshire articles. --Redrose64 🌹 (talk) 09:51, 22 May 2020 (UTC)
- @Redrose64: I have some confused notes on purging accumulated over the years with much of it probably out of date. One point (which the note says is from the API docs) states that forcerecursivelinkupdate uses the job queue and so will not immediately purge anything. I have a Python script which I occasionally use to purge pages while fixing an error category. I just tried it on the first 16 entries under your Na link above. After purging (a few seconds) the 16 entries were no longer on the category page. The script uses a POST with forcelinkupdate=1 on each title copied to the clipboard, pausing for 65 seconds after every 30 titles to avoid tripping the server's rate limiter. Johnuniq (talk) 23:40, 21 May 2020 (UTC)
- It doesn't work, whether I try it at the category page or at the template that populates the category. Looking at the code for your script, the line
- Redrose64 You can also do it with User:Ahecht/Scripts/UTCLiveClock. --Ahecht (TALK
- Redrose64, also FYI you can use Special:ApiSandbox to make POST requests to the API, thought it might be a little helpful. – BrandonXLF (talk) 23:17, 20 May 2020 (UTC)
Edit box, cursor color
Hi, Today I "discovered" in Notepad++ (my fav.text editor) that I can change cursor color. So I made it Red & it's highly visible now. Wondering if that is also possible within Wikipedia edit box? If yes, please let me know how to do, or maybe a gadget. Thanks. JoeNMLC (talk) 21:29, 21 May 2020 (UTC)
- The CSS property is caret-color, according to a quick google search. ST47 (talk) 22:09, 21 May 2020 (UTC)
- In theory you would use a CSS rule like but that won't work in all browsers, since it's only been a W3C Recommendation since 21 June 2018. --Redrose64 🌹 (talk) 22:25, 21 May 2020 (UTC)
textarea { caret-color: red; }
- It is supported for most users. --Izno (talk) 23:16, 21 May 2020 (UTC)
- It works great (Firefox browser)...Thanks, JoeNMLC (talk) 23:58, 21 May 2020 (UTC)
- Wow, it had never even occurred to me to wonder if something like that property would even exist. (Can't search for what you don't know that you don't know, ya know?) Learned something today, thanks, all! — Pelagic ( messages ) Z – (21:29 Fri 22, AEST) 11:29, 22 May 2020 (UTC)
- @Pelagic: I don't know of a general index of CSS properties, so I rummage around. Once a year (or whenever I remember to) I look through the current W3C Recommendations to see what's new - helpfully, they're shown in reverse date order, newest first. Most documents have a "Property Index" near the bottom;
caret-color:
is listed here, along with nine others. Five of the ten are new, five were brought forward from the CSS 2.1 spec (and thus have universal support); but the doc doesn't say which five. --Redrose64 🌹 (talk) 16:32, 22 May 2020 (UTC)
- @Pelagic: I don't know of a general index of CSS properties, so I rummage around. Once a year (or whenever I remember to) I look through the current W3C Recommendations to see what's new - helpfully, they're shown in reverse date order, newest first. Most documents have a "Property Index" near the bottom;
- Wow, it had never even occurred to me to wonder if something like that property would even exist. (Can't search for what you don't know that you don't know, ya know?) Learned something today, thanks, all! — Pelagic ( messages ) Z – (21:29 Fri 22, AEST) 11:29, 22 May 2020 (UTC)
- It works great (Firefox browser)...Thanks, JoeNMLC (talk) 23:58, 21 May 2020 (UTC)
- It is supported for most users. --Izno (talk) 23:16, 21 May 2020 (UTC)
VE and NWE feedback page
In Visual Editor and New (2017) Wikitext Editor, there is a ? button with an item "Leave feedback about this software". If the user selects that, they get a form that posts their feedback to mw:VisualEditor/Feedback, except on English Wikipedia where it posts to en:wp:VisualEditor/Feedback.
At at the top of that page, there is a highlighted line: This page is not actively monitored by Wikimedia Foundation staff. You may consider leaving your feedback on mediawiki.org or filing a task on the bug tracker. (I haven't investigated when that was added or by whom. AFAIR, it's been there for quite a while.)
The issue is: anybody filling out the form won't see that warning message. As of Special:Permalink/957931891, there were 35 sections on the page, and 6 of them had replies.
Questions:
- How do you feel about changing that form to target the MediaWiki page instead of the en-wp page?
- Is this the right forum? And is an informal discussion here sufficient, or do we need a full-blown RFC?
— Pelagic ( messages ) Z – (22:32 Fri 22, AEST) 12:32, 22 May 2020 (UTC)
Change to Return character?
Has there been some recent change to the return/newline characters in edit mode, like for example some sort of hard carriage return? Recently, I'm constantly seeing a new problem where the down arrow does not work to take the cursor below a blank line, and where after clicking to move the cursor down, the delete key deletes two lines instead of one – exactly as if some kind of hard two-line return had been there. It only happens in the Wikipedia edit window, so I don't believe it's a MacOS/Safari glitch. Anyone else seeing this? It's a pain ... Justlettersandnumbers (talk) 20:57, 22 May 2020 (UTC)
- Visual editor or text editor? ST47 (talk) 04:36, 23 May 2020 (UTC)
- If the proper text editor, then there hasn't been any recent change, and since it's just a text area, any behavior change would be on your browser. If the visual editor, who knows what wacky things are happening with that, although I haven't heard this particular complaint. ST47 (talk) 04:38, 23 May 2020 (UTC)
Why is the uploaded file still a red link?
Hello! I uploaded a file to Commons File:P132-RUS.svg but I can't understand why it is still a red link on WP — File:P132-RUS.svg. --Александр Мотин (talk) 04:43, 23 May 2020 (UTC)
- Александр Мотин, this is bug phab:T253405. Galobtter (pingó mió) 05:04, 23 May 2020 (UTC)
- Thank you for the information.--Александр Мотин (talk) 05:09, 23 May 2020 (UTC)
Preview and Firefox
Only on English Wikipedia. I don't have this issue on Wikisource, Commons, or anywhere else. Hit and miss. For the last 2 or 3 hours, editing has been odd in not showing the preview. I can open the edit screen, and type in it. If I try for a preview, it's hit and miss, which sometimes completely wipes out my edit before I save it. Thought it might be related to Phabricator at phab:T253405, which was filed by someone on Commons 1 in relation to images not showing up on English Wikipedia. Re-posting this message, as the system completely wiped it out when I previewed. — Maile (talk) 20:04, 22 May 2020 (UTC)
- OK. The stupid quirk IS browser specific to Firefox, but not Chrome. It does not happen on Edge. Problem is ... I'm spoiled with Firefox and find Chrome edit screen difficult for me to see. I absolutely hate the visuals on Edge and cannot bear to use that browser to edit in Wikipedia. — Maile (talk) 00:11, 23 May 2020 (UTC)
- Here's another oddball thing about this in Firefox. I open an edit window, and I can get Preview mode exactly one time. If I click on "Show Preview" again, not only does it wipe out my edit, but it takes the edit window to the very top of this talk page. Right up to the "short description"" template at the top. This is very strange. — Maile (talk) 01:29, 23 May 2020 (UTC)
- I can't reproduce on Firefox. What version of firefox are you using? And what preferences do you have in Special:Preferences regarding previews? Galobtter (pingó mió) 05:09, 23 May 2020 (UTC)
- Firefox 76.0.1 (32-bit), Show preview before edit box. As I type this - without clicking on Show Preview - the preview is automatically showing at the bottom of the screen (as opposed to yesterday when it didn't show at all). But if I now click on Show Preview, it previews the entire page - not just this section - at the bottom of the page, without my edit here. Clicked on Preview again, and it previews only the section. Click on Preview again, and it gives me a preview of the entire page without my edits. — Maile (talk) 10:53, 23 May 2020 (UTC)
- I've changed my Preferences to "Show previews without reloading the page" So far, so good. — Maile (talk) 10:59, 23 May 2020 (UTC)
Media viewer image description text is often inaccurate, irrelevant, and/or in a foreign language
I've noticed that the description text for images when opened in Media Viewer is often completely irrelevant to the context and/or in a foreign language that the enwiki reader cannot and should not be expected to understand. My guess is that these descriptions are being imported from Commons or somewhere else outside en.wiki. I don't see a good reason why these should be shown instead of the local captions on the article, when they exist. CJK09 (talk) 09:33, 23 May 2020 (UTC)
- Please always include an example when you report an issue. I see the local caption on tested examples, e.g. "Wales at the Creative Commons Board Meeting in June 2008" at Jimmy Wales#Personal philosophy. If you are thinking of an infobox then the local page probably doesn't have a MediaWiki image caption but the infobox is just coded to show a caption parameter after the image. The infobox on Jimmy Wales generates this:
[[File:Jimmy Wales - August 2019 (cropped).jpg|frameless|upright=1]]<div>Wales in August 2019</div>
. It might be difficult for Media Viewer to determine when it's reasonable to display such texts as captions. I guess it only examines the image code. PrimeHunter (talk) 11:40, 23 May 2020 (UTC)
Removing the residence parameter
I'm totally clueless about templates, but someone suggested that this might be the place to find a template editor to remove the deprecated "Residence =" parameter from template:Infobox artist.ThatMontrealIP (talk) 22:01, 23 May 2020 (UTC)
- I sent TMIP here so I hope this is the correct place. There might be templates other than the "artist" one that also still have the field. If anyone knows of such and can remove it there as well that would be most helpful. MarnetteD|Talk 22:23, 23 May 2020 (UTC)
- Done for Infobox artist. – Jonesey95 (talk) 22:28, 23 May 2020 (UTC)
- It was already ignored except for adding Category:Infobox person using residence. I have removed mention from the documentation.[26] PrimeHunter (talk) 22:37, 23 May 2020 (UTC)
- thank you all!ThatMontrealIP (talk) 23:04, 23 May 2020 (UTC)
- The parameter is automatically ignored in wrapper templates for {{Infobox person}} but here is a search if somebody wants to look for other documentation to update, and maybe remove
residence
from the passed and accepted parameters. Considering Template talk:Infobox person#Place of residence I don't know whether the issue is completely settled. PrimeHunter (talk) 00:01, 24 May 2020 (UTC)
- The parameter is automatically ignored in wrapper templates for {{Infobox person}} but here is a search if somebody wants to look for other documentation to update, and maybe remove
- thank you all!ThatMontrealIP (talk) 23:04, 23 May 2020 (UTC)
- It was already ignored except for adding Category:Infobox person using residence. I have removed mention from the documentation.[26] PrimeHunter (talk) 22:37, 23 May 2020 (UTC)
- Done for Infobox artist. – Jonesey95 (talk) 22:28, 23 May 2020 (UTC)
Gap at the bottom of Talk:Detective Pikachu (film)
I noticed that Talk:Detective Pikachu (film) seems to always show a gap between the bottom-most comment and the categories despite not having a template at the bottom that says to do so, regardless of how many new sections or comments are added. Perhaps, there might be some wikitext on the page (not at the bottom) that causes this to happen, and if possible, this part should be removed to get rid of the gap. GeoffreyT2000 (talk) 00:41, 24 May 2020 (UTC)
- @GeoffreyT2000: Fixed it. I did a "View Page Source" in Firefox and found there was an invisible "cite error" message at the foot of the page. Fixing the cite error made the white space disappear. -- John of Reading (talk) 06:41, 24 May 2020 (UTC)
- @GeoffreyT2000 and John of Reading: It's a hidden error message, which may be revealed thus. --Redrose64 🌹 (talk) 09:02, 24 May 2020 (UTC)
Parameter "selected" passed to Template:Navbox
Template:Navbox with collapsible groups allows creating a navbox, where all but one of the groups are collapsed by default. The group that is not collapsed is determined by the parameter |selected=
. On the other hand, {{Navbox}} does not have a parameter |selected=
.
While working on Template:National Register of Historic Places in New York, I've noticed that it passed |selected={{{1|}}}
to {{Navbox}}. This seems to be a widespread issue. In case of {{National Register of Historic Places in New York}}, it used the non-existent parameter |selected=
from the very beginning: Special:Permalink/332718207. Should we remove all of those erroneous parameters |selected=
being passed to {{Navbox}}? —andrybak (talk) 11:31, 24 May 2020 (UTC)
- A template is sometimes changed between using using {{Navbox}} and {{Navbox with collapsible groups}}. The parameters are so similar that you can usually just swap. Maybe some of the templates used {{Navbox with collapsible groups}} in the past or will in the future, and then it makes sense to pass on
selected
from articles. I suppose there could also come a time where {{Navbox}} uses it to emphasize the group in some way. I would just leave it. PrimeHunter (talk) 14:17, 24 May 2020 (UTC)
Template:Flatlist does not display correctly on mobile
I am not exactly sure whether this was raised before (not seeing related discussions in the archives of MediaWiki talk:Common.css and Template talk:Flatlist though) so raising it here.
The issue is that flatlists' bullets do not show up on the mobile site (see Template:Flatlist/doc for an example; those using {{Hlist}} appear to work fine). Using inspect element, it appears that the li elements from {{Flatlist}} do not have the ::after
used to display bullets, hence the issue.
There appears to be a handful of items raised in Phabricator related to hlist on mobile site (phab:T169315, phab:T235416, ...) but not sure whether this one falls under any of them. Would be great if anyone could provide some pointers. ネイ (talk) 15:15, 24 May 2020 (UTC)
- I added the class
hlist-separated
to the sandbox, although I'm not sure exactly what it does. Please see Template:Flatlist/testcases for a comparison. Did you consider bringing up this issue at Template talk:Flatlist? – Jonesey95 (talk) 15:54, 24 May 2020 (UTC)- Raised here because I thought there wouldn't be a simple fix :) (Read several of those items before asking and the discussions there just gave me this impression.)
- Comparison from the testcases page looks fine, and given that
hlist-separated
is only available in the mobile site this change looks safe to be reflected in Template:Flatlist. Wonder if you could help or if you need a template-protected edit request raised? (P.S. thehlist-separated
class seems to do this.) ネイ (talk) 16:43, 24 May 2020 (UTC)
Sending pings Comment
Hello, I need to start a discussion with a project and I know not many people read the talk pages regularly. I have seen it before, but how can I ping all volunteers of the project at once without copy/paste individually?
Galendalia (talk) 18:25, 23 May 2020 (UTC) Spoken Wikipedia Project Coordinator
- You cannot, unless your secret project already has the names in a list you can copy, maybe with some regex help to get the right format. Why do so many people conceal which page they are posting about? Maybe you are thinking of Wikipedia:Mass message senders but that also requires a list of recipients. If you try pings then note you can ping at most 50 users in the same edit, and the edit must have its own line/paragraph and signature. PrimeHunter (talk) 18:56, 23 May 2020 (UTC)
- I am not "secretly hiding" anything. It is for my general knowledge as well as to use when I start a discussion such as on Wikipedia_talk:Dispute_resolution_noticeboard where I need to get a consensus on something from the volunteers. Same with the volunteers at Spoken Media (it is also in my signature). I have seen something similar to {{ping|some page participates (listed as a group)}} or something to that effect. Thanks, Galendalia (talk) 19:06, 23 May 2020 (UTC) Spoken Wikipedia Project Coordinator
- Your signature has a red link to WP:Speak and there is no "Spoken Media" project. I assume you mean WP:SPEAK and Wikipedia:WikiProject Spoken Wikipedia.
{{ping|some page participates (listed as a group)}}
will clearly depend on whether such a page exists for the group and how it's formatted. Every user page has to be linked in the edit. It's possible to transclude them from somewhere but I haven't seen examples of this. We have {{Ping group}} but it still requires the users to be listed. Wikipedia:WikiProject Spoken Wikipedia/Participants and Wikipedia:Dispute resolution noticeboard/Volunteering#List of the DRN volunteers have more than 50 users so they cannot be pinged in one edit. PrimeHunter (talk) 20:15, 23 May 2020 (UTC)- (You mean like {{@ArbComClerks}} and {{@DRNV}}? —Cryptic 21:26, 23 May 2020 (UTC))
- PrimeHunter and Cryptic Yes! That is what I am talking about. So for the project, the project participants are on a separate page Wikipedia:WikiProject_Spoken_Wikipedia/Participants. I expect the participant list to go down as some people have not expressed an interest yet, even though they have until the 30th before they are moved to inactive. Right now I may create a separate list of just the ones I know who are active and currently working on something, but my idea is to save time and not ping individually. I am no longer part of DRN, so that is mute. Galendalia Talk to me CVU Graduate 17:07, 24 May 2020 (UTC) Spoken Wikipedia Project Coordinator
- (You mean like {{@ArbComClerks}} and {{@DRNV}}? —Cryptic 21:26, 23 May 2020 (UTC))
- Your signature has a red link to WP:Speak and there is no "Spoken Media" project. I assume you mean WP:SPEAK and Wikipedia:WikiProject Spoken Wikipedia.
Requesting help with adding new link to Module:UserLinks
The "Adding new links" section of Template:User-multi's documentation references how instructions are in the module source for adding new links. However, I do not see any such instructions? Could someone please assist me in adding the ability to preload a new talk page section (soo....the param value would be what to preload)? Thanks! (posting here per Enterprisey's suggestion). --TheSandDoctor Talk 02:45, 25 May 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes later this week
- The visual editor will now work in the Modern skin. The changes that needed to happen for this to work could cause problems for some scripts or gadgets. [27]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from May 26. It will be on non-Wikipedia wikis and some Wikipedias from May 27. It will be on all wikis from May 28 (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
14:17, 25 May 2020 (UTC)
Some CSS for Vector has been simplified
moved to WP:IANB#T252467: Remove "div" qualifier from user CSS @SGrabarczuk (WMF): You might prefer to move this comment to WP:IANB#T252467: Remove "div" qualifier from user CSS where we were already discussing it. --Izno (talk) 16:44, 25 May 2020 (UTC)
Change colors for my display?
Is there a way I can change how internal links are shown to me so the colors are more distinct between visited and unvisited internal links? Thank you. RJFJR (talk) 14:10, 22 May 2020 (UTC)
- See Help:Link color. PrimeHunter (talk) 14:45, 22 May 2020 (UTC)
- Thank you. That's a nice concise answer. Oddly I needed to change "a:link:visited" to "a:visited". RJFJR (talk) 02:56, 23 May 2020 (UTC)
- @RJFJR: It's not odd at all -
:link
is for links that are not visited, whereas:visited
is for visited links, andthe two states are mutually exclusive
, so you can't specify both on the same selector. --Redrose64 🌹 (talk) 14:23, 23 May 2020 (UTC)- Help:Link color#Styling all links just for you says this: Should some of that be changed or removed? There are two
/* standard link colors */ .mw-body-content a:link { color: #0000FF; } /* normal unvisited links */ .mw-body-content a:link:visited { color: #0B0080; } /* visited links */ .mw-body-content a:link:active { color: #FF0000; } /* active links */ .mw-body-content a:link.new { color: #FF0000; } /* new links */ .mw-body-content a:link.extiw { color: #3366BB; } /* interwiki links */ .mw-body-content a:link.external { color: #3366BB; } /* external links */ .mw-body-content a:link.stub { color: #772233; } /* hovered links */ .mw-body-content a:link {color: #FF0000} .mw-body-content a:visited {color: #00FF00} .mw-body-content a:hover {color: #FF00FF} .mw-body-content a:active {color: #0000FF}
a:link
with different colors, and onea:link:visited
. PrimeHunter (talk) 16:17, 23 May 2020 (UTC)- They seem very wrong - for
.mw-body-content a:link
, } for.mw-body-content a:visited
- does anybody see those? Inspecting the style sheets for Vector when logged out reveals these:with the much more believable for regular links, fora { color:#0645ad; } a:visited { color:#0b0080 } a:active { color:#faa700 } a.stub { color:#723 } a.new, #p-personal a.new { color:#ba0000 } a.mw-selflink:active, a.mw-selflink:visited { color:inherit } a.new:visited, #p-personal a.new:visited { color:#a55858 }
a:visited
. --Redrose64 🌹 (talk) 18:21, 23 May 2020 (UTC)
- They seem very wrong - for
- Help:Link color#Styling all links just for you says this:
- @RJFJR: It's not odd at all -
- Piggybacking on the question above, I've looked at Help:Link color and can't figure out how to do what I want. I'd like to make the difference between visited and unvisited wikilinks more clear on my screen without changing other colors. Most likely would be to make unvisited wikilinks that are not redirects or redlinks a lighter blue. I've fooled with User:SchreiberBike/vector.css, but I don't really understand what I'm doing. Thanks for any help. SchreiberBike | ⌨ 22:37, 25 May 2020 (UTC)
- Thank you. That's a nice concise answer. Oddly I needed to change "a:link:visited" to "a:visited". RJFJR (talk) 02:56, 23 May 2020 (UTC)
Please drill - WikimediaFoundationError
Can someone drill ALL the way down on
- If you report this error to the Wikimedia System Administrators, please include the details below.
- Request from x.x.x.x via cp1081 frontend, Varnish XID 986350071
Error: 503, Backend fetch failed at Sun, 24 May 2020 08:46:48 GMT
- Request from x.x.x.x via cp1081 frontend, Varnish XID 992843364
Error: 503, Backend fetch failed at Sun, 24 May 2020 09:00:31 GMT
- Request from x.x.x.x via cp1081 frontend, Varnish XID 986350071
This is about the WikimediaFoundationError problem(s) I've reported more than once (going back many months; no, the REBOOT didn't fix it). Pi314m (talk) 11:44, 24 May 2020 (UTC)
- Pi314m, there is a small spike in 500 errors on that server around that time, but as you are the only one reporting this, it doesn’t seem too common and that also means. That it is harder to find a cause. Like stepping in a needle in a haystack. —TheDJ (talk • contribs) 17:04, 24 May 2020 (UTC)
- Without further information, it will be very difficult to help you. Please follow the instructions at mw:How to report a bug to report the issue on Phabricator. Only a small number of people have access to the logs that would help investigate the issue, and they watch Phabricator, not here. --AntiCompositeNumber (talk) 01:06, 26 May 2020 (UTC)
Update babel description
I can't figure it out how to update babel description. For example is in User:Wirjadisastra's infobox, there's a word "Panganggo" and I want to update it to "Naraguna" but I can't find where to change it. The jv.wiki community has been decided to change the word Panganggo (User) to Naraguna [28]. Diki Ananta ● Talk 08:09, 26 May 2020 (UTC)
- Translation is done on Translatewiki.net. Here's a direct link for jv. You can change the language you want with the top right language selector. – Ammarpad (talk) 09:19, 26 May 2020 (UTC)
- @Ammarpad: Okay, thanks for the directions. Diki Ananta ● Talk 09:29, 26 May 2020 (UTC)
Template:Refideas issue
Talk:Ojos_de_Mar has a Template:Refideas transclusion that isn't working properly, even though a similarly formatted item on Talk:African humid period does work. Jo-Jo Eumerus (talk) 09:29, 26 May 2020 (UTC)
- Ah, but it's not similarly formatted; the second one doesn't have equals signs in all of the parameters (it's got an equals in one paramarer, but you may not have noticed in that forest of links that the "Neolithic Mounds of Tassili and Amguid in the Satellite Google Maps" one isn't showing). See Template:Refideas#URLs containing equals signs; this fixes your first one;. --Redrose64 🌹 (talk) 10:38, 26 May 2020 (UTC)
- Thanks, got that one. Jo-Jo Eumerus (talk) 12:47, 26 May 2020 (UTC)
- @Jo-Jo Eumerus: If you're now wondering why Development of Hurricanes in Megalake Chad and Some additional discussion of Lake Turkana are not showing at Talk:African humid period, it's because
{{Refideas}}
only allows 21 items and you now have 23. --Redrose64 🌹 (talk) 18:28, 26 May 2020 (UTC)- Yeah, I know about that problem. I am hoping to prune that list in a month, when I can get back to large wikiprojects. Jo-Jo Eumerus (talk) 18:42, 26 May 2020 (UTC)
- @Jo-Jo Eumerus: If you're now wondering why Development of Hurricanes in Megalake Chad and Some additional discussion of Lake Turkana are not showing at Talk:African humid period, it's because
- Thanks, got that one. Jo-Jo Eumerus (talk) 12:47, 26 May 2020 (UTC)
Edit filters to enforce topic bans
Topic bans in their current form have several problems. The boundaries of a topic area aren't always clearly defined and this generates a lot of overhead for users under the ban (could this possibly be seen as a violation?) and on the admins with limited knowledge of topics who have to look at borderline diffs and judge whether or not a block is deserved. There is ambiguity in the "broadly construed" language we routinely use in bans and it's normal for different admins to come to different conclusions. We also waste a lot of time dealing with editors who mess up by accident or who test the boundaries the day after a topic ban is imposed. (We generally give editors a pass on their first violation, but that doesn't prevent 16 people from arguing about it every time it happens.)
It would be nice if there were some way to create a topic ban with bright line boundaries that automatically prevented users from editing certain pages. I had high hopes for WP:Partial blocks when they came out, but those limit you to blocking up to 10 pages at a time if I remember correctly, and they really clutter up the block log.
But I think an edit filter could do the trick. I imagine an edit filter that would stop a specific users from editing articles belonging to specific categories. Or block them from editing pages belonging to a specific WikiProject. For example, I could ban a user from BLPs by using Category:Living people or from Arab-Israeli conflict using WP:WikiProject Israel Palestine Collaboration. These bans would be more narrow than our typical "broadly construed" bans, but that might be desirable in some cases, especially with the no fuss bright line benefit. Sometimes I only want to ban someone from editing biographies and not from editing any material remotely related to a living person.
Another option would be to warn users when they try to edit pages in a category. Something along the lines of "You are attempting to edit a page in the category "Living people". Are you certain you wish to proceed?" That would take a bit of overhead off of users and admins by taking away the excuse "I didn't know that was a violation." ("Oh really? You triggered the edit filter.") Warnings could also be used for more narrow topic bans... if a user were banned from baseball articles, you could warn them if text they're adding/removing includes the word "baseball". This would also be in harmony with our ethos of us wanting competent editors to self-police. It just helps them avoid screwing up.
I know that we are always hesitant to add new filters because they add a minuscule but cumulative delay to all the other edits on the project. Would there be a way of implementing this so the filter only computes for editors under sanctions and short circuits otherwise? (If the editor is on this list, proceed and search the page for the categories, otherwise skip this filter.) And would there be a way to implement it so that admins placing sanctions didn't have to edit filters directly? (Example: admins just add the username and category to a protected page somewhere on the project that is referenced by the filter)
Thoughts? ~Awilley (talk) 22:46, 25 May 2020 (UTC)
- "implementing this so the filter only computes for editors under sanctions and short circuits otherwise?" is definitely possible. "would there be a way to implement it so that admins placing sanctions didn't have to edit filters directly?" is possible if a bot updated the filter, which mostly would require phab:T213037. So technically this is largely doable.
- Personally I don't this is a good idea. People who boundary test who are only prevented by an edit filter will still find ways to be disruptive, and I don't think micromanaging editors is worthwhile; our efforts are better spent retaining non-disruptive editors. Any technical solution that isn't 100% equivalent to the sanction imposed would cause more drama with editors complaining they weren't warned by the filter. There's also issues regarding any editor being able to add pages to a category to stop someone from editing them. Galobtter (pingó mió) 23:31, 25 May 2020 (UTC)
- @Galobtter: Why can't the sanction imposed be 100% equivalent to technical solution? Example: "You are topic banned from editing all pages in Category:Living persons." And if a malicious editor were discovered adding categories to pages where they don't belong for the purpose of blocking their colleagues that would be a clear case of WP:Hounding and easily sanctionable. You say "our efforts are better spent retaining non-disruptive editors". The whole point of a topic ban is to retain editors who are generally productive but tend to be disruptive in one topic area. I would imagine that if you talk to non-disruptive editors who are under a topic ban they would tell you that they'd prefer having a bright line that they can't accidentally cross rather than having to constantly worry about treading in some grey area. Take a minute and imagine yourself topic banned from living persons broadly construed. How many articles can you think of that don't have content related to living persons? ~Awilley (talk) 00:05, 26 May 2020 (UTC)
Why can't the sanction imposed be 100% equivalent to technical solution?
Certainly can, but I could definitely see issues where the "spirit" of the sanction is different. If an editor found pages that weren't properly categorized or tagged and specifically edited those, that could lead to drama.- Someone has to be quite disruptive to get a ban from all living persons, and tbh I have actually wondered about the work-ability of a ban from all living persons, having the same question re the amount of articles that don't talk about living people. But that would IMO call for narrower topic bans (say a ban from editing articles primarily about a living person or people) or a site ban as appropriate than a technical restriction. Anways, I think further discussion might be more suited to WP:VPI than WP:VPT :) Galobtter (pingó mió) 00:17, 26 May 2020 (UTC)
- Maybe so. I figured I'd see if it was technically possible first. But since you're here, here's another example. You recently commented on a proposal that would potentially have a large number of newer POV-pushing editors and SPAs finding themselves with 6-month topic bans from "Donald Trump and Joe Biden broadly construed". Depending on how that's interpreted that could be a pretty broad ban because of User:GreenMeansGo/The Trump Horizon (everything can be related to Trump). If these hypothetical temporary bans were enacted, imagine the administrative burden of explaining "broadly construed" to dozens of users and following up and judging violations in AE reports. A cleaner approach would be to simply block them from editing pages in Category:Donald Trump and Category:Joe Biden. It would still achieve the desired result of preventing disruption in election-related articles, but with less work for everybody involved (admins, banned editors, and editors monitoring/reporting violations). And if some of those editors moved on to disrupt loosely related articles (say, Coronavirus) then that could be dealt with separately. ~Awilley (talk) 01:04, 26 May 2020 (UTC)
- That's why topic bans are usually for the entire American Politics DS area. I can't imagine someone being disruptive on Donald Trump related articles but not on other American politics related articles, and to my recollection whenever a narrow topic ban within AP2 was imposed it generally had to be extended to the whole area. Galobtter (pingó mió) 01:53, 26 May 2020 (UTC)
- Maybe so. I figured I'd see if it was technically possible first. But since you're here, here's another example. You recently commented on a proposal that would potentially have a large number of newer POV-pushing editors and SPAs finding themselves with 6-month topic bans from "Donald Trump and Joe Biden broadly construed". Depending on how that's interpreted that could be a pretty broad ban because of User:GreenMeansGo/The Trump Horizon (everything can be related to Trump). If these hypothetical temporary bans were enacted, imagine the administrative burden of explaining "broadly construed" to dozens of users and following up and judging violations in AE reports. A cleaner approach would be to simply block them from editing pages in Category:Donald Trump and Category:Joe Biden. It would still achieve the desired result of preventing disruption in election-related articles, but with less work for everybody involved (admins, banned editors, and editors monitoring/reporting violations). And if some of those editors moved on to disrupt loosely related articles (say, Coronavirus) then that could be dealt with separately. ~Awilley (talk) 01:04, 26 May 2020 (UTC)
- @Galobtter: Why can't the sanction imposed be 100% equivalent to technical solution? Example: "You are topic banned from editing all pages in Category:Living persons." And if a malicious editor were discovered adding categories to pages where they don't belong for the purpose of blocking their colleagues that would be a clear case of WP:Hounding and easily sanctionable. You say "our efforts are better spent retaining non-disruptive editors". The whole point of a topic ban is to retain editors who are generally productive but tend to be disruptive in one topic area. I would imagine that if you talk to non-disruptive editors who are under a topic ban they would tell you that they'd prefer having a bright line that they can't accidentally cross rather than having to constantly worry about treading in some grey area. Take a minute and imagine yourself topic banned from living persons broadly construed. How many articles can you think of that don't have content related to living persons? ~Awilley (talk) 00:05, 26 May 2020 (UTC)
- The problem here is the same problem that led to the WMF “postponing” category blocks: it would effectively give non-admins the ability to sanction editors under DS/community authorization and would lead to wikilawyering of TBANs because of technical constraints. As an example of a former. I TBAN the long-suffering User:ThisIsaTest from ARBPIA and that rapscallion User:Example who is on the other side of said dispute knows that ThisIsATest is passionate about the subject of grape leaves (who wouldn’t be. They’re delicious.) User:Example then adds Category:Banned Category to Grape leaves. He has now TBAN’d his nemesis from a page without ever passing RfA. Also, while I did have some fun with this example, I also just blocked someone for edit warring over whether falafel was Israeli or Palestinian, so it’s not that far-fetched. TonyBallioni (talk) 01:11, 26 May 2020 (UTC)
- Ha! That is a fantastic example :-) I'll have to think about that some more, but my gut reaction is if Category:Banned Category is indeed an appropriate category for Grape leaves then User:ThisIsaTest should not be editing that article. If it is not an appropriate category then that's a very underhanded thing for User:Example to do, and User:ThisIsaTest could easily take the diff of the category's addition to AN/I which would almost certainly result in a WP:HOUND block or one-way Iban. I'll need to look up the discussion on category blocks...I'd never heard of them until now. ~Awilley (talk) 01:40, 26 May 2020 (UTC)
- Have we figured out what hummus is yet? --Mdaniels5757 (talk) 01:18, 27 May 2020 (UTC)
- Ha! That is a fantastic example :-) I'll have to think about that some more, but my gut reaction is if Category:Banned Category is indeed an appropriate category for Grape leaves then User:ThisIsaTest should not be editing that article. If it is not an appropriate category then that's a very underhanded thing for User:Example to do, and User:ThisIsaTest could easily take the diff of the category's addition to AN/I which would almost certainly result in a WP:HOUND block or one-way Iban. I'll need to look up the discussion on category blocks...I'd never heard of them until now. ~Awilley (talk) 01:40, 26 May 2020 (UTC)
- There is also the issue of subcategories. If I am banned from Category:Grapes then surely Category:Grape_leaves is within scope, but typically you wouldn't see the parent category on the page, nor will the edit filter. — MusikAnimal talk 23:53, 26 May 2020 (UTC)
- As to could this technically be done (since this is VPT) - then sure. As to should this technically be done - then nope; would be a nightmare to maintain and use up expensive filter conditions (keep in mind that every single edit made has to be checked against every single filter. As to the other options - use administrative controls, if someone can't follow a topic ban - give them an editing
banblock or a sitebanblock. — xaosflux Talk 00:54, 27 May 2020 (UTC)
Fetch the Infobox data of "Software latest version" and "Software release date" from an item in Wikimedia Commons
Hi there,
I have an idea for the Software and Operating system Infoboxes, but I should discuss it for its possible bugs and side effects here.
What do you think about fetching the "Software(or OS) latest(preview) version" and "Software(or OS) release(preview) date" data from Wiki Commons items(WikiData)? In the following Infoboxes
https://en.wikipedia.org/wiki/Template:Infobox_software
and
https://en.wikipedia.org/wiki/Template:Infobox_OS
As such this is the case for "Repository" URI item.
I should note that "version" and "date" is a frequently changing item, and this idea has the advantage that with one change in this (WikiData) item, all Wiki Infoboxes (in all languages English, Dutch,German, Persian, Arabic, Chinese, etc.) change at once, only by a single change.
Are there any problems (or bug producing) with this idea?
Thanks, Hooman Mallahzadeh (talk) 09:31, 26 May 2020 (UTC)
- @Hooman Mallahzadeh: You should ask this question at Template talk:Infobox software and/or the talk page for the OS infobox as the question is social, not technical. --Izno (talk) 21:27, 26 May 2020 (UTC)
- @Izno: Thanks for your guidance, I asked my question here: Template talk:Infobox software#Taking more data from wikidata
- Yours faithfully, Hooman Mallahzadeh (talk) 05:20, 27 May 2020 (UTC)
Simple template for x days after date
Can someone make a quick template that, given a number x, returns the date x days from now in D-M-Y format? Thanks, Eumat114 formerly TLOM (Message) 06:43, 27 May 2020 (UTC)
- Do you really need a template? If it's just for a few uses then you can use mw:Help:Extension:ParserFunctions##time directly.
{{#time:j F Y|+10 days}}
gives 14 December 2024. If you want another date format then clarify it. PrimeHunter (talk) 07:57, 27 May 2020 (UTC)- PrimeHunter, thanks, having never realised that this existed. Eumat114 formerly TLOM (Message) 08:15, 27 May 2020 (UTC)
Remove comma from citations over 1000
I noticed here that, when references go over 1000, they take up quite a lot of space in a way that makes text harder to read. Part of the reason for this is that they include the optional thousands comma. I'd like to propose that we get rid of that comma, but I have no clue where I'd do that, so coming here. {{u|Sdkb}} talk 06:33, 27 May 2020 (UTC)
- I wasn’t sure what “references” meant until I looked at the article. It refers to citations. And wow, I never thought I would see over 1000 citations in a single article. This just shows how much attention this topic is getting.
- Back to the point, I notice that the citation list at the end of the article does not include commas in its numbers, when I view it in my web browser. That’s because it is rendered as an HTML ordered list, which means it’s up to my browser to render the numbers however it likes, and my browser doesn’t include commas. I assume this is true for the other mainstream browsers. So removing the commas won’t just save space; it will increase consistency. Brianjd (talk) 07:15, 27 May 2020 (UTC)
- It's odd to have the commas in the citations[1,009] and not in the reference list. — Jts1882 | talk 07:50, 27 May 2020 (UTC)
- @Brianjd: If you think COVID-19 pandemic has a lot of references, go check out List of Hillary Clinton 2016 presidential campaign non-political endorsements (kinda ironic that that's our most-referenced article, given all the good it did her ¯\_(ツ)_/¯). Anyways, back to the matter at hand, does anyone know where we go to sort this out? {{u|Sdkb}} talk 08:09, 27 May 2020 (UTC)
- I guess that means Twitter is now a reliable source? :p
- My guess is that in needs to be fixed in MediaWiki. Brianjd (talk) 08:35, 27 May 2020 (UTC)
- Thanks, I'll copy this over there. {{u|Sdkb}} talk 09:09, 27 May 2020 (UTC)
- I've created T253743 in Phabricator. rchard2scout (talk) 10:54, 27 May 2020 (UTC)
- Thanks, I'll copy this over there. {{u|Sdkb}} talk 09:09, 27 May 2020 (UTC)
- @Brianjd: If you think COVID-19 pandemic has a lot of references, go check out List of Hillary Clinton 2016 presidential campaign non-political endorsements (kinda ironic that that's our most-referenced article, given all the good it did her ¯\_(ツ)_/¯). Anyways, back to the matter at hand, does anyone know where we go to sort this out? {{u|Sdkb}} talk 08:09, 27 May 2020 (UTC)
- It's odd to have the commas in the citations[1,009] and not in the reference list. — Jts1882 | talk 07:50, 27 May 2020 (UTC)
Unable to delete
For the past 10 minutes I have been unable to delete a page. I am getting various errors like "Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading." and also "Database locked. A database query error has occurred. This may indicate a bug in the software." — Martin (MSGJ · talk) 20:31, 27 May 2020 (UTC)
- @MSGJ: Is there an error code with the db locked message? DannyS712 (talk) 20:31, 27 May 2020 (UTC)
- MSGJ, A fix was just deployed, can you check again please? --AntiCompositeNumber (talk) 20:32, 27 May 2020 (UTC)
- Yes it just worked, thanks — Martin (MSGJ · talk) 20:33, 27 May 2020 (UTC)
"Add/edit links" link not working?
I just created a new article and I was planning to check if it had any interwiki links. However, the "add links" link on the left toolbar isn't appearing on my end. Checking using a random new page from Special:Newpages gives the same result. What's going on here? Narutolovehinata5 tccsdnew 12:13, 27 May 2020 (UTC)
- @Narutolovehinata5: I see “edit links” if interwiki links already exist, or nothing if they don’t exist. I don’t know what I am supposed to see, as I have never used this feature. Brianjd (talk) 12:30, 27 May 2020 (UTC)
- That's the problem. If no interwiki links exist, nothing appears when in fact an "Add links" link should be there. Apparently it's already being tracked by Phabricator at least, but the error appears to have existed for at least two weeks now. Narutolovehinata5 tccsdnew 12:38, 27 May 2020 (UTC)
- You can search Wikidata manually at https://www.wikidata.org. A search on the Japanese title of She Professed Herself Pupil Of The Wiseman gives She Professed Herself Pupil of the Wise Man (Q60996787). I assume it works to add it there. This in your common JavaScript will give a Wikidata search link under "Tools":
- That's the problem. If no interwiki links exist, nothing appears when in fact an "Add links" link should be there. Apparently it's already being tracked by Phabricator at least, but the error appears to have existed for at least two weeks now. Narutolovehinata5 tccsdnew 12:38, 27 May 2020 (UTC)
mw.loader.using(['mediawiki.util'], function () {
mw.util.addPortletLink(
'p-tb',
'//www.wikidata.org/wiki/Special:Search?search=' + encodeURIComponent( mw.config.get('wgPageName') ),
'Wikidata search',
't-wikidatasearch',
'Search the page name in Wikidata',
null,
'#t-wikibase'
);
});
- PrimeHunter (talk) 12:57, 27 May 2020 (UTC)
- That did the job, although I had to purge the page for the interwiki link to appear in English after adding it. There's still the problem though of the issue not being fixed. Narutolovehinata5 tccsdnew 13:18, 27 May 2020 (UTC)
- There is already a fix, it should be deployed tomorrow. --AntiCompositeNumber (talk) 13:21, 27 May 2020 (UTC)
- I meant Thursday. However, the Deployment Train is blocked again for an unrelated issue, deployments will resume when issue is fixed, meaning the fix will be deployed Friday at the earliest. phab:T253022. AntiCompositeNumber (talk) 00:33, 28 May 2020 (UTC)
- There is already a fix, it should be deployed tomorrow. --AntiCompositeNumber (talk) 13:21, 27 May 2020 (UTC)
- That did the job, although I had to purge the page for the interwiki link to appear in English after adding it. There's still the problem though of the issue not being fixed. Narutolovehinata5 tccsdnew 13:18, 27 May 2020 (UTC)
- PrimeHunter (talk) 12:57, 27 May 2020 (UTC)
Edit links works for me, but not add links. Also hoping this will be fixed soon. --Piotr Konieczny aka Prokonsul Piotrus| reply here 10:47, 28 May 2020 (UTC)
- I have noticed this as well, hope the fix will be deployed soon.--Ymblanter (talk) 10:50, 28 May 2020 (UTC)
Some interwiki links are invisible
I've been seeing an issue lately with interwiki links that contain a language code: certain variations don't render. Has anybody else noticed this?
- fr:Chat – fr:Chat. (invisible)
- w:fr:Chat – w:fr:Chat. (works)
- fr:w:Chat – fr:w:Chat. (invisible; I don’t mind if this syntax goes away, but then it should be redlink or error)
- mw:talk:Categories – mw:talk:Categories. (no lang, works)
- fr:Talk:Chat – fr:Talk:Chat.
- fr:Discussion:Chat – fr:Discussion:Chat.
- w:fr:Talk:Chat – w:fr:Talk:Chat.
- w:fr:Discussion:Chat – w:fr:Discussion:Chat
I see it in safemode, with different skins (incl. mobile web) and editors, and on different wikis (WP, Commons, MW incl. in Structured Discussions).
Pelagic ( messages ) Z – (21:58 Thu 28, AEST) 11:58, 28 May 2020 (UTC)
- The invisible links are interwikilinks to fr.wiki. Look in the far left column of this page (desktop view) and find 'Français' You will see that it links to fr:chat. If you want the link to appear in article text, use a colon before the language code.
- —Trappist the monk (talk) 12:01, 28 May 2020 (UTC)
- Oh, facepalm. I know about the colon for links to categories, if I knew about it for language links, then I’d forgotten. Thanks, Trappist the monk! Pelagic ( messages ) Z – (22:09 Thu 28, AEST) 12:09, 28 May 2020 (UTC)
- For the benefit of other readers: The reason those “invisible” links are visible here is because someone added a colon to them. That someone was actually a bot, which recognised that those interwiki links were invalid. Brianjd (talk) 12:26, 28 May 2020 (UTC)
- For the benefit of other readers: [[fr:Chat]] is an interlanguage link to French Wikipedia, which goes to the 'Languages' section, whilst [[:fr:Chat]] is a visible interlanguage link in the wikitext. --CiaPan (talk) 12:45, 28 May 2020 (UTC)
- It's covered at H:ILL and I had a bad time trying to explain it at WT:Namespace#Explain the effect of initial colon. --Redrose64 🌹 (talk) 16:23, 28 May 2020 (UTC)
- For the benefit of other readers: [[fr:Chat]] is an interlanguage link to French Wikipedia, which goes to the 'Languages' section, whilst [[:fr:Chat]] is a visible interlanguage link in the wikitext. --CiaPan (talk) 12:45, 28 May 2020 (UTC)
- Oh, facepalm. I know about the colon for links to categories, if I knew about it for language links, then I’d forgotten. Thanks, Trappist the monk! Pelagic ( messages ) Z – (22:09 Thu 28, AEST) 12:09, 28 May 2020 (UTC)
Can't upload ogg fair-use file from my mac using File Upload Wizard
(I'm running macOS Catalina 10.15.5 on a MacBook Pro.) When I click the <choose file> button on the File Upload Wizard page, ogg files on my hard drive appear greyed-out (non-uploadable); cf. my jpg/jpeg and pdf files are accessible as normal. I tried recreating my desired ogg file using Audacity s/w but still had no luck uploading it. Birdman euston (talk) 18:24, 28 May 2020 (UTC)
- @Birdman euston: could you try via this link: Special:Upload? — xaosflux Talk 19:00, 28 May 2020 (UTC)
- Hey, my ogg files are now accessible. Thanks! Birdman euston (talk) 19:14, 28 May 2020 (UTC)
Wikidata
- Category:Computer-related introductions in 2021, d:Q95690586, new category
- Category:2021 software, d:Q95690752
- Category:Hacking in the 2020s, d:Q95690838
Left menu without languages (after Print/export). But:
- Category:Computer-related introductions in 2020, d:Q55924528
- Category:2020 software, d:Q55918521
- Category:Hacking in the 2010s, d:Q8503659
left menu with languages (after Print/export). Oleg3280 (talk) 20:55, 28 May 2020 (UTC)
character rendering ignores the zero-width joiner
The zero-width joiner can be useful sometimes, but WP ignores it. E.g., for Marshallese, el-cedilla should have the same shape of cedilla as cee-cedilla does. WP, like word processors, substitutes el plus combining cedilla with the Unicode el-cedilla, which by default has a comma shape for use in Latvian. Separating them with a ZWJ should prevent that from happening, and in a word processor it does, producing the proper letter shape for Marshallese. But on WP it makes no difference. Compare ⟨ļ⟩ (ļ
) with ⟨ļ⟩ (ļ
). Can that be fixed? — kwami (talk) 22:04, 28 May 2020 (UTC)
- Can you use the actual letter character ( ļ ) instead of all of that code? It should work fine. If the letters display properly at Marshallese language#Orthography, they should display just fine in any article. – Jonesey95 (talk) 00:34, 29 May 2020 (UTC)
Editor interaction analyser issues
Hey you techies, I'm seeing problems at the Editor interaction analyser, and I'm not quite sure where else to report it. I don't think Σ (Sigma) is very active anymore. This search, should have indicated that Dhashwanth Kumaran edited Aranmanai 2 and Velayudham, but did not. Any ideas? I'm not savvy in the world of Phabricator or whatevs, but this is a tool many of us use. Help? Cyphoidbomb (talk) 23:02, 24 May 2020 (UTC)
- Cyphoidbomb, it's because when the form is submitted the username is sent as Dhashwanth+Kumaran, but it's stored in the database as Dhashwanth_Kumaran, so this works but your search doesn't. – BrandonXLF (talk) 04:56, 25 May 2020 (UTC)
- @BrandonXLF: Actually, yours didn't work either--or at least not from my perspective, as Dhashwanth did edit at least two of the articles that come out in the results. The user has been indeffed--could that affect the tool's performance? Cyphoidbomb (talk) 13:29, 25 May 2020 (UTC)
- Also, when I started a new search between "Dhashwanth_Kumaran" and "Fishdash" per your suggestion, there were zero hits. When I did it the normal way "Dhashwanth Kumaran" and "Fishdash", I got the two intersections at the articles indicated above. So it looks like there could be something wrong with searches in excess of 2 users. Cyphoidbomb (talk) 13:51, 25 May 2020 (UTC)
- Cyphoidbomb, now your original search seems to be working. – BrandonXLF (talk) 19:30, 25 May 2020 (UTC)
- Weird. It healed itself. It's the miracle we all needed. Cyphoidbomb (talk) 19:48, 25 May 2020 (UTC)
- Cyphoidbomb, now your original search seems to be working. – BrandonXLF (talk) 19:30, 25 May 2020 (UTC)
- I'm having problems with it too. I ran it with multiple editors, and it reported out one editor with 4 edits to a certain article, when the article history lists them as having 341 edits. Since I was trying to compare Master 1 + socks with Master 2 + socks, unreliable data meant I couldn't report out accurate results. Beyond My Ken (talk) 03:01, 29 May 2020 (UTC)
- The run was [29] and the results for Camille Paglia and Frederic Crews were both wrong. Others may have been as well. Beyond My Ken (talk) 03:06, 29 May 2020 (UTC)
Titles starting with hash/number sign/octothorp
Per WP:NCHASHTAG, my understanding is that titles cannot have <#> in them for technical reasons, hence "Number 1 Record" and "Action Comics 1000" but I just came across #2 ¡Una mas! which uses the full width character. What should I do here? Should this be moved to "Number 2 ¡Una mas!"? Any thoughts? ―Justin (koavf)❤T☮C☺M☯ 23:08, 28 May 2020 (UTC)
- Koavf, all other such pages are redirects: Special:PrefixIndex/#. Most relevant examples are various spellings of #Sukinanda and #willpower, which redirect to articles with the hatnote
{{Correct title|...|reason=hash}}
. Their history links to Wikipedia:Redirects for discussion/Log/2019 April 26 § #willpower, which seems to be the most recent relevant redirect discussion. #2 ¡Una mas! should be moved to Number 2 ¡Una mas!, with the hatnote added. —andrybak (talk) 06:01, 29 May 2020 (UTC)- Andrybak, thumbs up emoji. ―Justin (koavf)❤T☮C☺M☯ 06:13, 29 May 2020 (UTC)
Thank button seems to randomly open a new page
Is there any way I can control this behavior? Doug Weller talk 09:01, 29 May 2020 (UTC)
- Doug Weller, is this page the Special:Thanks page? If it is, then from my testing I think this is the reason:
- The thanks button in the history page defaults to opening Special:Thanks. The behaviour of the sliding animation with "Publicly send thanks?" after you press "thank" is implemented through JavaScript, so only works after the page has loaded and run the script. I don't know of any way to make the thanks button only work when the script has run, but I guess the best solution for now is to wait until the page has fully loaded. Dreamy Jazz talk to me | my contributions 10:03, 29 May 2020 (UTC)
- @Dreamy Jazz: weird. I much prefer the times when I stay on this history page and just get asked if I want to thank the editor. Doug Weller talk 10:53, 29 May 2020 (UTC)
Culture of region
Could the template {{Culture of region}}, which is supposed to be on the right side of an article, be fixed so that it allowed to have pictures on the left side? E. g. at Religion in Botswana the picture from the History section is pushed down below the template Culture of Botswana, although one is on the right and the other on the left. --Jan Kameníček (talk) 11:51, 29 May 2020 (UTC)
- Jan.Kamenicek, this is due to the positioning of image 'BAPS Swaminarayan Hindu Mission'. Either move that below the images on the left, or use {{stack}} to make one right floating item out of the 3 separate items on the right. —TheDJ (talk • contribs) 12:34, 29 May 2020 (UTC)
- Ah, I see. Thanks very much for the advice. --Jan Kameníček (talk) 12:55, 29 May 2020 (UTC)
Category populated by templates
Category:M N is to be merged to Category:Articles using MbLg magnitude scale at Wikipedia:Categories for discussion/Log/2020 May 8 but it is utterly unclear how it's populated and what needs changing to enact the merge. Can anyone find the problematic entry? Timrollpickering (talk) 21:29, 28 May 2020 (UTC)
- Timrollpickering, Seems like it's Template:Earthquake magnitude, there's also a lot of categories in that template that have similar undescriptive names. – BrandonXLF (talk) 23:50, 28 May 2020 (UTC)
- More details at the requested move discussion. – Jonesey95 (talk) 00:30, 29 May 2020 (UTC)
- Thanks. I think I've managed to fix them all. Timrollpickering (talk) 14:05, 29 May 2020 (UTC)
- More details at the requested move discussion. – Jonesey95 (talk) 00:30, 29 May 2020 (UTC)
Add "cancel" button to page move dialogue
Often when I am moving (renaming) a page, I get to the move dialogue Special:MovePage/<whatever> and realise I have to reconsider or check something first. However there is no "cancel" button on that page and I am left with only the alternative of using the browser "back" button and hoping that nothing is left half-done. It would be nice if a "cancel" button was present beside the "move page" button. Zerotalk 07:44, 29 May 2020 (UTC)
- There's a link to the article being moved at the top of Special:MovePage, a cancel button would just do the same thing as that link. – BrandonXLF (talk) 08:28, 29 May 2020 (UTC)
- Nothing can be "left half-done", since Special:MovePage is no more than a form - nothing is actually done until you click Move page. So if you navigate away before clicking that button, whether by using the "back" button, a cancel feature or by following a link, the worst that can happen is that you may have to re-enter the information when you return to the form. --Redrose64 🌹 (talk) 08:37, 29 May 2020 (UTC)
- Yes I know all that, but you are missing the point. This isn't to reassure me, since I figured it out long ago. The purpose is to make it more friendly to editors in general. Think about the "cancel" button you see when editing a page; that is also not strictly necessary but having it is a good thing. Zerotalk 09:23, 29 May 2020 (UTC)
- @Zero0000: this would be a mediawiki side button, not an English Wikipedia specific one. The development team rejected this in phab:T5835 but that was over 10 years ago, so they may have a different UX/UI mindset now. You can comment at that task, and try to have it reopened/reevaluated. — xaosflux Talk 14:31, 29 May 2020 (UTC)
- Yes I know all that, but you are missing the point. This isn't to reassure me, since I figured it out long ago. The purpose is to make it more friendly to editors in general. Think about the "cancel" button you see when editing a page; that is also not strictly necessary but having it is a good thing. Zerotalk 09:23, 29 May 2020 (UTC)
Is there a log of DS alerts?
I'm suddenly finding a lot of new or returned editors editing Falun Gong articles and have been giving alerts out like candy (including to the experienced ones who have reacted of course). I haven't kept track and have no idea how many other editors have given out alerts. Is there anyway of finding out? If there isn't, there should be IMHO. Doug Weller talk 14:08, 27 May 2020 (UTC)
- @Doug Weller: All alerts are automatically logged in the system by an edit filter, see here. --qedk (t 愛 c) 14:15, 27 May 2020 (UTC)
- @QEDK: sorry, I wasn't clear. I meant alerts for specific areas. We really should have a way of knowing these numbers. Doug Weller talk 14:19, 27 May 2020 (UTC)
- I believe that was the old system? It just caused things to go out of control and hundreds of alerts were being logged, resulting in huge pages. --qedk (t 愛 c) 14:23, 27 May 2020 (UTC)
- Doug Weller, I put together https://anticompositetools.toolforge.org/dsalerts/ to show DS/GS alerts over time. It works by parsing
added_lines
on filter hits from Special:AbuseLog/602. It's not exactly fast or efficient, but there's not really a better way to do it since abuse filter variables aren't accessible on the Toolforge replicas. --AntiCompositeNumber (talk) 01:46, 29 May 2020 (UTC)- @AntiCompositeNumber: that looks very good, thanks. Doug Weller talk 17:51, 29 May 2020 (UTC)
- @QEDK: sorry, I wasn't clear. I meant alerts for specific areas. We really should have a way of knowing these numbers. Doug Weller talk 14:19, 27 May 2020 (UTC)
Heading not rendering?
In Draft:Photography in Washington D.C.#Fine art photographers in Washington DC, 1967-2000, the third sub-heading is rendering as a literal ===C=== instead of being shown as a heading. The markup looks perfectly normal to me. Any clue what might be going on there? -- RoySmith (talk) 20:40, 29 May 2020 (UTC)
- Interesting, I tested on another wiki with the same content and the same thing happened there. ·addshore· talk to me! 20:42, 29 May 2020 (UTC)
- There were some spaces after the last equal sign. – BrandonXLF (talk) 20:42, 29 May 2020 (UTC)
Page not loading correctly
I removed a spam link from Advertising revenue here, but now the page won't load correctly – it appears to be loading a 1x1 gif. Yet if I load load the page via the index here, it works! I've tried bypassing my browser cache, and purging the server's page cache. What is happening? Thanks. —Bruce1eetalk 06:53, 30 May 2020 (UTC)
- All your links work for me. Did you bypass your cache with Ctrl+F5 and not just F5? PrimeHunter (talk) 07:19, 30 May 2020 (UTC)
- I used Ctrl+Shift+R in my browser (FF 76.0.1). I even cleared the browser cache, but the page still won't load. All other pages I've tried load normally. —Bruce1eetalk 07:25, 30 May 2020 (UTC)
- I've just done a null edit (via the index link), but the page still won't load correctly for me via its direct link. —Bruce1eetalk 08:06, 30 May 2020 (UTC)
- Does it work in safemode or if you log out? Is it possible your Firefox has an ad blocker which confuses the whole page for advertising? PrimeHunter (talk) 08:16, 30 May 2020 (UTC)
- I tried when I'm logged out, and in safe mode – no change. I am using an ad blocker, but it's turned off for Wikipedia. Advertising, for example, display correctly. —Bruce1eetalk 08:26, 30 May 2020 (UTC)
- Interesting that the safe mode version has the same problem, since it has a different URL. You could try using the development tools to get more information, using a private window or restarting Firefox in safe mode. Brianjd (talk) 08:44, 30 May 2020 (UTC)
- Oddly enough, it loads correctly in Private Browsing (not logged in and pages aren't cached). Yet when I tried it when logged out in Normal Browsing, it wouldn't load. Could it be a caching issue in my Firefox? I did clear the cache completely earlier. I have also shut down and restarted Firefox. —Bruce1eetalk 09:00, 30 May 2020 (UTC)
- I tried when I'm logged out, and in safe mode – no change. I am using an ad blocker, but it's turned off for Wikipedia. Advertising, for example, display correctly. —Bruce1eetalk 08:26, 30 May 2020 (UTC)
- Does it work in safemode or if you log out? Is it possible your Firefox has an ad blocker which confuses the whole page for advertising? PrimeHunter (talk) 08:16, 30 May 2020 (UTC)
- I've just done a null edit (via the index link), but the page still won't load correctly for me via its direct link. —Bruce1eetalk 08:06, 30 May 2020 (UTC)
- I used Ctrl+Shift+R in my browser (FF 76.0.1). I even cleared the browser cache, but the page still won't load. All other pages I've tried load normally. —Bruce1eetalk 07:25, 30 May 2020 (UTC)
I think it’s not a caching issue, since you were able to reproduce the problem with a different URL. I would suggest investigating your add-ons further. Brianjd (talk) 09:06, 30 May 2020 (UTC)
- I've just tried it in Firefox safe mode (addons disabled), and it worked. So there's clearly an issue in my local Firefox environment that I'll have to sort out myself. It's just so weird that it is only happening on this one page, as far as I can tell. Anyway, thanks Brianjd and PrimeHunter for helping me out. —Bruce1eetalk 09:26, 30 May 2020 (UTC)
- Good luck, and I look forward to you reporting the solution here when you find it. Brianjd (talk) 09:30, 30 May 2020 (UTC)
Combining RandomInCategory with PAGENAME
I'd like to create a link to a random level 4 vital article. However, it's not as simple as using Special:Randomincategory, since Category:All Wikipedia level-4 vital articles goes to the talk page, not the article itself, and I can't get Special:Randomincategory to play nice with {{PAGENAME}}. Help? {{u|Sdkb}} talk 00:36, 20 April 2020 (UTC)
- Unfortunately you can't do that with just core mediawiki, but you could do it with a user script or an external tool. --AntiCompositeNumber (talk) 01:00, 20 April 2020 (UTC)
- @AntiCompositeNumber: In that case, would there be an easy way to set up a category that duplicates Category:All Wikipedia level-4 vital articles but goes to the page itself instead? This is for this conversation, so using an individualized or off-wiki method isn't really an option that I can see. {{u|Sdkb}} talk 05:47, 21 April 2020 (UTC)
- Bumping thread. {{u|Sdkb}} talk 09:59, 30 April 2020 (UTC)
- Short answer: Yes. Long answer: Yes, but just because it's possible doesn't mean it's a good idea. A bot would have to maintain the category, or it would quickly fall out of date. A default gadget or &withJS link would be a better long-term solution than a bot. The best solution of course is to add the desired functionality to MediaWiki: for that, phab is thataway. --AntiCompositeNumber (talk) 20:39, 30 April 2020 (UTC)
- @AntiCompositeNumber: I'm not sure I fully follow. What are you suggesting the phab ticket be? {{u|Sdkb}} talk 05:27, 2 May 2020 (UTC)
- @AntiCompositeNumber: I'm not sure it's a good idea to suggest filing a Phab ticket as the primary solution, because this is not going to be used relatively often (so WMF staff won't be assigned to work on it) and there are already longstanding unfulfilled requests to improve access to MediaWiki-generated data which have been stalled for years mainly because of the architecture of MediaWiki being prohibitive (for example, phab:T49137, for Lua access to Special:PrefixIndex, has been open for five years). Furthermore, if it were proposed for the next Community Wishlist Survey, I don't think it would reach the top ten because this affects a relatively small number of editors in a relatively minor way. At the moment, I think an external site, a bot or a user script is probably the way to go. Jc86035 (talk) 18:01, 9 May 2020 (UTC)
- In this case, best = most complete. A bot-based solution would be most likely to break without anyone noticing and creates a duplicate category that would go out of date. Using a tool or on-wiki JavaScript would mean reimplementing the behavior of Special:RandomInCategory (phab:T63840) or sitting in front of it. --AntiCompositeNumber (talk) 19:30, 9 May 2020 (UTC)
- @AntiCompositeNumber: Yes, but the point was that it was unrealistic to expect something better than those in the short term, not that those would be good solutions. Jc86035 (talk) 10:03, 10 May 2020 (UTC)
- @AntiCompositeNumber and Jc86035: returning to this, I think I found what might be an easier solution. I was curious how the "All Level 4" list was created/maintained in the first place, and it looks like it's done through {{Vital article}}. There's some fancy code there creating/defining the categories, and that could probably be tweaked so that it created one category for the VA's talk page and one for the VA itself. I'm not skilled enough with categories to mess with that, though. If someone else wants to take a go, feel free. A set of buttons that allow you to go to a random article at a given importance (VA level) or quality (GA or FA) would be a really useful tool for readers, potentially even for the main page. {{u|Sdkb}} talk 20:18, 17 May 2020 (UTC)
- That template is only transcluded on talk pages. Templates can only categorize pages they are transcluded on. --AntiCompositeNumber (talk) 17:33, 18 May 2020 (UTC)
- @AntiCompositeNumber and Jc86035: returning to this, I think I found what might be an easier solution. I was curious how the "All Level 4" list was created/maintained in the first place, and it looks like it's done through {{Vital article}}. There's some fancy code there creating/defining the categories, and that could probably be tweaked so that it created one category for the VA's talk page and one for the VA itself. I'm not skilled enough with categories to mess with that, though. If someone else wants to take a go, feel free. A set of buttons that allow you to go to a random article at a given importance (VA level) or quality (GA or FA) would be a really useful tool for readers, potentially even for the main page. {{u|Sdkb}} talk 20:18, 17 May 2020 (UTC)
- @AntiCompositeNumber: Yes, but the point was that it was unrealistic to expect something better than those in the short term, not that those would be good solutions. Jc86035 (talk) 10:03, 10 May 2020 (UTC)
- In this case, best = most complete. A bot-based solution would be most likely to break without anyone noticing and creates a duplicate category that would go out of date. Using a tool or on-wiki JavaScript would mean reimplementing the behavior of Special:RandomInCategory (phab:T63840) or sitting in front of it. --AntiCompositeNumber (talk) 19:30, 9 May 2020 (UTC)
- @AntiCompositeNumber: In that case, would there be an easy way to set up a category that duplicates Category:All Wikipedia level-4 vital articles but goes to the page itself instead? This is for this conversation, so using an individualized or off-wiki method isn't really an option that I can see. {{u|Sdkb}} talk 05:47, 21 April 2020 (UTC)
Hello, I think it would be a good idea that special pages like Randomincategory had an option so it returns the main page, the talk page, or either. --NaBUru38 (talk) 20:19, 10 May 2020 (UTC)
- @NaBUru38: That would be good. And it might be easier to implement than getting Randomincategory to be able to return subpages, which would be the other way to solve this. {{u|Sdkb}} talk 19:53, 17 May 2020 (UTC)
- It would be really easy to make a toolforge tool to do this. Bawolff (talk) 04:46, 23 May 2020 (UTC)
- Bawolff I'm looking to create a button that could potentially go on the Main Page, though, so I'm not sure how useful an off-wiki tool could be for that. {{u|Sdkb}} talk 08:06, 23 May 2020 (UTC)
- (1) Proposals to change the main page rarely succeed (2) I don't see why an off-wiki tool couldn't be linked to from the main page; the Swedish Wikipedia even links to a Toolforge tool from the sidebar. * Pppery * it has begun... 04:06, 25 May 2020 (UTC)
- Bawolff I'm looking to create a button that could potentially go on the Main Page, though, so I'm not sure how useful an off-wiki tool could be for that. {{u|Sdkb}} talk 08:06, 23 May 2020 (UTC)
- It would be really easy to make a toolforge tool to do this. Bawolff (talk) 04:46, 23 May 2020 (UTC)
Category:Song recordings produced by Glenn Sutton
For some unknown reason all the members of this category appear under A, and apparently are similarly affected in other categories they appear it (but not before I created this cat). Can't see any obvious reason for the problem. Can somebody help? --Richhoncho (talk) 16:26, 30 May 2020 (UTC)
- @Richhoncho: I've made an edit to {{Lynn Anderson singles}} that should fix it once the job queue has caught up. I've made a null edit to one of the articles, and that is showing under "F" now. -- John of Reading (talk) 16:45, 30 May 2020 (UTC)
Talk page subsections hidden on mobile, apparently
Are talk page subsections (level 3 subheadings) intentionally hidden on mobile? If so, why? And is there anything we can do about it other than by promoting the heading level, as Nixinova (talk · contribs) did in these edits. --Redrose64 🌹 (talk) 18:58, 30 May 2020 (UTC)
- That's a clear bug. Can you please file a Phabricator ticket? Jdlrobson (talk) 19:08, 30 May 2020 (UTC)
- On mobile, the talk pages show all top-level headings to be dropped down, and have no table of contents or anything. It's the same as with articles, just differently styled. Talk pages shouldnt have important content in subheadings otherwise I have to scroll like hell to get anywhere. A table of contents button on mobile is very well overdue, anyway. Nixinova T C 19:43, 30 May 2020 (UTC)
- Nixinova, you can show the TOC on mobile by adding this CSS to your common.css
.skin-minerva .toc, .skin-minerva .toc .toctitle { display: table; visibility: visible; }
. There's also phab:T147026. – BrandonXLF (talk) 20:29, 30 May 2020 (UTC)
- Nixinova, you can show the TOC on mobile by adding this CSS to your common.css
I'm confused about something at Glendon Campus of York University. A COI editor changed the name of the article today. On the article page there is a notice "A request that this article title be changed to Glendon Campus of York University is under discussion. Please do not move this article until the discussion is closed." However, the article was moved, and the notice on the talk page says "The request to rename this article to Glendon Campus of York University has been carried out". These messages contradict. Shouldn't the article be moved after a consensus to move? Thanks! Magnolia677 (talk) 17:43, 30 May 2020 (UTC)
- This is not a VPT matter. However, the article and its talk page were moved at 17:04, 30 May 2020 (UTC) by Glendonws (talk · contribs) who had started the discussion at Talk:Glendon Campus of York University#Requested move 29 May 2020 less than 24 hours earlier. The pages should really be moved back and the discussion allowed to proceed normally. --Redrose64 🌹 (talk) 19:04, 30 May 2020 (UTC) Addendum: I moved it back to Glendon College. --Redrose64 🌹 (talk) 19:11, 30 May 2020 (UTC)
- Hmmm. It looks like the page move concerned was the very first action taken by Glendonws after becoming autoconfirmed. --Redrose64 🌹 (talk) 19:17, 30 May 2020 (UTC)
- @Redrose64: I thought something was wonky. Thanks for your help! Magnolia677 (talk) 21:32, 30 May 2020 (UTC)
Block, but twinkle doesn't send message
I am trying to block an editor. User talk:Habelgmsa
I've tried three times, but no block message appears. Any thoughts on why not?S Philbrick(Talk) 14:15, 30 May 2020 (UTC)
- I unblocked, because it would be rude to block and not leave a message.--S Philbrick(Talk) 14:23, 30 May 2020 (UTC)
- @Sphilbrick: Seeing that I was able to drop a message just fine, the issue is not with Twinkle, have you checked the "Add block template to user talk page"? Furthermore, you can always add a new section and paste in the template yourself (such as
{{subst:Uw-pblock}}
), that's much more viable than unblocking. --qedk (t 愛 c) 14:50, 30 May 2020 (UTC)- QEDK, I've never had this problem before. I see "Add block template to user talk page" and it is checked. I tried again, and of course it worked fine now. so not sure what happened the first three times. S Philbrick(Talk) 19:09, 30 May 2020 (UTC)
- No pressure, if it happens again consider leaving a note at WT:TW. :) --qedk (t 愛 c) 05:57, 31 May 2020 (UTC)
- QEDK, I've never had this problem before. I see "Add block template to user talk page" and it is checked. I tried again, and of course it worked fine now. so not sure what happened the first three times. S Philbrick(Talk) 19:09, 30 May 2020 (UTC)
- @Sphilbrick: Seeing that I was able to drop a message just fine, the issue is not with Twinkle, have you checked the "Add block template to user talk page"? Furthermore, you can always add a new section and paste in the template yourself (such as
Search for unicode punctuation?
Is there any way to search for uses of specific unicode punctuation? I'm looking for edits that contain U+201E ('DOUBLE LOW-9 QUOTATION MARK') as part of a sockpuppet investigation. -- RoySmith (talk) 16:41, 31 May 2020 (UTC)
- Have you tried searching for
insource:/„/
like Help:Searching#Search string syntax suggests? It seems to work for me. —Cryptic 17:00, 31 May 2020 (UTC)- Cryptic, Yup, that works. Thanks. -- RoySmith (talk) 17:22, 31 May 2020 (UTC)
CSS issues
WP:ITSTHURSDAY; the sidebar seems to have collapsed and the tabs are gone. (Firefox 73.0) Enterprisey (talk!) 19:16, 28 May 2020 (UTC)
- Enterprisey, Yup. Same here (Chrome-mobile) ~~ CAPTAIN MEDUSAtalk 19:17, 28 May 2020 (UTC)
- Same. (Chrome 81.0.4044.138, Windows 10) --Mdaniels5757 (talk) 19:19, 28 May 2020 (UTC)
- Win Chrome desktop. The "Read/Edit/New section/View history" tabs are tiny and in the far upper right corner. Cyphoidbomb (talk) 19:19, 28 May 2020 (UTC)
- Fixed for me now, rollback seems to have worked. --Mdaniels5757 (talk) 19:21, 28 May 2020 (UTC)
- Win Chrome desktop. The "Read/Edit/New section/View history" tabs are tiny and in the far upper right corner. Cyphoidbomb (talk) 19:19, 28 May 2020 (UTC)
- Same. (Chrome 81.0.4044.138, Windows 10) --Mdaniels5757 (talk) 19:19, 28 May 2020 (UTC)
- Enterprisey, had the same issue until a minute ago. (Edge Chromium 85.0.528.0, Windows 10) andritolion (talk) 19:22, 28 May 2020 (UTC)
Is it Thursday?
I just stated noticing that many pages are rendering with the left-hand nav bar all scrunched up. See attached screenshot. Not every page, but most pages. Emptying my browser cache had no effect. Thursday? -- RoySmith (talk) 19:22, 28 May 2020 (UTC)
- Section combined with above. Enterprisey (talk!) 19:23, 28 May 2020 (UTC)
All views except main page corrupted
The main page displays ok but all other pages have corrupt headings and left sidebar. Downsize43 (talk) 01:29, 29 May 2020 (UTC)
- Seems to have come good now. Downsize43 (talk) 01:31, 29 May 2020 (UTC)
- I suspect that this is related to the mw:Desktop improvements project. They've put some of it up at the private office.wiki. The rearranged the logo in the corner a bit. At first, I didn't notice it, but when I did, it was really obvious ...for about four or five days. Now I don't notice it again. Whatamidoing (WMF) (talk) 03:51, 1 June 2020 (UTC)
Discussion at User talk:Naypta#Cassiopeia's archives
You are invited to join the discussion at User talk:Naypta#Cassiopeia's archives. Interstellarity (talk) 17:31, 31 May 2020 (UTC)
- The correct forum for asking technical help questions is Wikipedia:Village pump (technical). NinjaRobotPirate (talk) 18:57, 31 May 2020 (UTC)
- @NinjaRobotPirate and Davey2010: My apologies for posting to the wrong forum. Just a quick question and I don't want to seem like a beginner on Wikipedia. How do I know which forum is the best place to get help with Wikipedia? Interstellarity (talk) 19:58, 31 May 2020 (UTC)
- Hi Interstellarity, Please read the above introductory bit on each board which explains what each board is to be used for, If you're stuck you're more than welcome to ask at WP:Help Desk who may be able to point you in the right place, Thanks, –Davey2010Talk 20:05, 31 May 2020 (UTC)
- @Davey2010: Thank you for your explanation. I think the help desk seems to be the best place to start if I'm not sure where to go. They can probably direct me where to go from there. Interstellarity (talk) 20:13, 31 May 2020 (UTC)
- Hi Interstellarity, Please read the above introductory bit on each board which explains what each board is to be used for, If you're stuck you're more than welcome to ask at WP:Help Desk who may be able to point you in the right place, Thanks, –Davey2010Talk 20:05, 31 May 2020 (UTC)
- @NinjaRobotPirate and Davey2010: My apologies for posting to the wrong forum. Just a quick question and I don't want to seem like a beginner on Wikipedia. How do I know which forum is the best place to get help with Wikipedia? Interstellarity (talk) 19:58, 31 May 2020 (UTC)
- @Cassiopeia, Naypta, and Interstellarity: This seems to have been sent around various talk pages (unrelated user talk pages, ANI, VPT, and apparently HD) - but since I can't find it at HD, I'll try to explain here. But first, please note: when you have a query about the actions of a bot, your first port of call should be the talk page for the bot concerned, even if it redirects to another page, perhaps the talk page of the bot operator. In this case the bot is ClueBot III (talk · contribs) and its operator is Cobi (talk · contribs).
- When CASSIOPEIA (talk · contribs) was renamed Cassiopeia (talk · contribs) back in March, and the user, user talk and archive pages moved accordingly, the
|archiveprefix=User talk:CASSIOPEIA/Archive
parameter of the {{User:ClueBot III/ArchiveThis}} should have been amended as well. But apparently this didn't happen for some weeks, so in the meantime, ClueBot III was at something of a loss to work out which archive was the current one. I'm guessing that it's trying all archives until it finds one that hasn't yet hit the limit set by|maxarchsize=75000
. I'm a bit puzzled as to why|numberstart=
seems to be stuck at 1, when I think that it should now be at 45. --Redrose64 🌹 (talk) 22:54, 31 May 2020 (UTC)- @Naypta, Interstellarity, Redrose64, Davey2010, and NinjaRobotPirate: Greetings. Thank you guys for helping and try to solve my achieve issue. I understand Naypta has info ClueBot III of this issue at Discussion at User talk:Naypta#Cassiopeia's archives and I hope the issue will be solved soon. Stay safe and best. Cassiopeia(talk) 02:17, 1 June 2020 (UTC)
- @Redrose64: Hey, yep, this has been doing the rounds everywhere - I only spotted it the last time it came to AN. As Cassiopeia notes above, I've left a message at ClueBot Commons already, before Interstellarity noted the thread at ANI and it was moved here.As regards
|numberstart=
, the indication here is that it's the default archive start number, which seems like it ought to be left at one. Naypta ☺ | ✉ talk page | 09:45, 1 June 2020 (UTC)
reFill glitch
Hello. The reFill site is having difficulty with filling in AllMusic references. Thank you! Caro7200 (talk) 14:22, 31 May 2020 (UTC)
Hello Caro7200, Can you explain what the problem is or what happened when you used the script?,If you saw the message "success" (see right picture) then this means nothing needed doing for that article, Thanks, –Davey2010Talk 20:02, 31 May 2020 (UTC)- Ah sorry misunderstood what you meant, Good job MarnetteD spotted this! (Thanks M! :)). –Davey2010Talk 20:30, 31 May 2020 (UTC)
- This thread might be relevant Template talk:AllMusic#Set field question. Numerous of our articles have Allmusic templates as a ref ({{Allmusic|class=album|id=r43760/review|pure_url=yes}}).[1] As you can see this renders as a bare url in the ref section
References
- Editors see this and slap a "link rot" tag on the article. But, since the ref is actually in a cite template both refill and reflinks ignore it. The fix is to change the "pure_url=yes" to "pure_url=no" in the template. You will see at the thread I linked to that I asked if the default could be changed to no to avoid this problem but the conversation petered out with no change being made. Now Caro7200's post might be about something different and, if it is, in the immortal words of Emily Litella "never mind" :-) MarnetteD|Talk 20:16, 31 May 2020 (UTC)
- Thanks to both. Well, I noticed it on 5/30. I use reFill pretty much every day, often with AllMusic refs. The little red error box appears. Reflinks will still fill the url. If I see it again, I'll note more specifically what the problem is. Caro7200 (talk) 20:56, 31 May 2020 (UTC)
- It's just the little red "could not fetch page" error. But it only just started the past few days. Caro7200 (talk) 14:28, 1 June 2020 (UTC)
- That can happen Caro7200 with various refs not just Allmusic. AFAIK what you describe happens with refill not reflinks so we might be confusing the tools. I am not sure what is causing it so hopefully another editor can fill us in. If you've used both tools and they haven't worked you can also try Citer. There is the occasional ref that no tool will fix and you just have to deal with them manually. MarnetteD|Talk 16:35, 1 June 2020 (UTC)
- Oh yeah, thanks, I meant that it has only started happening with AllMusic the past few days. It happened again today. Just seemed to be a new problem in regard to reFill specifically, thanks. Caro7200 (talk) 16:55, 1 June 2020 (UTC)
- That can happen Caro7200 with various refs not just Allmusic. AFAIK what you describe happens with refill not reflinks so we might be confusing the tools. I am not sure what is causing it so hopefully another editor can fill us in. If you've used both tools and they haven't worked you can also try Citer. There is the occasional ref that no tool will fix and you just have to deal with them manually. MarnetteD|Talk 16:35, 1 June 2020 (UTC)
- It's just the little red "could not fetch page" error. But it only just started the past few days. Caro7200 (talk) 14:28, 1 June 2020 (UTC)
- Thanks to both. Well, I noticed it on 5/30. I use reFill pretty much every day, often with AllMusic refs. The little red error box appears. Reflinks will still fill the url. If I see it again, I'll note more specifically what the problem is. Caro7200 (talk) 20:56, 31 May 2020 (UTC)
- Editors see this and slap a "link rot" tag on the article. But, since the ref is actually in a cite template both refill and reflinks ignore it. The fix is to change the "pure_url=yes" to "pure_url=no" in the template. You will see at the thread I linked to that I asked if the default could be changed to no to avoid this problem but the conversation petered out with no change being made. Now Caro7200's post might be about something different and, if it is, in the immortal words of Emily Litella "never mind" :-) MarnetteD|Talk 20:16, 31 May 2020 (UTC)
Template issue rendering
Template:Internet Archive film
Hi! This template has been unchanged since 2016, but doesn't seem to be working. The Green Promise has *{{Internet Archive film|id=The_Green_Promise|The Green Promise}}, which should render as a link to https://archive.org/details/The_Green_Promise, but instead it's directing to https://archive.org/details/The, and titling the link as Green Promise The Green Promise. Thanks for your assistance, -- Zanimum (talk) 20:20, 1 June 2020 (UTC)
- @Zanimum: Fixed after staring at the template documentation for a while. -- John of Reading (talk) 20:31, 1 June 2020 (UTC)
- Thank you so much, John of Reading! -- Zanimum (talk) 22:23, 1 June 2020 (UTC)
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
- There is a new beta version of the Wikimedia Commons app for Android. It has a new zoom function when you look at images. It can also suggest places when you upload geotagged photos. [30]
Problems
- There was a problem with the Commons database on 27 May. Commons could not be edited for eight minutes. Because of this problem the database was moved. This caused another short read-only time on 29 May. [31][32][33]
- The Vector skin had a problem where you couldn't add links to the article in other languages. You couldn't see the section if there were no links to other languages already. It also removed content translation links and links to language settings. This has now been fixed. [34]
Changes later this week
- You can get a notification when someone links to a page you created. You can turn these notifications off for individual pages. You can soon turn them off also in the notifications you get. [35]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 2 June. It will be on non-Wikipedia wikis and some Wikipedias from 3 June. It will be on all wikis from 4 June (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
22:30, 1 June 2020 (UTC)
Edit with external CI Tools
Recently I have set up a github project that contains a script to edit Wikidata. I would like to use the CI website Travis CI to perform the edits as a CRON job. However, I ran into the problem that the IP address of Travis seems to be blocked as external proxy. Of course I wanted to perform the edits using my account, but it seems there is still somehow the access with the IP involved. Now my questions are:
- Is it possible to use Travis CI for edits in Wikimedia projects and somehow circumvent the global block?
- If not, does the Wikimedia infrastructure allow to set up and run CRON jobs, e.g. using the Wikimedia Cloud / Labs tools infrastructure?
Steak (talk) 13:15, 1 June 2020 (UTC)
- I am fairly certain Cloud VPS/Toolforge can do as suggested. --Izno (talk) 16:36, 1 June 2020 (UTC)
- You basically have two options: Request local and global IP block exemption for your bot account, or run it from Toolforge. Toolforge supports recurring cron jobs both on the grid and in Kubernetes. --AntiCompositeNumber (talk) 23:20, 1 June 2020 (UTC)
Any way to change or suppress a keyboard shortcut for this script?
I recently installed the script User:P999/Toggle VF.js, which creates a narration-friendly version of a page suitable for download. The problem I have right now is that the keyboard shortcut to create the page, Alt+⇧ Shift+V, also happens to be the shortcut for editing in VisualEditor. Is there a way to alter or suppress the shortcut for this script? I looked at the code but can't figure out where it defines the shortcut combination. —Tenryuu 🐲 ( 💬 • 📝 ) 23:55, 31 May 2020 (UTC)
- Tenryuu, it's the line
var prntVF = mw.util.addPortletLink ( 'p-coll-print_export', 'https://en.wikipedia.org/w/index.php?title=' + currpgName + '&printable=yes', "Printable VF", "p-VF", "Voice-friendly version for printing [v]","v");
, specifically the"v"
(see Help:Customizing toolbars), you can alter it by changing the letter to the desired key and you can remove it by removing the argument completely. – BrandonXLF (talk) 05:41, 1 June 2020 (UTC)- BrandonXLF, thanks! I tried to give it the shortcut Alt+⇧ Shift+B by substituting both instances of "v" (one in quotation marks, one in square brackets) with "b", but it didn't seem to work. I'm fine with that, as my original shortcut for the VisualEditor has been restored. —Tenryuu 🐲 ( 💬 • 📝 ) 06:11, 1 June 2020 (UTC)
- Tenryuu, normally the shortcut doesn't include shift, so Alt + B should work. – BrandonXLF (talk) 06:51, 1 June 2020 (UTC)
- Resolved. BrandonXLF, thank you so much for your help; this solves my problem and makes it convenient for me. As a little nugget that I would like to store away in my head for future reference, what causes the default shortcut to take Alt+⇧ Shift+V instead of Alt+V? —Tenryuu 🐲 ( 💬 • 📝 ) 08:23, 1 June 2020 (UTC)
- Tenryuu, combination of the modifier keys depends on the browser. See Wikipedia:Keyboard shortcuts. —andrybak (talk) 10:22, 2 June 2020 (UTC)
- Thanks Andrybak; I'll have a look at that. —Tenryuu 🐲 ( 💬 • 📝 ) 15:05, 2 June 2020 (UTC)
- Tenryuu, combination of the modifier keys depends on the browser. See Wikipedia:Keyboard shortcuts. —andrybak (talk) 10:22, 2 June 2020 (UTC)
- Resolved. BrandonXLF, thank you so much for your help; this solves my problem and makes it convenient for me. As a little nugget that I would like to store away in my head for future reference, what causes the default shortcut to take Alt+⇧ Shift+V instead of Alt+V? —Tenryuu 🐲 ( 💬 • 📝 ) 08:23, 1 June 2020 (UTC)
- Tenryuu, normally the shortcut doesn't include shift, so Alt + B should work. – BrandonXLF (talk) 06:51, 1 June 2020 (UTC)
- BrandonXLF, thanks! I tried to give it the shortcut Alt+⇧ Shift+B by substituting both instances of "v" (one in quotation marks, one in square brackets) with "b", but it didn't seem to work. I'm fine with that, as my original shortcut for the VisualEditor has been restored. —Tenryuu 🐲 ( 💬 • 📝 ) 06:11, 1 June 2020 (UTC)
When logged in on main page, top bar moves constantly
When I am logged in to Wikipedia on the main page, the navigation bar at the top keeps changing. The "View History" keeps moving in and out of the favorite button and the entire right side of the bar moves up and down. This happens ~once per second. My page size is 665x814 (half of my screen). Not sure if this should be on Phabricator.
--Worst Username (talk) 17:06, 2 June 2020 (UTC)
- That would be phab:T71729. It's a now-infamous problem apparently. --Izno (talk) 17:28, 2 June 2020 (UTC)
- @Worst Username: you should use a different zoom level if you can? But I don't know how readability will work on your end. –Aνδρέας talk | contributions 17:43, 2 June 2020 (UTC)
- A different resolution will fix the issue irrespective of zoom level. --Izno (talk) 18:08, 2 June 2020 (UTC)
- @Worst Username: I had that problem once with a certain window size, but it went away when I resized it. CrazyBoy826 22:24, 2 June 2020 (UTC)
- A different resolution will fix the issue irrespective of zoom level. --Izno (talk) 18:08, 2 June 2020 (UTC)
- @Worst Username: you should use a different zoom level if you can? But I don't know how readability will work on your end. –Aνδρέας talk | contributions 17:43, 2 June 2020 (UTC)
PageViews/adblocker
Here has suddenly stopped, and now just tells me "Looks like you are using an ad blocker!" etc. Any idea why? ——Serial # 06:04, 29 May 2020 (UTC)
- Just tell your adblocker not to run on the site. Works for me with adblocker disabled. SD0001 (talk) 07:04, 29 May 2020 (UTC)
- @Serial Number 54129: A lot of ad blockers don't like strings like "pageviews" in URLs as they think they're being used for tracking or serving ads. The easiest solution is to turn your ad blocker off on that page. --Deskana (talk) 10:17, 29 May 2020 (UTC)
- Thanks @Deskana and SD0001: Thanks both. Yes, of course; I was really wondering why its suddenly decided to do this when for the last few week its been no trouble at all, with no hint of a problem with adblocking... ——Serial # 10:21, 29 May 2020 (UTC)
- @Serial Number 54129: It happened following the recent move to pageviews.toolforge.org. — MusikAnimal talk 15:56, 3 June 2020 (UTC)
- That would explain it; thanks for the update MusikAnimal. Happy Animalizing! ——Serial # 16:08, 3 June 2020 (UTC)
- @Serial Number 54129: It happened following the recent move to pageviews.toolforge.org. — MusikAnimal talk 15:56, 3 June 2020 (UTC)
- Thanks @Deskana and SD0001: Thanks both. Yes, of course; I was really wondering why its suddenly decided to do this when for the last few week its been no trouble at all, with no hint of a problem with adblocking... ——Serial # 10:21, 29 May 2020 (UTC)
"Question mark" messing up a page link
If you look at Wikipedia:Featured_article_candidates#Five_Go_Down_to_the_Sea?, when you click, you don't end up at Wikipedia:Featured article candidates/Five Go Down to the Sea?/archive1—where you should—but to the non-existant Wikipedia:Featured article candidates/Five Go Down to the Sea. Note the lack of Q-mark in the latter. Can this be corrected? I assumed maybe put it in HTML, but that's as far as I go :) cheers, ——Serial # 17:04, 2 June 2020 (UTC)
- @Seril Number 54129: When I click where? I don't see a link that would cause you to end up in one place as opposed to another, just the link in the header. Do you have a gadget or script adding a link? --Izno (talk) 18:01, 2 June 2020 (UTC)
- @Serial Number 54129: --Izno (talk) 18:08, 2 June 2020 (UTC)
- Sorry Izno,yes I do: Wikipedia:Nominations viewer. Does that make a difference? See in that image, in this case, wwhen i cick the "nomination" link, it takes to a non-existant page without the "?" rather thn the actual nom page which has a "?"...if you know what I mean...! ——Serial # 18:23, 2 June 2020 (UTC)
- @Serial Number 54129: That usually happens because the script has a bug. You should let the script dev know. --Izno (talk) 18:27, 2 June 2020 (UTC)
- Check. Cheers Izno! ——Serial # 18:29, 2 June 2020 (UTC)
- I have reported it at Wikipedia talk:Nominations viewer#Question mark needs encoding. PrimeHunter (talk) 07:33, 3 June 2020 (UTC)
- Patch filed. SD0001 (talk) 07:54, 3 June 2020 (UTC)
- I see you sorted it, SD0001, and thanks for filing PrimeHunter. Nice one all! ——Serial # 16:11, 3 June 2020 (UTC)
- Patch filed. SD0001 (talk) 07:54, 3 June 2020 (UTC)
- I have reported it at Wikipedia talk:Nominations viewer#Question mark needs encoding. PrimeHunter (talk) 07:33, 3 June 2020 (UTC)
- Check. Cheers Izno! ——Serial # 18:29, 2 June 2020 (UTC)
- @Serial Number 54129: That usually happens because the script has a bug. You should let the script dev know. --Izno (talk) 18:27, 2 June 2020 (UTC)
- Sorry Izno,yes I do: Wikipedia:Nominations viewer. Does that make a difference? See in that image, in this case, wwhen i cick the "nomination" link, it takes to a non-existant page without the "?" rather thn the actual nom page which has a "?"...if you know what I mean...! ——Serial # 18:23, 2 June 2020 (UTC)
I want to copy the vastly simplified version of Template:Collapse at User:Launchballer/sandbox to http://wiki.apterous.org, but it isn't collapsing when I copy it over. The documentation suggests the template depends upon having rules for the three classes (collapsible, uncollapsed, and collapsed) in the appropriate CSS files, and some related JavaScript installed - where would I check?--Launchballer 16:37, 3 June 2020 (UTC)
- Launchballer, the wiki is running version 1.16 and version 1.18 is required for collapsible elements to be included in core MediaWiki. I modified mw:MediaWiki:Gadget-collapsibleTables.js so it should work with your wiki.
- common.js (modified):
window.addEventListener('load', function() { var autoCollapse = 2; // Index of first table to autoCollapse var collapseCaption = 'hide'; // Caption to collapse the table var expandCaption = 'show'; // Caption to expand the element var tableIndex = 0; var content = document.getElementById('content'); function collapseTable( rows, button, buttonLink ) { var collapsed = button.classList.contains('mw-collapsible-toggle-collapsed'); button.classList.remove('mw-collapsible-toggle-' + (collapsed ? 'collapsed' : 'expanded')); button.classList.add('mw-collapsible-toggle-' + (collapsed ? 'expanded' : 'collapsed')); buttonLink.innerText = collapsed ? collapseCaption : expandCaption; for ( var i = 1; i < rows.length; i++ ) rows[i].style.display = collapsed ? rows[0].style.display : 'none'; } function createCollapsibleTable ( table ) { if ( !table.classList.contains( 'mw-collapsible' ) ) return; var headerRow = table.getElementsByTagName( 'tr' )[0]; var header = table.getElementsByTagName( 'th' )[0]; if ( !header || !headerRow ) return; table.setAttribute( 'id', 'collapsibleTable' + tableIndex ); var button = document.createElement( 'span' ); button.className = 'mw-collapsible-toggle mw-collapsible-toggle-default mw-collapsible-toggle-expanded'; var buttonLink = document.createElement( 'a' ); buttonLink.style.color = header.style.color; buttonLink.setAttribute( 'id', 'collapseButton' + tableIndex ); buttonLink.className = 'mw-collapsible-text'; buttonLink.setAttribute( 'href', '#' ); buttonLink.addEventListener( 'click', function (e) { e.preventDefault(); collapseTable( table.rows, button, buttonLink ); } ); buttonLink.innerText = collapseCaption; button.appendChild( buttonLink ); header.insertBefore( button, header.firstChild ); tableIndex++; if ( table.classList.contains( 'mw-collapsed' ) || tableIndex >= autoCollapse && table.classList.contains( 'autocollapse' ) ) collapseTable( table.rows, button, buttonLink ); } for ( var tables = content.getElementsByTagName( 'table' ), i = 0; i < tables.length; i++) createCollapsibleTable( tables[i] ); });
- common.css:
.mw-collapsible-toggle-default:before { content: '['; } .mw-collapsible-toggle-default:after { content: ']'; } .mw-collapsible-toggle { float: right; margin-left: 0.3em; }
- – BrandonXLF (talk) 18:35, 3 June 2020 (UTC)
- I've copied those two, but they don't seem to be working. Have I made a mistake?--Launchballer 18:52, 3 June 2020 (UTC)
- Launchballer, copy it to http://wiki.apterous.org/MediaWiki:Common.js and http://wiki.apterous.org/MediaWiki:Common.css. – BrandonXLF (talk) 18:58, 3 June 2020 (UTC)
- Still not seeing it. Do I need to delete them from the pages I initially added them to?--Launchballer 19:24, 3 June 2020 (UTC)
- Launchballer, the code is loading sooner than I thought it would, the above modified JavaScript should work.– BrandonXLF (talk) 20:36, 3 June 2020 (UTC)
- Works a treat, thank you.--Launchballer 21:06, 3 June 2020 (UTC)
- Launchballer, the code is loading sooner than I thought it would, the above modified JavaScript should work.– BrandonXLF (talk) 20:36, 3 June 2020 (UTC)
- Still not seeing it. Do I need to delete them from the pages I initially added them to?--Launchballer 19:24, 3 June 2020 (UTC)
- Launchballer, copy it to http://wiki.apterous.org/MediaWiki:Common.js and http://wiki.apterous.org/MediaWiki:Common.css. – BrandonXLF (talk) 18:58, 3 June 2020 (UTC)
- I've copied those two, but they don't seem to be working. Have I made a mistake?--Launchballer 18:52, 3 June 2020 (UTC)
Good Article nominations by Wikipedians
We have WP:WBFAN and WP:WBFLN, can someone work out how to give us WP:WBGAN? The Rambling Man (Stay indoors, stay safe!!!!) 20:58, 3 June 2020 (UTC)
- Probably best to ask User:Rick Block since he is running Rick Bot, which updates both of those lists. – BrandonXLF (talk) 21:07, 3 June 2020 (UTC)
Pageview stats down
I've just noticed that the pageview stats are down for yesterday. They also seem to have missed a few other days prior. Would this be able to be fixed and the views for the missing days be displayed please? The C of E God Save the Queen! (talk) 05:35, 1 June 2020 (UTC)
- Yeah, I've noticed User:BernsteinBot has been having issues for a couple days getting its daily edit counts. It doesn't look like replication lag is terrible right now (<5min), but I wonder if those two issues aren't interrelated somehow. VanIsaacWScont 07:12, 1 June 2020 (UTC)
- Isn't it normal that yesterday's page views haven't been added this early? The article has around 3 daily views so the 0 on May 28 and 29 is plausible. All other tested articles show views those days. PrimeHunter (talk) 07:23, 1 June 2020 (UTC)
- Normally it's done by now. But you can see there is erratic reporting so it looks to me like there's a problem with the tool. The C of E God Save the Queen! (talk) 07:39, 1 June 2020 (UTC)
- Isn't it normal that yesterday's page views haven't been added this early? The article has around 3 daily views so the 0 on May 28 and 29 is plausible. All other tested articles show views those days. PrimeHunter (talk) 07:23, 1 June 2020 (UTC)
- @MusikAnimal (WMF): --Izno (talk) 11:32, 1 June 2020 (UTC)
- It seems to be working now providing you just look at the one day. The C of E God Save the Queen! (talk) 12:07, 1 June 2020 (UTC)
- @The C of E: I am not seeing any "missing" pageviews. The days prior are especially low by comparison so perhaps you're not noticing them? To better surface those you'll want to use the "Logarithmic scale" option (checkbox on the top-right just above the chart). The tool is capable of detecting when a logarithmic scale is appropriate and can show it automatically. To enable this, go to Settings > "Automatically use logarithmic scale if applicable". Indeed the article apparently received no views on May 28 and 29 (note also logarithmic scales do not have a zero value on the x-axis). Also, very recent data may not be available due to the normal 24+ hour lag in the pageviews pipeline. Hope this helps! MusikAnimal (WMF) (talk) 21:36, 3 June 2020 (UTC)
- It seems to be working now providing you just look at the one day. The C of E God Save the Queen! (talk) 12:07, 1 June 2020 (UTC)
Mangled archives
I probably should know more about how the archiving process works but someone set up my talk page archives for me a long long time ago and they worked so I never found the need to look into it. That's my excuse for not being able to handle this myself.
I'm dealing with a OTRS inquiry regarding Flavio Briatore. In the course of the response I made mention of the talk page, so I thought I'd check it out to see how active it has been.
I was initially surprised to see only four entries, none of which were dated. I am aware that automatic dating of talk pages is more recent than some of these entries. I knew that there had been some issues in 2013 so I was surprised not to see anything on the talk page.
I looked further and found Talk:Flavio_Briatore/Archive_1, which does contain some of the issues I expected to see. However, I thought it was standard practice to have a link on the talk page itself pointing to archives and I do not see one. I thought it was convention that archiving would leave the most recent entries on the talk page. Although the most recent entries date back to 2017 they are more recent than some of the threads left on the page. My guess is that the bot didn't know how to handle the undated entries and chose to leave those four.
What's the best way of fixing this? I presume that the undated entries should be in the archives, the talk page should have a link to the archives, and the last few entries on the talk page should be on the talk page.--S Philbrick(Talk) 16:31, 3 June 2020 (UTC)
- I added {{unsigned}} to the undated discussions and manually archived them. I also pulled the 4 most recent discussions from the archive as the bot is instructed to leave at least 4 discussions. I also added {{archive banner}} to automatically create links to the archives. – BrandonXLF (talk) 23:18, 3 June 2020 (UTC)
- BrandonXLF, Thank you very much. I think I could have done some of that but I didn't know about the archive banner template so thanks again for helping clean this up. S Philbrick(Talk) 12:13, 4 June 2020 (UTC)
Resetting password problem
A long-time editor user:Hsan22 is having difficulty logging in. They requested a password reset, but do not see the email with the reset information. I have already suggested checking spam folders, and that did not help. my experience with such requests is that it is often the case that the user has failed to associate an email address with a username. I usually open up Special:EmailUser and attempt to send a test email. that typically achieves two purposes, first confirming that they do have email established, and second, helps identify the address. In this particular case, entering the username generates the message:
This user has chosen not to receive email from other users.
I believe that message confirms that they have established email, but because they've chosen not to receive email from others, I cannot use that to help them confirm which email address is associated with the account.
They have successfully changed their password in the past. Any suggestions on how we can help this user recover access to their account?--S Philbrick(Talk) 12:16, 4 June 2020 (UTC)
- Sphilbrick your assumption is correct. I'd suggest opening a new private task in phabricator. I'm not sure how much information can be disclosed within the privacy policies, the user might have to offer up some list of email addresses he was expecting. —TheDJ (talk • contribs) 12:30, 4 June 2020 (UTC)
- The account is old but only has 434 Wikimedia edits and no special rights. Will the developers really consider a request? Wikipedia:Help desk gets many posts from users who forgot their password and don't have email enabled or lost access to the email account. We usually just tell them to create a new account. PrimeHunter (talk) 13:19, 4 June 2020 (UTC)
- wikitech:Password_reset has some vague information, but I don't think there is a very strong global policy documented on this? — xaosflux Talk 14:34, 4 June 2020 (UTC)
- The account is old but only has 434 Wikimedia edits and no special rights. Will the developers really consider a request? Wikipedia:Help desk gets many posts from users who forgot their password and don't have email enabled or lost access to the email account. We usually just tell them to create a new account. PrimeHunter (talk) 13:19, 4 June 2020 (UTC)
List of all Wikimedia sister projects
I'd like to generate a list of all Wikimedia sister projects automatically. It would comprise these sites:
- Wikipedia (310)
- Wiktionary (175)
- Wikibooks (120)
- Wikiquote (89)
- Wikisource (70)
- Wikinews (34)
- Wikivoyage (21)
- Wikiversity (17)
For example my list would look like this:
- en.wikipedia.org
- en.wikibooks.org
- etc..
836 entries/lines (as of today). Is there a MediaWiki API entry point? Web scraping the above lists on Meta is less than ideal and probably not authoritative. -- GreenC 15:27, 4 June 2020 (UTC)
- @GreenC: Special:SiteMatrix and it's API should do the trick. – Majavah talk · edits 15:34, 4 June 2020 (UTC)
- Perfect, thanks! -- GreenC 15:41, 4 June 2020 (UTC)
Received a notification although editor doesn't mention me
When I clicked on "view changes" I got this.[36] I've talked to Serols on MOTORUP's talk page some time ago, but other than that I don't think I've even been involved with this editor, so it's unlikely they'd ping me anyway. Doug Weller talk 17:34, 4 June 2020 (UTC)
- That edit transcluded all of User talk:Serols (which contains a link to your user page) instead of linking it. —Cryptic 17:43, 4 June 2020 (UTC)
Not receiving email
I am not receiving mail sent through our internal system.I am aware that such emails are sent because I get an alert, but for the last couple months or so none have shown up in my inbox. I've checked the usual suspects — my social folder, promotions folder and my spam folder.
In my preferences the box with the label:
Allow other users to email me
Is checked.
Any thoughts?
Typical emails come from new users who are attempting to contact me about copyright issues. Because they are new and more interested in the copyright issue I haven't imposed on any of them to look at what happens at their end when they try to send me an email. Could I ask someone here (assuming you don't have an immediate solution) to try sending me an email to see what you see at your end?--S Philbrick(Talk) 15:46, 3 June 2020 (UTC)
- Sent a test and the "Copy of your email" email has been received.--Launchballer 17:40, 3 June 2020 (UTC)
- Launchballer, Thanks, I just checked and do not see any sign of your email. S Philbrick(Talk) 18:08, 3 June 2020 (UTC)
- Maybe check Special:ChangeEmail to see if your email is correct, I would recommend reentering it to make sure it's in the system correctly. – BrandonXLF (talk) 21:15, 3 June 2020 (UTC)
- BrandonXLF, I tried to reset my email address but it wouldn't let me insisting that I use a different address which I take as confirmation that I have the correct address entered. I did try turning off the option to receive emails, saved, then turned it back on. I tried sending myself an email, and I think it worked, but I'm not sure that is a perfect test. Could I ask you to try one?
- When I was looking at my preferences, I see a new option "allow emails from brand-new users" I should have paid closer attention, but when I was making the other change I have a vague recollection that the box was checked but in a different shade. I wonder if that's a new added option and created a problem? When I undid the first option, and then reset, I checked the second option. It's possible this cleared things up. S Philbrick(Talk) 12:28, 4 June 2020 (UTC)
- The "Allow emails from brand-new users" option was added in January 2018, as part of MediaWiki 1.31 wmf.15, see phab:T138165. --Redrose64 🌹 (talk) 23:46, 4 June 2020 (UTC)
- Maybe check Special:ChangeEmail to see if your email is correct, I would recommend reentering it to make sure it's in the system correctly. – BrandonXLF (talk) 21:15, 3 June 2020 (UTC)
- Launchballer, Thanks, I just checked and do not see any sign of your email. S Philbrick(Talk) 18:08, 3 June 2020 (UTC)
Gauging interest for tool idea
Hi. I've been thinking about creating a tool that would notify a requester (possibly on-wiki, possibly off-wiki) if a given account starts editing. I think it would be useful for me when I create an account through WP:ACC for someone, but think they might have promotional edits, so I can keep an eye on them. I could see a number of other possible uses for it as well (e.g. keeping an eye on suspected socks, knowing when to report someone to WP:UAA, etc.).
Of course, to prevent abuse (e.g. wikistalking/harassment), I'd limit it to trusted users. I'm thinking functionaries, ACC members, and OTRS members, plus perhaps a whitelist of other trusted editors, but am open to ideas.
Would anyone here be interested in such a tool? Best, --Mdaniels5757 (talk) 17:29, 4 June 2020 (UTC)
- Be cognizant of previous discussion related to the exact wishlist item. --Izno (talk) 01:37, 5 June 2020 (UTC)
- What is the status of WatchlistBot? I used to use it all the time. Elizium23 (talk) 06:33, 5 June 2020 (UTC)
Replace template doesn't recognise apostrophe in PAGENAME
There is an external link template ({{AFL player}} that uses a wikidata ID and the {{replace}} function on PAGENAMEBASE string to create an external url. It works perfectly unless the article name has a ' in it, ie Ebony O'Dea. The replace function successfully converts the spaces to hyphens which the external links use, but for some reason it is unable to convert the ' to a hyphen. I created a test page at User:The-Pope/sand box'6 (dab) (anyone skilled in templates can play around with it if they want) and you can see that it just wouldn't work. In example 9 it did successfully convert the extra 's that I added outside of what was returned by PAGENAME, but didn't touch the one from the PAGENAME. Any ideas? The-Pope (talk) 09:33, 5 June 2020 (UTC)
- The second red box at mw:Help:Magic words#Page names suggest wrapping the pagename in
{{#titleparts:}}
. {{replace|{{PAGENAME:Ebony O'Dea}}|'|-}}
fails: Ebony O'Dea{{replace|{{#titleparts:{{PAGENAME:Ebony O'Dea}}}}|'|-}}
works: Ebony O-Dea- PrimeHunter (talk) 09:57, 5 June 2020 (UTC)
- The
{{PAGENAME}}
magic word ampersand-encodes certain characters, including the apostrophe. So, try anticipating that conversion:which works to yield Ebony O-Dea --Redrose64 🌹 (talk) 14:29, 5 June 2020 (UTC){{replace|{{PAGENAME:Ebony O'Dea}}|'|-}}
- Thank you both, the titleparts addition worked. I did think about the url encoding, but hadn't worked out how to ampersand-encode char 39 in the search field. Still learning something every day about templates! The-Pope (talk) 14:46, 5 June 2020 (UTC)
Google Search adding highlights for incoming users
FYI: https://9to5google.com/2020/06/03/google-search-highlight-website-content/. There'a already been one case of a reader being confused by this. Opencooper (talk) 14:52, 5 June 2020 (UTC)
- Other examples: Wikipedia:Help desk/Archives/2020 June 1#Text highlighting querystring feature, Wikipedia:Teahouse#Personalized highlighting -- never seen this before. Summary: A Google search with Google Chrome may give a url like https://en.wikipedia.org/wiki/Wikipedia#:~:text=encyclopedia which highlights encyclopedia in Chrome. Don't include
#:~:text=...
when links are saved in articles. PrimeHunter (talk) 16:06, 5 June 2020 (UTC) - Am I the only one who hates hacking this into URLs in this way? No issue whatsoever with Chrome doing the highlighting where it's told to, but I do have an issue with it adding extraneous bits into the URL which aren't standards-compliant, and aren't relevant to the actual content of the page. Naypta ☺ | ✉ talk page | 19:37, 5 June 2020 (UTC)
Lost WikiData link in the Tools section
Anyone else lost the wikidata link in the tools section? Has it been moved? I use Monobook, and on articles I only see the following list under Tools. Was working normally for me yesterday, and still appears when I switch to Vector.
* What links here * Related changes * RTRC * Special pages * Permanent link * Page information * Cite this page * Add to the New Pages Feed * Expand citations * DYK check
Did someone change something? The-Pope (talk) 00:39, 5 June 2020 (UTC)
- It should still be in the same place. You may have a conflicting user script or something. Does it appear when you use safe mode (append
?safemode=1
to any page of interest)? --Izno (talk) 01:40, 5 June 2020 (UTC)- Safe mode didn't make it show. It is still there in all the other skins, I didn't load or change anything, someone must have done something to the monobook skin to break the wikidata link from showing. The-Pope (talk) 03:06, 5 June 2020 (UTC)
- I have reported the sidebar changes at phab:T254546 and phab:T254550. Nirmos (talk) 06:28, 5 June 2020 (UTC)
- Thanks for reporting it. Yep, gone for me too. Using MonoBook and the latest version of Firefox. Lugnuts Fire Walk with Me 07:34, 5 June 2020 (UTC)
- Safe mode didn't make it show. It is still there in all the other skins, I didn't load or change anything, someone must have done something to the monobook skin to break the wikidata link from showing. The-Pope (talk) 03:06, 5 June 2020 (UTC)
- Could this be related to the recent sidebar change? Perhaps the changes (see link talk page) did not account for Monobook? Johnuniq (talk) 08:01, 5 June 2020 (UTC)
- Seems like the WikiData link move wasn't accepted. Ping User:Barkeep49 & User:DannyS712. Was anything in the tools menu changed recently? The-Pope (talk) 08:09, 5 June 2020 (UTC)
- Here is a temporary fix for Special:MyPage/monobook.js:
- Seems like the WikiData link move wasn't accepted. Ping User:Barkeep49 & User:DannyS712. Was anything in the tools menu changed recently? The-Pope (talk) 08:09, 5 June 2020 (UTC)
mw.loader.using(['mediawiki.util'], function () {
if (mw.config.get('wgWikibaseItemId')) {
mw.util.addPortletLink(
'p-tb',
'https://www.wikidata.org/wiki/' + mw.config.get('wgWikibaseItemId'),
'Wikidata item',
't-wikidata',
'Structured data on this page hosted by Wikidata',
null,
'#t-cite'
);
};
});
- It doesn't check whether the link is already there. Should we add it to Mediawiki:Monobook.js until the bug is fixed? PrimeHunter (talk) 08:18, 5 June 2020 (UTC)
- This is marked to fix in phab:T254485, with a note that if it is really urgent you can request urgency on it. — xaosflux Talk 12:52, 5 June 2020 (UTC)
- It doesn't check whether the link is already there. Should we add it to Mediawiki:Monobook.js until the bug is fixed? PrimeHunter (talk) 08:18, 5 June 2020 (UTC)
- It's connected with these changes to the site's common.css, which follow on from Wikipedia:Requests for comment/2020 left sidebar update, which is huge. Notifying MSGJ (talk · contribs). --Redrose64 🌹 (talk) 14:16, 5 June 2020 (UTC)
- I don't believe this is connected to the sidebar changes RfC. The tooltip to Wikidata was changed but the link was not moved. Apparently there were some changes to the software also made yesterday. — Martin (MSGJ · talk) 15:46, 5 June 2020 (UTC)
- As I was pinged as a closer of the RfC, in the discussion there was some talk of how proposed changes would impact Timeless but not Monobook. The scope of the close was what there was consensus for with implementation details, as with many RfCs, left to interested editors. I certainly hope that Martin is correct that this was the result of a software change and not implementation of the RfC. Best, Barkeep49 (talk) 16:28, 5 June 2020 (UTC)
- I can confirm this is a software issue and nothing related to your RFC. User:PrimeHunter this should be fixed next week's train so the Monobook.js solution sounds like a good idea until that happens. Apologies again. I'm trying to make technical changes to the menu as carefully as possible but made a human error on this one. Sincerest apologies for this regression. Jdlrobson (talk) 16:33, 5 June 2020 (UTC)
- Jdlrobson, I came here to see if this was discussed and if I'm understanding you correctly, Alt+Shift+G will take me to Wikidata again sometime next week. Is that correct? ―Justin (koavf)❤T☮C☺M☯ 18:58, 5 June 2020 (UTC)
- Correct. The shortcut requires the link to be present so until that link returns the shortcut will be broken. Sorry! Jdlrobson (talk) 20:37, 5 June 2020 (UTC)
- I've added the js hack to MediaWiki:Monobook.js; can be removed when this is fixed. — xaosflux Talk 19:09, 5 June 2020 (UTC)
Rosetta Stone: Wikidata entry prevents use
"Rosetta Stone" has a problematic entry at field "Described at URL". The link works technically but the contributor used a link shortener, which is (now) blocked by scripts on Wikidata and Wikimedia.
When I try to use it for file description on Wikimedia Commons (Template:Artwork), Wikimedia says "The following text is what triggered our spam filter: skfb.ly." The normal user interface of Wikidata blocks editing or removing of the problematic link entry for the same reason. Wikidata says (roughly): "Cannot remove this link because it's spam." ΟΥΤΙΣ (talk) 01:28, 4 June 2020 (UTC)
- I replaced it and didn't get that message, and I don't believe I have any special permissions on Wikidata. -- King of ♥ ♦ ♣ ♠ 01:49, 4 June 2020 (UTC)
- Not sure why it didn't let you replace it. There are only seven other uses of that site on Wikidata, so I'm going to just fix them manually. --Yair rand (talk) 01:52, 4 June 2020 (UTC)
- Please always give the actual error message so helpers can search for it. Maybe there is a problem somewhere but it's hard to investigate an unreproducible error with an unknown error message. PrimeHunter (talk) 08:21, 4 June 2020 (UTC)
- Will do. Thanks for fixing it. ΟΥΤΙΣ (talk) 21:57, 5 June 2020 (UTC)
Achinese
Please change the language name of "achinese" to "acehnese" because the former is an antiquated spelling, see en:Acehnese_language#Name. "achinese" is also used in Wikidata for English. Hddty (talk) 10:21, 5 June 2020 (UTC)
- @Hddty: you'd have to point to a specific label, however I don't think this is an English Wikipedia setting in most places, see also phab:T145926 that seems to have swapped things the other direction at least in some messages. As this appears a bit contentious you will need to point to a strong international reference to get this done on the software side (i.e. more then just a Wikipedia article). — xaosflux Talk 12:49, 5 June 2020 (UTC)
{{#language:ace|en}}
produces Acehnese. mw:Help:Magic words#Miscellaneous says it depends on mw:Extension:CLDR which uses the Common Locale Data Repository.'ace' => 'Achinese'
is in [37]. The current CLDR version is v37 at http://cldr.unicode.org/index/downloads. http://unicode.org/Public/cldr/37/ lists cldr-common-37.0.zip which has a file common\main\en.xml saying<language type="ace">Achinese</language>
. So Wikimedia just copied the English language name from the current version of an external source. I doubt they will make changes on their own. Some places don't depend on CLDR but you didn't say where you want it changed. PrimeHunter (talk) 13:13, 5 June 2020 (UTC)- See http://cldr.unicode.org/index/bug-reports if you want to file a CLDR request. PrimeHunter (talk) 13:21, 5 June 2020 (UTC)
- @PrimeHunter: Thanks for the explanation, this is what i'm looking for. Hddty (talk) 20:58, 5 June 2020 (UTC)
- @PrimeHunter: I want it changed in all Wikimedia, how do I file a request? Hddty (talk) 21:41, 5 June 2020 (UTC)
- If you get it changed in CLDR then it should be changed in all Wikimedia places which use CLDR next time Wikimedia updates from CLDR. If you want it changed in Wikimedia without a CLDR change then it could be requested at Phab: but I doubt it will be considered seriously. PrimeHunter (talk) 23:02, 5 June 2020 (UTC)
- Might this be one for translatewiki? See Wikipedia:Village pump (technical)/Archive 181#Update babel description. --Redrose64 🌹 (talk) 14:23, 5 June 2020 (UTC)
Page history summaries and differences font
The change summaries don't appear in the page history when viewing the history on a mobile device in desktop mode. How can I make them appear? How can I view the change summaries on a mobile device? In addition the font used for the difference view changed to a hard to read font. How can I specify the font to use for the differences? — Preceding unsigned comment added by 2600:1000:B050:C64:717A:C49B:6FFB:1A6A (talk) 22:56, 5 June 2020 (UTC)
- You should click "Desktop" from the footer. – Ammarpad (talk) 04:37, 6 June 2020 (UTC)
Amy McGrath - misdirected notifications
It's hard for me to tell exactly what happened, but when this page was created, it looks like it was created at a typoed title, and I attempted to move it to the correct one. One way or another, I ended up being the "page creator", which actually should have been, apparently, I am One of Many. As a result, whenever a link is added that points to this page, I get the notification instead of I am One of Many. Is there a way to correct the "creator" of the page, or are we stuck like this? Home Lander (talk) 01:32, 6 June 2020 (UTC)
- I'm on it. I'll delete the first few redirect revisions from the history. Graham87 02:11, 6 June 2020 (UTC)
- Done. Graham87 02:14, 6 June 2020 (UTC)
- Thanks to both of you! --I am One of Many (talk) 04:53, 6 June 2020 (UTC)
- Done. Graham87 02:14, 6 June 2020 (UTC)
Special:Nuke for G5?
I'm working on Wikipedia:Sockpuppet investigations/Slowking4. There were a little over 100 pages created by Essiepolman79. I've spot-checked a few and so far they all appear to be G5 eligible. I've never used Special:Nuke before, but it looks like the right tool. The question is, is there any way to verify that they are indeed G5-able by flagging the ones that anybody else had edited? Or should I just go ahead and nuke them all, on the assumption that 1) that's probably correct and 2) if I accidentally get any that aren't, it's easy enough to restore them? -- RoySmith (talk) 20:16, 5 June 2020 (UTC)
- I would advise to always check the histories of each page, as I think 'probably correct' and 'fix it later' are not good policies to strive for. I'm not aware of any shortcut to spot pages which have been substantially edited by others, although if you can see the N and the (current) on the same line, it should be good to go. -- zzuuzz (talk) 20:30, 5 June 2020 (UTC)
- Zzuuzz, Unfortunately, most of the ones I looked at had several edits by the creator so the N/current thing doesn't work out. Pinging Jo-Jo Eumerus who I see has made this moot by already mass-deleting them all :-) -- RoySmith (talk) 21:20, 5 June 2020 (UTC)
- I manually checked each page before firing off the mass deletion. The tool produces a list of pages with links to their page histories, so it's not that hard to uncheck all the pages which are not (necessarily; I was being quite conservative with this mass deletion) G5 eligible. Jo-Jo Eumerus (talk) 08:28, 6 June 2020 (UTC)
- Zzuuzz, Unfortunately, most of the ones I looked at had several edits by the creator so the N/current thing doesn't work out. Pinging Jo-Jo Eumerus who I see has made this moot by already mass-deleting them all :-) -- RoySmith (talk) 21:20, 5 June 2020 (UTC)
Problem with inserting content into Wikitext editor
Recently I noticed that whenever I try to insert a link, image, table, or citation via the toolbar in the regular WikiText editor, the element is inserted at the beginning of the textarea instead of where the cursor was before I clicked the toolbar. This only happens if I'm using Chrome and I'm logged in. Is anyone else experiencing this problem or is it just me? Kaldari (talk) 20:32, 5 June 2020 (UTC)
- I tested this with Chrome and it's working (as it should) for me while logged in. – Ammarpad (talk) 04:41, 6 June 2020 (UTC)
- Ok, I saw a bug report that looks similar to this with a hint about "syntax highlighting". I can verify that the bug manifests when CodeMirror is in use. @Kaldari:, I believe you have enabled syntax highlighting, otherwise it might be a different issue. – Ammarpad (talk) 08:51, 6 June 2020 (UTC)
Second-degree related changes?
Let's say I have a list of a thousand disambiguation pages for human names, and I want to keep them all up to date. For example, if a person listed on one of those pages dies and their article is reflected to edit this, or a missing birth/death date is added, or their article is deleted, I would like to know this in order to update (or remove) their entry on the disambiguation page accordingly. Is there a way to do this from that list of a thousand pages, without searching for related changes to each of those thousand pages individually? Of course, in an ideal world, a bot would make all these updates, and I (or another disambiguation editor) could merely check the bot's work. BD2412 T 21:47, 6 June 2020 (UTC)
Last edited
So I have a proposal. What if we did this: Last edited at 23:00 by you (only shown to that person) and: Last edited at 23:00 by user (shown to everyone else). New3400 (talk) 15:07, 6 June 2020 (UTC)
- Where are you imagining that this would be shown - is this a new feature you're looking for, or something that exists being changed? Naypta ☺ | ✉ talk page | 16:37, 6 June 2020 (UTC)
- The footer of each Wikipedia page includes a notice such as This page was last edited on 6 June 2020, at 10:35.
- This editor proposes to show the username of the last editor, or "you" if that is appropriate. I am not sure about this latter twist, but I guess it's OK to name the editor. It seems like a low-priority change. It also seems nearly irrelevant to non-editors who are the most likely ones to be looking for this notice. Elizium23 (talk) 17:38, 6 June 2020 (UTC)
- Elizium23, I'm not 100% sure that is what they meant - I notice that the comment that was left was a mobile edit, so I think they might be referring to the bar at the bottom of the mobile page that currently shows "Last edited at 12:34 by User". New3400, it'd be good to get some clarity on what specifically it is you're proposing here, and why you think it'd be an improvement on what's existing there. Naypta ☺ | ✉ talk page | 17:41, 6 June 2020 (UTC)
- If it's about MediaWiki:Lastmodifiedat at the bottom of desktop pages then the last editor is not available for the message. If it's about MediaWiki:Mobile-frontend-last-modified-with-user-days at the bottom of mobile pages then it already shows the last editor but the current viewer is not available. PrimeHunter (talk) 17:42, 6 June 2020 (UTC)
- Elizium23, I'm not 100% sure that is what they meant - I notice that the comment that was left was a mobile edit, so I think they might be referring to the bar at the bottom of the mobile page that currently shows "Last edited at 12:34 by User". New3400, it'd be good to get some clarity on what specifically it is you're proposing here, and why you think it'd be an improvement on what's existing there. Naypta ☺ | ✉ talk page | 17:41, 6 June 2020 (UTC)
- @New3400, Naypta, PrimeHunter, and Elizium23: I've always like what Wikivoyage does, where the footer includes e.g.
Based on work by Wikivoyage users Bob, Sally, Harry, and others
. It's a nice way to give some credit to a page's top contributors in a way that doesn't disrupt readers. Would I get SNOWed upon if I proposed adding something like that here? {{u|Sdkb}} talk 01:03, 7 June 2020 (UTC)- Encouraging trivial changes by those who like seeing their name at the bottom of a Wikipedia article should not be encouraged. We also do not want to encourage trolls trying to see how far towards trolldom a user name can be before admins waste time removing it. Johnuniq (talk) 01:10, 7 June 2020 (UTC)
- Johnuniq, good points. I'm not sure how Wikivoyage does their ranking, but authorship percentage would probably be better than edit count since it's harder to game. Even with that there's enough concerns to be cautious, though. {{u|Sdkb}} talk 03:39, 7 June 2020 (UTC)
- It appears Wikivoyage just shows the 10 latest contributors listed by how recently they edited, but with IP's listed after users. Wikivoyage has installed mw:Extension:CreditsSource. mw:Manual:$wgMaxCredits controls whether credits are shown and how many authors are credited. It says: "Note that this will require 2-3 extra database hits for every single page view, which can have significant impact on performance for large wikis." https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php says:
'wmgUseCreditsSource' => [ 'default' => false, 'wikivoyage' => true, ], 'wgMaxCredits' => [ 'default' => 0, 'testwiki' => -1, // T130820 'wikivoyage' => 10, ],
- This disables credits in all Wikimedia wikis except testwiki: which shows all authors and wikivoyage: which shows 10. The message as the bottom of pages is MediaWiki:Othercontribs. It's not used here. PrimeHunter (talk) 09:00, 7 June 2020 (UTC)
- Johnuniq, good points. I'm not sure how Wikivoyage does their ranking, but authorship percentage would probably be better than edit count since it's harder to game. Even with that there's enough concerns to be cautious, though. {{u|Sdkb}} talk 03:39, 7 June 2020 (UTC)
- Encouraging trivial changes by those who like seeing their name at the bottom of a Wikipedia article should not be encouraged. We also do not want to encourage trolls trying to see how far towards trolldom a user name can be before admins waste time removing it. Johnuniq (talk) 01:10, 7 June 2020 (UTC)
Problem with thumbnails images of subsection
There is technical error with subsection file thumbnails (File:Imagejpg|thumb|thumbnail description) in syntax. The problem began on yesterday without display all images in subsection. This occured at "all" Wikipedia pages, not at specific article or file. As I open all pages, they cannot show the thumbnails. It might be my web browser error. Could you explain the issue please? For example, I recently viewed the article "Joseph Stalin". The Supermind (talk) 18:30, 6 June 2020 (UTC)
- @The Supermind: Which browser are you using? Are you using the MobileFrontend (advanced mobile)? --qedk (t 愛 c) 18:47, 6 June 2020 (UTC)
- Google Chrome. The Supermind (talk) 18:51, 6 June 2020 (UTC)
- @The Supermind: Can you give version details? OS details? --qedk (t 愛 c) 18:53, 6 June 2020 (UTC)
- Google Chrome. The Supermind (talk) 18:51, 6 June 2020 (UTC)
- FYI, there was also yesterday a similar report about broken thumbnails from an IP user at the Help Desk, but no details were given. RudolfRed (talk) 18:56, 6 June 2020 (UTC)
- Chrome 56.0.2924.87 (Application version). The Supermind (talk) 19:03, 6 June 2020 (UTC)
- @The Supermind: See mw:How to report a bug. Without clear steps to reproduce nobody knows where to try reproduce some problem. --Malyacko (talk) 08:08, 7 June 2020 (UTC)
- You probably want to check for errors both in the console and network tabs of your web browser's developer tools. See mw:Help:Locating broken scripts. --Malyacko (talk) 08:12, 7 June 2020 (UTC)
- @The Supermind: See mw:How to report a bug. Without clear steps to reproduce nobody knows where to try reproduce some problem. --Malyacko (talk) 08:08, 7 June 2020 (UTC)
- Chrome 56.0.2924.87 (Application version). The Supermind (talk) 19:03, 6 June 2020 (UTC)
- @The Supermind:I can confirm the same issue with the Android Webview browser based on Chromium 38. It shows gray rectangle with caption Tap to view image instead of thumbnail in all Wikipedia pages' subsection. It regards just the mobile view, desktop version shows images properly. Newest release of Google Chrome or Chromium-based Vivaldi browser displays images properly. --Downlife (talk) 18:59, 7 June 2020 (UTC)
Allowing pages to be categorised by tags on their talk page
Hi folks,
There's an issue on Phab at phab:T117122 talking about WikiProjects wanting the ability to easily see which pages are in their categories, view recent changes on those pages (i.e. not the tagged talk pages, but the actual pages), and to patrol those pages using tools like Huggle. I picked up this issue, and have been working out an extension for MediaWiki which would allow this to happen.
All you'd need to do is put {{#pageCat:The category you want}}
on the talk page, and it would categorise the corresponding page with Category:The category you want. This works through templates, so WikiProject headers could categorise the actual page, and not the talk page that they're on, without adding any wikitext to the page itself. As it's using the standard MediaWiki categorisation features, it also respects __HIDDENCAT__
and all the rest, so you can keep the categories out of the way with no issue.
The extension is still going through code review on Gerrit, and it's my first time building a MediaWiki extension, so it's a little way away yet. However, the idea's there, so I suppose the questions here are:
- Broadly, does the community want this on enwiki? Does it seem like a good idea?
- Is it a good idea to have some sort of visible indicator on the page that gets categorised that it is categorised from a tag on the talk page, or is this unnecessary?
- Are there specific details of the implementation that need to be built a specific way, or any other uses for this extension that would be useful to consider?
- Are there any other questions or concerns about it?
Feedback appreciated, as always! Naypta ☺ | ✉ talk page | 16:25, 5 June 2020 (UTC)
- Incidentally, I wasn't sure whether this was best to put at VPT or VPR - feel free to move it to VPR if you think it's better there! Naypta ☺ | ✉ talk page | 16:26, 5 June 2020 (UTC)
- @Naypta: You should be familiar with the prior art, which is the work done for mediawikiwiki:Extension:PageAssessments and already deployed to EN.WP. There was some WP-specific chatter on that work at overhaul of article assessments. --Izno (talk) 18:12, 5 June 2020 (UTC)
- @Izno: Thanks for the links! I was aware of PageAssessments, but didn't know it was already deployed to enwiki. That being said, this extension is different in some quite important ways.Whilst PageAssessments creates an entirely new system, not only for WikiProjects to follow but also for categorisation of articles which come under those projects - so that means no compatibility with anything that currently uses categories, like Huggle, and a different set of tools to adapt processes to. It also is only applicable to WikiProjects, for obvious reasons.Rather than creating a new system, my extension leverages MediaWiki's existing categorisation functionality, meaning it's natively compatible with everything else that supports categories. It's not inherently connected to WikiProjects, either; whilst it was inspired by that Phab ticket, and would do what's being looked for there, it could also be used in a multitude of other ways. For instance, just off the top of my head, it could be used by sysops to monitor recent changes to pages that had a DS notice on the talk page, without having to muck about with additional categories in the wikitext of the page itself. It could equally be used to easily categorise and browse pages which had recent PRODs or the like. The possibilities are endless! Naypta ☺ | ✉ talk page | 19:33, 5 June 2020 (UTC)
- Getting extensions deployed on Wikimedia wikis is a very non-trivial task. Would it be possible to implement this in Lua instead? * Pppery * it has begun... 21:21, 5 June 2020 (UTC)
- @Pppery: Unfortunately, no, this wouldn't be possible to do via a Lua script, as it needs to alter not just the page that it is embedded on, but also alter other pages (specifically, the corresponding page for the talk page the template is used on) - and alter them in such a way that future edits to the wikitext of the page will not override the change it makes. This is well beyond the capability of Scribunto's implementation of Lua, as far as I am aware. I'm following the steps on the mw:Writing an extension for deployment page you linked to, and have been since I started developing the extension; I'm happy to jump through the hoops required, although I of course recognise that this takes effort from other people as well as myself, which is why I wanted to obtain consensus at this early stage. Naypta ☺ | ✉ talk page | 21:29, 5 June 2020 (UTC)
- Naypta, yes, this seems very useful. For example, I'd like to patrol WP:VITAL articles using Huggle, but those are categorized by a talk page template and not on the mainspace page. Thank you for taking this on! Levivich [dubious – discuss] 20:55, 7 June 2020 (UTC)
"Search Wikipedia" missing page titles
Can anyone else reproduce this thing I see today (on desktop, with both Firefox and Chrome), where searching from the top right-hand bar on any enwiki page (including the Main Page, but not including wikipedia.org) shows no bolded autocomplete results for "2018 United States House of Representatives elections in North Carolina" even when you type/paste the whole title? The page exists, but you would never know it from autocomplete until you hit Enter/clicked the magnifying glass icon. Airbornemihir (talk) 20:49, 30 May 2020 (UTC)
- It's the same for me. Wikipedia:Village pump (technical)/Archive 181#Possible issues with search function and phab:T253114 are similar but about recent articles, and they do show up after the complete title is typed, e.g. 2006 LNBP season. 2018 United States House of Representatives elections in North Carolina got the title in December 2018.[38] PrimeHunter (talk) 21:06, 30 May 2020 (UTC)
- I just observed the same thing with 2020 United States House of Representatives elections in Ohio. Airbornemihir (talk) 22:20, 2 June 2020 (UTC)
- 2018 United States House of Representatives elections in North Carolina and 2020 United States House of Representatives elections in Ohio currently show up for me in search suggestions when the complete title is typed, but not before the last character. On 30 May the first article never showed up. PrimeHunter (talk) 07:41, 3 June 2020 (UTC)
- @PrimeHunter: I'm now seeing what you're seeing. It might be because of a change that was reported on the phabricator discussion you linked. I'm glad they looked into this, but in my opinion it's still a little messy for autocomplete to wait until the last letter - it defeats most of the purpose of autocomplete. Airbornemihir (talk) 13:47, 3 June 2020 (UTC)
- The last-character thing happens with 2020 United States House of Representatives elections in Wisconsin, too. Hopefully the devs will find a fix... Airbornemihir (talk) 21:38, 7 June 2020 (UTC)
- @PrimeHunter: I'm now seeing what you're seeing. It might be because of a change that was reported on the phabricator discussion you linked. I'm glad they looked into this, but in my opinion it's still a little messy for autocomplete to wait until the last letter - it defeats most of the purpose of autocomplete. Airbornemihir (talk) 13:47, 3 June 2020 (UTC)
- 2018 United States House of Representatives elections in North Carolina and 2020 United States House of Representatives elections in Ohio currently show up for me in search suggestions when the complete title is typed, but not before the last character. On 30 May the first article never showed up. PrimeHunter (talk) 07:41, 3 June 2020 (UTC)
- I just observed the same thing with 2020 United States House of Representatives elections in Ohio. Airbornemihir (talk) 22:20, 2 June 2020 (UTC)
Expand citation bot blocked?
I've tried to run the expand citations tool on 2000 Scottish Cup Final but when it gets to "remedial work clean up templates" the bot stops with an error message saying "! Account "Citation bot" or this IP is blocked from editing." Is there a reason for this problem? The C of E God Save the Queen! (talk) 11:24, 8 June 2020 (UTC)
- Take it to the Bot's talk page. Yes, it is blocked. AManWithNoPlan (talk) 11:31, 8 June 2020 (UTC)
Non-empty ref causing empty ref error?
Please see Project Excalibur#X-ray lasers. The error is being reported on something that does not appear to be empty. Maury Markowitz (talk) 12:01, 8 June 2020 (UTC)
- Fixed Since the text in the {{efn}} footnote contains an equals sign, it must be keyed as
1=...
. -- John of Reading (talk) 12:32, 8 June 2020 (UTC)- You can see the generated wikitext at Special:ExpandTemplates. The whole
{{efn|...=...}}
only produced<ref group="lower-alpha"></ref>
. PrimeHunter (talk) 12:40, 8 June 2020 (UTC)
- You can see the generated wikitext at Special:ExpandTemplates. The whole
Having problem while editing in free basics
I cant edit with free basics app or browsing free basic. its free and out of data charge. Please give me IP block exemption so that I can edit.
I have IP block exemption in bangla wiki so I can edit bangla wiki with it. But not in english. — Preceding unsigned comment added by Emdad Tafsir (talk • contribs) 10:37, 8 June 2020 (UTC)
- You can request IPBE via Wikipedia:Unblock Ticket Request System. — xaosflux Talk 14:43, 8 June 2020 (UTC)
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
- Some articles have tables that can be sorted in different ways. For example a list of countries can be sorted alphabetically but you can click on the size column to sort them by size. If you clicked on the column a second time it would sort the countries from the bottom to the top instead. A third click will now take you back to the original sorting. [39]
- Self-closed tags now work as in the HTML5 specifications. This means you should stop using some of them.
<b/>
is an example of a self-closed tag that won't work.area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, wbr
can be self-closed. Pages with tags that should not be self-closed have been listed in a tracking category since 2016. They will be listed in Special:LintErrors/self-closed-tag. This doesn't affect<references />
or<ref />
. [40] - There is a banner called
WikidataPageBanner
. It is for example used by the Wikivoyages, Wikimedia Russia and the Catalan, Basque, Galician and Turkish Wikipedias. It will now been seen by mobile visitors too. Before this it was only seen on desktop. The wikis should update instructions onMediaWiki:Sitenotice
so that editors know to test and style for mobile too. [41][42]
Changes later this week
- You can now edit MassMessage descriptions through the API. This is useful for tools and gadgets. [43]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 9 June. It will be on non-Wikipedia wikis and some Wikipedias from 10 June. It will be on all wikis from 11 June (calendar).
Future changes
- A temporary fix helped wikis make their main pages more mobile friendly. This was in 2012. It has not been recommended since 2017. It will not work after 13 July. Wikis should use TemplateStyles instead. 118 wikis need to fix this. You can read more and see if your wiki is affected. [44]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
21:11, 8 June 2020 (UTC)
Talk page messages skewed to the right
--qedk (t 愛 c) 05:54, 9 June 2020 (UTC)
I noticed that on Nick Moyes's talk page, the headings starting with User_talk:Nick_Moyes#Administrators'_newsletter_–_June_2020 are skewed to the right. Does anyone have an idea on how to fix this? I will notify him on his talk about this discussion. Interstellarity (talk) 14:09, 8 June 2020 (UTC)
- @Interstellarity: It's the
{{UserboxCOI}}
template that's forcing the indent. --qedk (t 愛 c) 14:28, 8 June 2020 (UTC)- Fixed by removing the colons before the userbox call. I hope that's OK. -- John of Reading (talk) 14:31, 8 June 2020 (UTC)
- Yeah, that's what I did in the end. --qedk (t 愛 c) 14:32, 8 June 2020 (UTC)
- @QEDK: One of those cases where "Your edit was saved" actually means "Your edit was ignored because someone else has just made exactly the same edit" -- John of Reading (talk) 15:25, 8 June 2020 (UTC)
- Ha, that happens! --qedk (t 愛 c) 05:54, 9 June 2020 (UTC)
- @QEDK: One of those cases where "Your edit was saved" actually means "Your edit was ignored because someone else has just made exactly the same edit" -- John of Reading (talk) 15:25, 8 June 2020 (UTC)
- Nothing to see here. Move along please. You can all get back to you work. (Unless, that is, someone want to fix the stupid
{{UserboxCOI}}
template so it can be indented without affecting the rest of a talkpage. But it's not a big issue.) Nick Moyes (talk) 23:14, 8 June 2020 (UTC)- @Nick Moyes: Should be fixed now. --qedk (t 愛 c) 06:03, 9 June 2020 (UTC)
- Yeah, that's what I did in the end. --qedk (t 愛 c) 14:32, 8 June 2020 (UTC)
- Fixed by removing the colons before the userbox call. I hope that's OK. -- John of Reading (talk) 14:31, 8 June 2020 (UTC)
How to find common editors?
If I have a list of pages, is there a tool to find which editors have edited them all? Basically the inverse of Editor Interaction Analyser. -- RoySmith (talk) 14:21, 8 June 2020 (UTC)
- @RoySmith: Yes, this tool will do just that. Beyond My Ken (talk) 07:32, 9 June 2020 (UTC)
They say to be WP:BOLD. They say to WP:IAR. Well, I've done that. But now I seek review, for my own peace of mind.
I wrote the following vim command, to add anchors to all places needed in list of Latin legal terms:
:%s/|\s*\({{anchor|[A-Z]}}\)\?\s*''\(\[\?\[\?\):\?\([Ww]ikt\(ionary\)\?:\)\?\([A-Za-z ]\+\)\(#[a-zA-Z ]\+\)\?\(|[A-Za-z ]\+\)\?\(\]\?\]\?\)''/|\1{{anchor|\5}} ''\2\3\5\6\7\8''
I did this just so I could link list of Latin legal terms § sub nomine in a single article. I felt wrong adding one anchor. (I am a bit OCD. And perhaps a WP:AUTIST if we're honest.)
However, I knew it was quite likely people would not realize what I'd done, and add new terms without adding the required {{anchor}}s. I also knew it was possible that the WP:VE could change at any time and stop displaying the little puzzle piece and word Anchor, therefore increasing the likelihood of problems. After all, our work here lasts decades, and I certainly don't have the ability to screen all edits on all the articles I've contributed to.
I did not think adding the notice to Talk:List of Latin legal terms was sufficient to keep the {{anchor}}s up to date in the long term, though I did that too.
So, I added a multi-line comment. I figure most experienced users know enough wiki syntax to know where the article is, and most new users will be using the VE. But, I want to know your thoughts. Is Special:Diff/961602526 kosher? Psiĥedelisto (talk • contribs) please always ping! 12:22, 9 June 2020 (UTC)
- @Psiĥedelisto: in general, discussion about the page should go on the associated talk page, and messages to editors about established page practices should go in to its page notice at Template:Editnotices/Page/List of Latin legal terms - rather than as a long HTML comment. — xaosflux Talk 13:43, 9 June 2020 (UTC)
RefToolbar Problem: faulty insertion point
Noting the discussion about RefToolbar above, I'd like to report the following issue:
Using RefToolbar in WP:Source Editor to add citations, I find they are all being inserted at the very top of the page I am editing, and not at the end of the relevant sentence where my cursor was placed.
In this edit I copied a bare url already present at the end of the sentence, then used RefToolbar to autofill it, Preview it and Insert it at the end of the sentence where my cursor had been placed. The reference previewed correctly, but the 'Insert' point was wrong. Citations added to the same page via WP:VE are inserting correctly.
Pinging @Kaldari and Mr.Z-man: who were mentioned as managing this tool. Nick Moyes (talk) 16:31, 9 June 2020 (UTC)
- @Nick Moyes: Thanks for the report! This has been fixed in master and the fix should be deployed to English Wikipedia on Thursday. Sorry for the inconvenience in the meantime! Kaldari (talk) 17:06, 9 June 2020 (UTC)
- Also note that you can avoid the problem by turning off syntax highlighting or using a browser other than Chrome. Kaldari (talk) 17:07, 9 June 2020 (UTC)
- Thanks for the heads up and the workaround. Nick Moyes (talk) 18:04, 9 June 2020 (UTC)
System requirements for hosting a fork of Wikipedia via a Wikimedia server
Hi, I am following these directions for hosting a personal copy of Wikipedia (via a Wikimedia) server; my goal is to have it fully editable (I'm using WAMP server)
I was wondering what the system requirements would be. (The 2nd article says I would need about 600GB of free space with high CPU use).
If anyone could give me an estimate on this I would appreciate it.--IBBishops (talk) 09:43, 9 June 2020 (UTC)
- If you mean, you want the WMF to host it on their servers, that's not going to happen. If you want to host your own Wikipedia fork, it will in large part depend on what you're hosting; are you planning on hosting just the current version of the article text without user or talk pages (approx 60GB), the current version of the article text plus the current versions of Commons images (about 30 terabytes), or all-revisions-all-pages-all-languages (almost certainly more than either your computer or your internet connection can handle, unless you have large commercial servers). The instructions for downloading database dumps are at Wikipedia:Database download. ‑ Iridescent 10:10, 9 June 2020 (UTC)
- Thanks, I want my own Wikipedia fork, not one hosted on WM servers. (I followed the Instructions on the ExtremeTech article to set up a database and install MediaWiki. I have an XML dump downloaded here which I plan on importing. I want just the article text, and the pages to be editable by uses. No plan on importing the Commons images due to hosting and copyright reasons.
--IBBishops (talk) 11:16, 9 June 2020 (UTC)
- For the record, I only want to host about 30,000 articles at most (mainly the good and featured articles on Wikipedia), with edible pages and talk pages? Any estimate on that? Thanks.
Some back of the envelope guesses: Wikipedia:Size of Wikipedia says 6 million articles with 3.6 billion words, so roughly 600 words/article on average. Figure a typical GA or FA is several times longer than average, so 3000 words, or 15k characters. Another factor of 2 for database overhead, so 30 kb per article. Times 30,000 articles, gives you on the order of 1 GB. You owe the oracle a quick lesson in how to pass a software engineering interview. -- RoySmith (talk) 17:33, 9 June 2020 (UTC)
- Thanks, this is where I was lost; I used WampServer to install Wikimedia software so that I can access and edit it via localhost. [https://docs.sweeting.me/s/self-host-a-wikipedia-mirror#Method-3-Run-a-full-MediaWiki-server This article says I would need up to 2TB for importing it and high CPU use; also said that importing the XML as chucks of SLQ could take days. I'm assuming this link isn't talking about just the articles and an editable wiki, but includes something else, such as images and full revision histories?--IBBishops (talk) 19:35, 9 June 2020 (UTC)
Layout problem in bracket codes
There are lots of errors in how 32 team bracket are displayed. I checked few cases from 24, 48 and 64 brackets and they were correct, so it seems to be only 32 team problem:
- Template:32TeamBracket-2legs, Template:32TeamBracket-2legs-except final, Template:32TeamBracket-Compact-Squash5, Template:32TeamBracket-Tennis3 and Template:32TeamBracket-Tennis5 are missing spacer rows at "Round of 32", which Template:32TeamBracket has. Broken ones have all pairs mushed together, so it's visually horrible mess.
- Template:5RoundBracket-Byes, Template:32TeamBracket-Byes and Template:32TeamBracket-Compact-Tennis5 are missing "Round of 32" boxes completely
- Template:5RoundBracket is missing round header texts and padding
- Template:32TeamBracket-Compact-info shows content tags or something
- Template:32TeamBracket-Compact-NoSeeds-Byes shows only final
- Template:32TeamBracket-Compact-Tennis3 is missing both spacer rows and padding from round headers — Preceding unsigned comment added by 2A01:E0A:26F:30A0:74C5:DCE2:77CD:36A8 (talk) 17:55, 8 June 2020 (UTC)
- Please link to pages in article space where these problems are visible. Did you try raising these issues at the talk pages for the templates in question? – Jonesey95 (talk) 18:22, 8 June 2020 (UTC)
- The problem is visible on every listed template sample page. Like: Template:32TeamBracket-2legs-except_final but it's more visible on actual pages, like: 2020–21 Champions Hockey League — Preceding unsigned comment added by 2A01:E0A:26F:30A0:74C5:DCE2:77CD:36A8 (talk) 22:54, 8 June 2020 (UTC)
- It's a design choice whether to have vertical space between round 1 matches or show them more compactly without space. {{32TeamBracket}} has space as you say. Tennis articles generally don't use spaces. See e.g. 2019 Wimbledon Championships – Men's Singles#Section 1 which uses {{16TeamBracket-Compact-Tennis5-Byes}}. {{32TeamBracket-Compact-Tennis5}} omits round 1 boxes by default because they are only displayed when a tournament actually has parameters for a match there. See e.g. 2019 Men's China Squash Open#Draw and results where the 8 seeds enter the tournament in round 2. PrimeHunter (talk) 00:17, 9 June 2020 (UTC)
- I didn't understand the reason why both Template:16TeamBracket-2Leg and Template:64TeamBracket-2legs have spacing, but Template:32TeamBracket-2legs doesn't. It's inconsistent and weird design choice. At least there should be a version or a parameter to make these basic 32 team brackets legible. — Preceding unsigned comment added by 2A01:E0A:26F:30A0:6441:DEEF:78B8:F839 (talk) 12:00, 9 June 2020 (UTC)
- Module:TeamBracket and Module:TeamBracket-Tennis do have a parameter to control whether there are spaces:
|compact = yes
omits spaces. The default is spaces. Some templates call the modules with the parameter, some without, some give it as an option, and some don't use the modules. {{32TeamBracket-Compact-Squash5}} reveals in the name that it's compact, but it does have an undocumented|compact = no
option. PrimeHunter (talk) 21:54, 9 June 2020 (UTC)
- Module:TeamBracket and Module:TeamBracket-Tennis do have a parameter to control whether there are spaces:
- I didn't understand the reason why both Template:16TeamBracket-2Leg and Template:64TeamBracket-2legs have spacing, but Template:32TeamBracket-2legs doesn't. It's inconsistent and weird design choice. At least there should be a version or a parameter to make these basic 32 team brackets legible. — Preceding unsigned comment added by 2A01:E0A:26F:30A0:6441:DEEF:78B8:F839 (talk) 12:00, 9 June 2020 (UTC)
- It's a design choice whether to have vertical space between round 1 matches or show them more compactly without space. {{32TeamBracket}} has space as you say. Tennis articles generally don't use spaces. See e.g. 2019 Wimbledon Championships – Men's Singles#Section 1 which uses {{16TeamBracket-Compact-Tennis5-Byes}}. {{32TeamBracket-Compact-Tennis5}} omits round 1 boxes by default because they are only displayed when a tournament actually has parameters for a match there. See e.g. 2019 Men's China Squash Open#Draw and results where the 8 seeds enter the tournament in round 2. PrimeHunter (talk) 00:17, 9 June 2020 (UTC)
Retrieving least updated templates
Similar to Pages with Fewest Revisions, is there any query or page that exists, which can show the least updated templates? Adithyak1997 (talk) 19:37, 9 June 2020 (UTC)
- Adithyak1997, there's query 45725, not sure how helpful it is though since it's would take a very long time to go through the entire enwiki revision table. – BrandonXLF (talk) 00:10, 10 June 2020 (UTC)
Ctrl-F search within article while editing
Is anyone having difficulty with the Ctrl-F search function while editing. It used to be very reliable, going to the searched term automatically. Now the screen kind of squiggles, and if I scroll down I'll find the searched term, but it doesn't go there. Anyone else? Beyond My Ken (talk) 02:54, 9 June 2020 (UTC)
- @Beyond My Ken: Works for me just tried on this page for your term "anyone else?" - worked first time on both Firefox and Chrome for me. This is a browser-side function, can you try a different browser? — xaosflux Talk 13:47, 9 June 2020 (UTC)
- I think I have had the same problem. Can't remember which browser but probably Firefox. I have had all sorts of problems with connecting to WMF recently, but many of them probably just bandwidth problems. · · · Peter Southwood (talk): 17:43, 9 June 2020 (UTC)
- Mine is Firefox as well. Perhaps a browser problem? Beyond My Ken (talk) 18:28, 9 June 2020 (UTC)
- I think I have had the same problem. Can't remember which browser but probably Firefox. I have had all sorts of problems with connecting to WMF recently, but many of them probably just bandwidth problems. · · · Peter Southwood (talk): 17:43, 9 June 2020 (UTC)
- Beyond My Ken, are you using the Visual Editor? Ctrl-F is linked to the VE's search function, and kind of interacts poorly with the browser's native search. Elizium23 (talk) 18:30, 9 June 2020 (UTC)
- No, I'm using the old editor. I just used Ctrl-F while editing and it worked fine, so I'm not sure what's up. Beyond My Ken (talk) 18:36, 9 June 2020 (UTC)
- Nah, still misbehaving. Happens under certain circumstances, it seems, but I can't pin down what. Beyond My Ken (talk) 19:36, 9 June 2020 (UTC)
- I had that once. I think the search hit was obscured by something the browser was displaying. For example, if the mouse is above a link, the browser shows the URL at the bottom. I can't remember if that was it, but the search hit was hidden. Or, maybe it's a case of the JavaScript scrolling the screen problem where the browser thinks it has stopped at the position to show the search, but then js inserts something. Johnuniq (talk) 23:59, 9 June 2020 (UTC)
- Do you recall if there was a fix for it, or a work-around? Beyond My Ken (talk) 03:01, 10 June 2020 (UTC)
- I only saw my problem a couple of times, some weeks ago. I didn't do anything other than grind my teeth but I haven't noticed the problem lately. For example, searching for "10 June 2020" on this page shows no problems for me. Johnuniq (talk) 03:40, 10 June 2020 (UTC)
- Do you recall if there was a fix for it, or a work-around? Beyond My Ken (talk) 03:01, 10 June 2020 (UTC)
- I had that once. I think the search hit was obscured by something the browser was displaying. For example, if the mouse is above a link, the browser shows the URL at the bottom. I can't remember if that was it, but the search hit was hidden. Or, maybe it's a case of the JavaScript scrolling the screen problem where the browser thinks it has stopped at the position to show the search, but then js inserts something. Johnuniq (talk) 23:59, 9 June 2020 (UTC)
Edit summary link
Is there any way to turn off the link to Help:Edit summary just above the edit summary window? It's very frustrating to accidentally click that and (depending on browser) lose your work in the edit window - Dumelow (talk) 07:29, 10 June 2020 (UTC)
- Dumelow, you could use the Visual Editor, that would put a whole new spin on where the controls are located.
- Or, you could use keyboard shortcuts: TAB will skip from the edit window to the edit summary line, and while your cursor is there, pressing ENTER will publish the page.
- There is a browser add-on which saves your form data for later recall. It doesn't work in IE. Maybe it doesn't work at all.
- Which browsers lose your form data when you click a link? The "back" button doesn't help here? Elizium23 (talk) 07:47, 10 June 2020 (UTC)
- Place the below in your CSS. PrimeHunter (talk) 07:53, 10 June 2020 (UTC)
.editOptions #wpSummaryLabel .oo-ui-labelElement-label {display: none;}
- Thanks guys, PrimeHunter's fix worked for me. It's not a problem when I edit from home with Firefox which retains the form information but sometimes I have to use Edge elsewhere which doesn't - Dumelow (talk) 09:34, 10 June 2020 (UTC)
Related Article changes
Please change the related articles that appear below the mobile version of the Amit Bhadana article, there should be only articles related to Indian YouTubers only. Like Bhuvan Bam, Ashish Chanchlani and Ajey Nagar,
Hindu Viki (talk) 08:32, 10 June 2020 (UTC)
- @Hindu Viki:, the related articles are generated from his categories, I believe. Amit is not just an Indian youtuber - he's also an Indian male comedian, but also a youtube comedian - so I'd expect to see articles from both of those categories as well. Nosebagbear (talk) 09:47, 10 June 2020 (UTC)
@Nosebagbear: So I have recommended Bhuvan Bam, Ashish Chanchalani, and Ajay Nagar. He is also a YouTuber and a male comedian. I hope you will change it.
Hindu Viki (talk) 10:17, 10 June 2020 (UTC)
- @Hindu Viki: Related articles are selected automatically but there is a rarely used override feature at mw:Extension:RelatedArticles#Usage:
{{#related:Chosen article}}
. For example, Princes in the Tower#References says:
{{#related:Edward V of England}} {{#related:Richard of Shrewsbury, Duke of York}} {{#related:Tower of London}}
- PrimeHunter (talk) 12:50, 10 June 2020 (UTC)
- It is a feature that should be rarely used, I'd say – Princes in the Tower has an obvious and unchanging set of most closely related articles, but for many articles with a large potential number of related articles this is a great way for marketing people to steer mobile users to a particular target. Such as in the case of an article about a contemporary performer with an active cadre of marketing staff. --bonadea contributions talk 13:45, 10 June 2020 (UTC)
PrimeHunter: thank for your help. Hindu Viki (talk) 13:02, 10 June 2020 (UTC)
Thumbnails
This may or may not be the same problem as #Problem with thumbnails images of subsection. The Main Page is missing the Pierre Nkurunziza picture. Instead, it has only the words "Pierre Nkurunziza in 2014". Similarly for Drużbart card, but the other pictures are working. Firefox 77.0.1 (64-bit), Windows 10. The problem doesn't occur on Chrome or Edge, and it doesn't occur when I use the right arrow at the top left corner of the browser to re-access a page I just visited, but this morning it happens every time I click the Main Page link below the "Wikipedia The Free Encyclopedia" ball, or the Main Page link I just made in this section. Although when I first logged on (after a Windows update) it was the Samuel J. Randall picture (but not Pierre Nkurunziza) that was missing. The Food desert article had, and still has the problem. I had a similar problem a couple days ago, but it disappeared while I was researching it so I could describe it. And before you say it's completely random, I have reproduced the problem consistently about 10 times this morning by clicking "Main page". Art LaPella (talk) 14:35, 10 June 2020 (UTC)
Why are signatures not added automatically in talk pages.
One of my first memories from using wikipedia is somebody adding my signature through some kind of {{unsigned}} template and asking me to add it in the future. So I ask the question, why are comments in a talk page not automatically signed? I think it's a good case study for wikipedia's lack of rules set in stone. My explanation is that most software contains rules that are imposed by the developers, the company, the code. On wikipedia communities implement rules either by social means or by third party automation that have the same interface and privileges as regular users (bots). This would serve to avoid biasing wikipedia in favour of those with technical acumen.
Thanks for your attention, Tomás — Preceding unsigned comment added by TZubiri (talk • contribs) 06:17, 24 May 2020 (UTC)
- Well that was ironic. Elizium23 (talk) 07:31, 24 May 2020 (UTC)
- Yes. It's an unnecessary little complication in a system that has complications galore. And yes, I am omitting rather than forgetting the four tildes for this reply. — Preceding unsigned comment added by Jim.henderson (talk • contribs) 07:34, 24 May 2020 (UTC)
- Users can edit the whole page, some parts are not "comments" on many pages, and some edits should not be signed. Wikipedia:Flow is an alternative discussion software with clearly defined posts and no manual signing but it's unpopular and not enabled at the English Wikipedia. PrimeHunter (talk) 08:48, 24 May 2020 (UTC)
- Thankfully. —[AlanM1 (talk)]— 09:00, 24 May 2020 (UTC)
- Off topic: I for one like Flow (random example), but only dislike how it takes up so much space. Would be great if it could use up less [vertical] space, probably by reducing the header size, and maybe move the username to the beginning of the posts... Hopefully someone would start an RFC on why they don't like Flow, and perhaps it would be first steps of enabling it here. Rehman 12:16, 25 May 2020 (UTC)
- Thankfully. —[AlanM1 (talk)]— 09:00, 24 May 2020 (UTC)
- Users can edit the whole page, some parts are not "comments" on many pages, and some edits should not be signed. Wikipedia:Flow is an alternative discussion software with clearly defined posts and no manual signing but it's unpopular and not enabled at the English Wikipedia. PrimeHunter (talk) 08:48, 24 May 2020 (UTC)
- Yes. It's an unnecessary little complication in a system that has complications galore. And yes, I am omitting rather than forgetting the four tildes for this reply. — Preceding unsigned comment added by Jim.henderson (talk • contribs) 07:34, 24 May 2020 (UTC)
- Maybe having a notice when saving the page, that could be disabled using preferences, like the one that comes up when you don't enter an edit summary (if it's enabled), could be useful for new users. – BrandonXLF (talk) 04:12, 25 May 2020 (UTC)
- Hi, Tomás, the Talk Pages Project is developing a reply system that automatically signs and indents, and is designed to fit with existing wikitext structure and prevailing social conventions. It's available as a beta feature in French, Arabic, Dutch and Hungarian wikipedias. (Checking that link, I see they’ve just released version 2.0!) You can still do section edits so it’s not an on/off choice like Structured Discussions (Flow).
- [Shh, don’t tell anyone, but it seems you can use v1.0 on en-wp by appending
?dtenable=1
to the URL. The "dt" stands for Discussion Tools which is the MediaWiki extension that implements this. It should create a "Reply" link after each post, similar to the ReplyLinks script. I’m doing it right now.;)
] - — Pelagic ( messages ) Z – (21:03 Thu 28, AEST) 11:03, 28 May 2020 (UTC)
- I'm really loving the Reply tool.
- Anyone who's interested should please put WP:Talk pages project on your watchlist (and maybe even occasionally nudge me to update it – let's see, it basically works, version 2 is on the Beta Cluster if you know the secret
?dtvisual=1
URL code, and we still don't have a date for when it might be available as a regular Beta Feature here). Whatamidoing (WMF) (talk) 03:35, 1 June 2020 (UTC)- Why does it put an EL (Reply) into the tag? Can't it use the normal Wikilink syntax (Reply)? --Redrose64 🌹 (talk) 12:33, 1 June 2020 (UTC)
- It looks like a normal link on my screen? Whatamidoing (WMF) (talk) 18:24, 1 June 2020 (UTC)
- It's got the arrow-out-of-box EL icon, due to this (partial) rule: so the icon is https://en.wikipedia.org/w/skins/Vector/resources/skins.vector.styles/images/external-link-ltr-icon.png?325de
.mw-parser-output .external { background-image: url(/w/skins/Vector/resources/skins.vector.styles/images/external-link-ltr-icon.png?325de); }
- I find that MediaWiki:Tag-discussiontools-reply uses external link syntax, the destination is set by MediaWiki:Discussiontools-replywidget-reply-link which definitely contains an EL. --Redrose64 🌹 (talk) 13:08, 2 June 2020 (UTC)
- Why does it display the arrow in your account but not in mine? Whatamidoing (WMF) (talk) 14:59, 2 June 2020 (UTC)
- @Redrose64 and Whatamidoing (WMF): Even though it uses external link syntax, it should not appear with the external link icon, as that icon is only applied to links in page text and not in interface elements. I assume you fixed the problem with this edit: [45] (but if you still see the icon there, I'd be curious to investigate why). It used external link syntax because we wanted to link to mediawiki.org by default, and I vaguely remembered that the mw: interwiki prefix used to not be available on third-party wikis – but apparently it works now, that might have been fixed some years ago in fact, so maybe we could have used an internal interwiki link instead. I don't think it really matters though. Matma Rex talk 22:23, 8 June 2020 (UTC)
- It's got the arrow-out-of-box EL icon, due to this (partial) rule:
- It looks like a normal link on my screen? Whatamidoing (WMF) (talk) 18:24, 1 June 2020 (UTC)
- I wrote up a quick userscript at User:Ahecht/Scripts/dtenable.js that should automatically enable it on all talk and project pages. Ahecht (TALK
PAGE) 17:11, 7 June 2020 (UTC)- @Ahecht: You might be able to replace the redirect in your script with a call to
mw.loader.load( 'ext.discussionTools.init' );
(that is basically what the parameter does), so that the page doesn't have to reload entirely. Matma Rex talk 22:26, 8 June 2020 (UTC)- @Matma Rex: Thanks. That drastically simplifies things. --Ahecht (TALK
PAGE) 03:34, 9 June 2020 (UTC)- If your script turns out to be moderately popular, then I can ask the Editing team to hurry up on the Beta Feature. (Personally, I'm loving having easy access to the Reply tool on pages like this one.) Whatamidoing (WMF) (talk) 21:36, 10 June 2020 (UTC)
- @Matma Rex: Thanks. That drastically simplifies things. --Ahecht (TALK
- @Ahecht: You might be able to replace the redirect in your script with a call to
- Why does it put an EL (Reply) into the tag? Can't it use the normal Wikilink syntax (Reply)? --Redrose64 🌹 (talk) 12:33, 1 June 2020 (UTC)
Bogus edit conflicts from Chromium
Hi folks,
This has been driving me crazy for a while now. I'm using Chromium (currently version 81.0.4044.129, but it was happening long before I went to this version) on Linux. Usually (but not always) when I submit an edit, it gives me the "edit conflict" page. My changes actually were saved. I've tried running Chromium with no extensions and even with a new user profile, but the problem persists. It doesn't happen with other browsers, just Chromium. Anybody seen this behavior before?—Chowbok ☠ 07:57, 11 June 2020 (UTC)