Jump to content

Wikipedia:Village pump (technical): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Tags: Mobile edit Mobile web edit
Line 244: Line 244:
:::::::It was a /64 range and it was blocked by the STR47 Proxy Bot and not a steward. ― [[User:Blaze Wolf|<b style="background:#0d1125;color:#51aeff;padding:1q;border-radius:5q;">Blaze&nbsp;Wolf</b>]][[User talk:Blaze Wolf|<sup>Talk</sup>]]<sub title="Discord Username" style="margin-left:-22q;">Blaze&nbsp;Wolf#6545</sub> 16:00, 29 November 2022 (UTC)
:::::::It was a /64 range and it was blocked by the STR47 Proxy Bot and not a steward. ― [[User:Blaze Wolf|<b style="background:#0d1125;color:#51aeff;padding:1q;border-radius:5q;">Blaze&nbsp;Wolf</b>]][[User talk:Blaze Wolf|<sup>Talk</sup>]]<sub title="Discord Username" style="margin-left:-22q;">Blaze&nbsp;Wolf#6545</sub> 16:00, 29 November 2022 (UTC)
::::::::@[[User:Blaze Wolf|Blaze Wolf]], does [https://en.wikipedia.org/w/index.php?title=User_talk:65.92.246.191&diff=prev&oldid=1124654761 this] look familiar? Possibly the same problem. [[Special:Contributions/199.208.172.35|199.208.172.35]] ([[User talk:199.208.172.35|talk]]) 21:29, 29 November 2022 (UTC)
::::::::@[[User:Blaze Wolf|Blaze Wolf]], does [https://en.wikipedia.org/w/index.php?title=User_talk:65.92.246.191&diff=prev&oldid=1124654761 this] look familiar? Possibly the same problem. [[Special:Contributions/199.208.172.35|199.208.172.35]] ([[User talk:199.208.172.35|talk]]) 21:29, 29 November 2022 (UTC)
:::::::::ST47ProxyBot has problems. Please see [https://en.m.wikipedia.org/w/index.php?title=Special:Log/block&page=User%3A65.88.88.201]. Apart from the serial blocking, this is not a P2P proxy, the IP belongs to the New York Public Library, which is actually an AS (ASN AS35999). Other IPs from the same AS were also subjected previously to inexplicable blocks. I believe I had left a note to the bot operator a year or 2 ago. Apparently, the AS was misreported as a proxy by some mysterious API. The particular interface is still misbehaving. [[Special:Contributions/65.254.10.26|65.254.10.26]] ([[User talk:65.254.10.26|talk]]) 02:04, 30 November 2022 (UTC)


== Rater ==
== Rater ==

Revision as of 02:04, 30 November 2022

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

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

I have done mistakes in this page by adding citations before the punctuations so can anyone fix it by using this bot User:Erutuon/scripts/footnoteCleanup.js. ​​​​​​​𝐋𝐨𝐫𝐝𝐕𝐨𝐥𝐝𝐞𝐦𝐨𝐫𝐭𝟕𝟐𝟖🧙‍♂️ 10:22, 21 November 2022 (UTC)[reply]

@LordVoldemort728, you can fix it (manually or with the script). It will be fixed by User:WikiCleanerBot eventually anyway. — Qwerfjkltalk 23:17, 25 November 2022 (UTC)[reply]

Downloads for Wikipedia:Wikipedia Signpost very broken

On the Wikipedia:Wikipedia Signpost page, there are download links for each item. However, the downloads are very broken, since I am getting 10 MB PDFs with 20-30k blank pages inside of them. I don't think that should happen. RPI2026F1 (talk) 22:35, 21 November 2022 (UTC)[reply]

Why promise 100, 250, 500 when there may not be that many?

When someone clicks on the View history tab to see Revision history there are clickable numbers that are presented as (newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500) even when there are fewer than 500, or 250 or perhaps even 100. Is this false advertising? Isn't such a presentation, suggesting that an article that now has say 67 edits, including the initial article, has more edits than advertised? Is this a bug or a misfeature? Nuts240 (talk) 02:40, 24 November 2022‎ (UTC)[reply]

This is a fairly cheap optimization that doesn't pose much of a user mismatch: A static number is cheap on the database and a non-static number is not. Izno (talk) 03:23, 24 November 2022 (UTC)[reply]
Also, false advertising would require us to actually be advertising something.
(Buy edits today, for the low price of $0 per 100 edits!) mi1yT·C 07:21, 24 November 2022 (UTC)[reply]
OK, not false advertising, and not even too misleading, but . . . can an hourly running bot store a count range, so that for "say 67 edits" the '250' and '500' numbers aren't displayed? Can this be put in a "suggested improvement" list? Nuts240 (talk) 19:53, 24 November 2022 (UTC)[reply]
That would require the same changes as your suggestion, and to boot would be less efficient. This is not likely to be a task that will be worked on. Izno (talk) 20:01, 24 November 2022 (UTC)[reply]
No. Read "500" as "up to 500". It's a constantly changing database so any promise, such as next 67 edits, cannot be accurate because pages might be added or deleted at the time you push the button. Johnuniq (talk) 23:33, 24 November 2022 (UTC)[reply]
I don't think "promise" is the right word. What you're describing should really be interpreted as, "show that many revisions if they exist". Partofthemachine (talk) 23:52, 24 November 2022 (UTC)[reply]

Incorrect article count on the Wikipedia landing page

Something seems to have broken on https://www.wikipedia.org/. For some reason the article count for the English Wikipedia is displayed as 657,000+, it should be 6,579,000+. Does anyone know who is responsible for maintaining this page? 163.1.15.238 (talk) 15:54, 25 November 2022 (UTC)[reply]

T323731 * Pppery * it has begun... 16:35, 25 November 2022 (UTC)[reply]
Thanks 163.1.15.238 (talk) 17:25, 25 November 2022 (UTC)[reply]

Mobile Wikipedia front page has wrong article count

The mobile view home page of Wikipedia (Wikipedia.org) seems to be giving the wrong article count for the English version - 657k articles instead of 6.57 million. Not sure whether this is the right place to report it but it's been like it for at least a few days. YFB ¿ 00:22, 28 November 2022 (UTC)[reply]

Already discussed at WP:HD#Error on the "wikipedia.org" landing page - how to report?. tl;dr: It's not a bug that can be addressed on our (read:en.wp's) end. —Jéské Couriano v^_^v a little blue Bori 00:28, 28 November 2022 (UTC)[reply]

Where did that come from

I used reftoolbar to cite this web[1] and it autofilled "Malak, Tony" which I can't find anywhere on the source page. Where did it come from and is it right? Gråbergs Gråa Sång (talk) 10:29, 26 November 2022 (UTC)[reply]

It's listed multiple times in the hidden metadata of the page. It seems correct. —TheDJ (talkcontribs) 11:24, 26 November 2022 (UTC)[reply]
Thanks! Gråbergs Gråa Sång (talk) 13:09, 26 November 2022 (UTC)[reply]

References

  1. ^ Malak, Tony (23 June 2022). "Art in Protest at the 2022 Oslo Freedom Forum". Human Rights Foundation. Retrieved 26 November 2022.

The annotated link template for Caricatures of Charles Darwin and his evolutionary theory in 19th-century England on Outline of evolution produces the confusing addition "– {{original research". Espoo (talk) 15:00, 26 November 2022 (UTC)[reply]

@Espoo I fixed this. Terasail[✉️] 15:09, 26 November 2022 (UTC)[reply]
Context of the error: The page that was linked (Caricatures of Charles Darwin and his evolutionary theory in 19th-century England) had an empty {{Short desc}} template which meant that {{Annotated link}} just got the first part of the article which was the original research notice. Terasail[✉️] 15:11, 26 November 2022 (UTC)[reply]
Thanks, but deleting the empty short description is only a workaround. Could someone edit the annotated link template so that it adds nothing from an article if its {{Short desc}} template is empty? --Espoo (talk) 15:22, 26 November 2022 (UTC)[reply]
@Espoo The whole point of the template is to add a short description, I added one to the article but if it isn't a good description then the best way to deal with this is to just wikilink it ([[Caricatures of Charles Darwin and his evolutionary theory in 19th-century England]]) Since there is no real point bypassing the core functionality of a template in order to just use the template. Terasail[✉️] 15:26, 26 November 2022 (UTC)[reply]
OK, thanks. I guess we'll just have to live with this kind of confusing description sometimes existing for many months or years (like here since 2018) after being accidentally added when people change many wikilinks to annotated link templates without checking the results. --Espoo (talk) 15:37, 26 November 2022 (UTC)[reply]
{{Short description}} should never be empty. I have submitted a proposed change to that template to check for empty |1=. – Jonesey95 (talk) 02:14, 27 November 2022 (UTC)[reply]

Phantom image in infobox

Could anyone help me understand why the image Bgc3_logo.svg continues to appear on the page bgC3 after being removed from the code? I have purged the page cache every way I know of. (It is an outdated logo.) 67.180.143.89 (talk) 16:37, 26 November 2022 (UTC)[reply]

The infobox template pulls it automatically if in Wikidata. It needs to be updated (or deleted) there. MB 16:47, 26 November 2022 (UTC)[reply]

Wikimedia error

Hello community!

I have noticed this error.

In the page https://meta.wikimedia.org/wiki/List_of_Wikipedias/Table there is this error:

“The time allocated for running scripts has expired.”

The Wikipedia languages list is no more available.

is there someone that can kindly fix it?

Many, many, and many thanks in advantage!!! 94.247.8.9 (talk) 17:43, 27 November 2022 (UTC)[reply]

Request to make a template

{{IPAc-ca}}

Can anyone make it? Masoud.h1368 (talk) 18:39, 27 November 2022 (UTC)[reply]

Is there a problem with {{IPA-ca}}? Izno (talk) 19:44, 27 November 2022 (UTC)[reply]
@Izno No, I prefer to use {{IPAc-ca}} Masoud.h1368 (talk) 22:10, 27 November 2022 (UTC)[reply]
@Masoud.h1368 well to answer your technical question, yes anyone should be able to make it. (That doesn't mean it is a good idea). If you get an error when attempting, please let us know more details. — xaosflux Talk 22:45, 27 November 2022 (UTC)[reply]

At Wikipedia:Redirects for discussion/Log/2022 November 24 I linked to ΐ, which is a blue link to a page that doesn't exist. The character has no capital equivalent so combining characters are used, and the link has the iota followed by two combining accents (U+0399 U+0308 U+0301), which is a redirect to Greek diacritics#Diaeresis. Click on the link and it leads to a title (U+03AA U+0301) where the separate iota and diaeresis are combined as "Greek capital letter iota with dialytika". Ϊ́ (U+0399 U+0308 U+0301, which is the redirect's title but actually links to U+03AA U+0301) is a red link. The redirect existed since 2005 and was at the lowercase title until 27 October when it was moved by User:Maintenance script. Is this a known bug? Also can this redirect (and others affected by this change[1]) be moved? Peter James (talk) 20:23, 27 November 2022 (UTC)[reply]

Date calculation error in the software template

There must be an error in the calculation of days in the software infobox. Please see this article. Notepad++. As of today November 28, the stable release date is November 8, so it should be '20 days ago', but it describes it as '12 days ago.'

This bug is found in various languuage versions. It says '3 days ago' in the Korean version ko:노트패드++, and '17 days ago' in the Chinese version zh:Notepad++. Regpath (talk) 04:28, 28 November 2022 (UTC)[reply]

The problem is due to caching (see Wikipedia:Purge#Server cache) and is unavoidable. A few minutes ago, the infobox at Notepad++ said "Stable release 8.4.7[1] 8 November 2022; 12 days ago". I fixed that by editing the article and saving it without making any change and with no edit summary. It now says "20 days ago" because the wikitext was freshly interpreted to generate the HTML web page that we see. Try doing that at the Korean page and you will see the number update. Johnuniq (talk) 05:40, 28 November 2022 (UTC)[reply]
What Johnuniq describes is a WP:NULLEDIT - whilst this will certainly work, a WP:PURGE on each of the affected pages should be all that is necessary. Note that whether you nulledit or you purge, the effect is only correct until midnight (UTC), it won't keep on adjusting the "days ago" figure going forwards. --Redrose64 🌹 (talk) 10:09, 28 November 2022 (UTC)[reply]

Tech News: 2022-48

MediaWiki message delivery 20:00, 28 November 2022 (UTC)[reply]

Regex for newline

I have this wikitext:

|2019
|

I want to replace it with this wikitext:

|2019
|<ref name=":Impact factor 2019" group="Note" />


The 2017WTE's find function finds the |2019 (in its regex mode) with \|2019. What do I need to type after that to pick up the next line? WhatamIdoing (talk) 00:11, 29 November 2022 (UTC)[reply]

One way is:
find: (\| *\d{4}[\r\n]+\|)
replace: $1<ref name=":Impact factor 2019" group="Note" />
Trappist the monk (talk) 00:22, 29 November 2022 (UTC)[reply]
That 'find' string doesn't find anything in the 2017WTE. You can try it at this link. Find and replace is at the bottom of the hamburger menu near the big blue button. Click the (.*) icon (and make sure that case sensitivity/the Aa button is off) to enter regex mode. WhatamIdoing (talk) 00:31, 29 November 2022 (UTC)[reply]
That link just takes me to List of MDPI academic journals There is no hamburger; there is no big blue button; there is no (.*) icon. I gather that 2017WTE isn't the generic wikitext editor. That editor (Toolbar > Advanced menu > Quizzing glass icon, finds for me. Check the 'Treat search string as a regular expression' checkbox. If the regex doesn't work in 2017WTE, that suggests that regex in 2017WTE doesn't work as it should.
Trappist the monk (talk) 00:48, 29 November 2022 (UTC)[reply]
In the 2010 wikitext editor, the regex finds all the years. I need it to find 2019, not any string of four numbers. WhatamIdoing (talk) 00:56, 29 November 2022 (UTC)[reply]
\d{4} is short for "digit, exactly 4 of". If you want specifically 2019, replace that with 2019. Izno (talk) 01:04, 29 November 2022 (UTC)[reply]
Thanks, that works.
(Trappist, since ?veaction=editsource didn't work for you but the 2010WTE toolbar is still visible to you, I assume you have the visual editor completely disabled in your prefs.) WhatamIdoing (talk) 01:34, 29 November 2022 (UTC)[reply]
Yes, absolutely.
Trappist the monk (talk) 01:58, 29 November 2022 (UTC)[reply]
[\r\n]+ matches 1 or more occurrence of carriage return or newline. I don't know whether a saved wikitext page can actually have a carriage return instead of a newline. You can just say \n to match a single newline. See more at WP:REGEX. PrimeHunter (talk) 13:28, 29 November 2022 (UTC)[reply]
That's what I thought, but \|2019 picked up the first line, and \|2019\n didn't pick up anything. I did enough poking around to discover that there are different flavors of regex, but I don't know whether that's what's going on, or if I need to file a bug against the 2017WTE. WhatamIdoing (talk) 17:26, 29 November 2022 (UTC)[reply]
Instead of \n maybe try [\n] or \\n -- GreenC 17:34, 29 November 2022 (UTC)[reply]
This is one thing the 2010 editor can do that the 2017 editor can't. Nardog (talk) 17:56, 29 November 2022 (UTC)[reply]
Not true. The 2010WTE can insert signatures in the mainspace, which the 2017WTE won't let you do. The 2010WTE's citation-filling toolbar is IMO slightly worse overall, but it lets you add a ref name in the dialog, which the 2017WTE doesn't. The 2017WTE also doesn't allow you to set redirects or add categories (except for typing the wikitext by hand, of course). WhatamIdoing (talk) 20:01, 29 November 2022 (UTC)[reply]
I don't think Nardog meant it's the only thing. It appears from phab:T151671 that the 2017 wikitext editor can simply not do any regex on multiple lines and you have to use another method, e.g disable it or log out to get the 2010 editor. PrimeHunter (talk) 20:09, 29 November 2022 (UTC)[reply]
(edit conflict)
I'm confused. If one is to believe the indenting, Editor Nardog replied to your post wondering about a regex to find/include a newline. That reply says nothing about the 'other differences' between the 2010 and 2017 wikitext editors. But in your reply to Editor Nardog, you have enumerated a whole list of those differences – none of which, so far as I can determine, relate to regex searches. How do those differences apply to the issue of 2017wte regex searches?
If, as it appears from comments in this discussion, 2017wte can't locate newlines using regex, then 2017wte is indeed broken and should be fixed and Editor Nardog did not misspeak.
One other thing you might try is (\| *2019\s+\|) – assumes that in 2017wte regex, newlines are considered to be whitespace.
Trappist the monk (talk) 20:21, 29 November 2022 (UTC)[reply]
Nardog said "This is one thing the 2010 editor can do that the 2017 editor can't". It sounds like WhatamIdoing incorrectly interpreted it as a claim that it's the only thing, and then gave random unrelated examples of other things the 2010 editor can do that the 2017 editor can't. (\| *2019\s+\|) doesn't work either. regex in the 2017 wikitext editor is only able to work on one line at a time, apparently because it's difficult to implement otherwise with the way the editor is coded. It will not work to try to guess at a syntax. There is intentionally no solution. PrimeHunter (talk) 20:54, 29 November 2022 (UTC)[reply]

wspace added in mobile view infobox

In Shepseskaf (current WP:TFA), {{Infobox pharaoh}} uses U+2640 FEMALE SIGN and U+2642 MALE SIGN. In my mobile view, both characters have a whitespace added, appearing like "(♀ )". These edits did not resolve the issue. Bug does not reproduce when checking through desktop-pagebottom m-link [en.m.wikipedia.org/wiki/Shepseskaf]. Something to learn for me? DePiep (talk) 05:53, 29 November 2022 (UTC)[reply]

@DePiep: I don't see a problem in either revision. Perhaps it's an issue with your setup? I'm using Windows 10, Firefox 107, MonoBook - which OS, browser and skin are you using?
View Shepseskaf in the skin:
Is the problem altered in any way if you use a different skin or browser? --Redrose64 🌹 (talk) 09:07, 29 November 2022 (UTC)[reply]
To be clear: it only happens on my mobile: iOS 12.5, via safari not wiki-app; I don't know which skin (default=Vector 2010?). It does not happen on desktop, and not when looking via desktop-mobile-link (at very bottom of article page).
Having read TheDJ below: quite possible. So I propose to drop it, not worth much time.
Withdrawn as unimportant. DePiep (talk) 10:38, 29 November 2022 (UTC)[reply]
I suspect this is an issue with the font used by your device in the mobile view. Not really a way around it I think. —TheDJ (talkcontribs) 09:49, 29 November 2022 (UTC)[reply]

Table sorting doesn't work when tables float to the right

I have realized that when a table floats to the right, sorting buttons dissappear. Both the sort and float classes are in the table, but the sort buttons aren't there - see Ernest Fanelli#Works. Am I just missing someting? Wretchskull (talk) 11:28, 29 November 2022 (UTC)[reply]

@Wretchskull: It was fixed by removing the second class declaration without sortable.[8] When something is assigned twice, the first time is usually ignored. PrimeHunter (talk) 13:14, 29 November 2022 (UTC)[reply]
Thank you Cryptic! Wretchskull (talk) 17:56, 29 November 2022 (UTC)[reply]

I have been blocked from editing!

I've added two talk page discussions in the past 10 minutes and the first try to post results in a dialog box that evilly informs me I've been blocked from editing. Clearly I haven't, so what's the bug? Elizium23 (talk) 13:33, 29 November 2022 (UTC)[reply]

Chiming in to say that I too kept experiencing this issue earlier. The most perplexing part of it was when I'd use Twinkle to tag a page with a CSD tag. In doing so, Twinkle carries out 3 actions and 1 of them would sometimes fail. I'd have it where a single action of the three would fail and the next one would immediately succeed. I got the "You've been blocked from editing" message probably about 10 times within a 45 minute window (7:45am to 8:30am ET), and was able to continue editing immediately after. I got busy and stopped editing so I'm not sure if it's still an issue. Hey man im josh (talk) 14:52, 29 November 2022 (UTC)[reply]
CU goggles on: Elizium is not editing from a blocked range at all, so this shouldn't be happening to them (though I guess I'm not sure whether trying to take an action and a block preventing it would create a CU log entry). Hey man im josh is on a range subject to an anon-only block. Neither should be seeing this kind of message, far as I can tell. GeneralNotability (talk) 15:05, 29 November 2022 (UTC)[reply]
Earlier this morning I Experienced a bug where I was briefly blocked from editing because I was somehow on an IP that was a WMF owned Proxy (I looked at the Whois and it actually said it was from the WMF). I checked my IP to make sure it hadn't changed and also my VPN and "VPN" (Opera's Proxy) to make sure I hadn't had them on by accident. I tried again and it was fine. ― Blaze WolfTalkBlaze Wolf#6545 15:10, 29 November 2022 (UTC)[reply]
Wait...Blaze Wolf, do you still have that IP around? If so, please share - This would support my hypothesis that someone blocked an internal IP by accident. GeneralNotability (talk) 15:15, 29 November 2022 (UTC)[reply]
I do but not on the PC I'm currently editing on. I had the WHOIS for both the specific IP and the range (it's an IPv6) open on my PC back at my house. I've closed both of them but I can bring them back up (thanks history!) so I'll be able to give it to you in a few hours. Also you can blame the Proxy bot for blocking it. ― Blaze WolfTalkBlaze Wolf#6545 15:17, 29 November 2022 (UTC)[reply]
Maybe Special:Contributions/2620:0:861:10F:10:64:136:9/48? (credit to Firefly for spotting the block) Time lines up with the above reports, it was incorrectly hard blocked for about ten minutes. GeneralNotability (talk) 15:22, 29 November 2022 (UTC)[reply]
phab:T324018 - There was some kind of server misconfiguration which meant some edits were seen as coming from internal WMF server IP addresses instead of the editor's actual IP. A steward blocked these IPs to prevent vandalism, but initially made it a hardblock (affecting logged-in users) before correcting to anon block only. In any case the servers with the problem have been removed from use, so the problem should be fixed now. the wub "?!" 15:34, 29 November 2022 (UTC)[reply]
It was a /64 range and it was blocked by the STR47 Proxy Bot and not a steward. ― Blaze WolfTalkBlaze Wolf#6545 16:00, 29 November 2022 (UTC)[reply]
@Blaze Wolf, does this look familiar? Possibly the same problem. 199.208.172.35 (talk) 21:29, 29 November 2022 (UTC)[reply]
ST47ProxyBot has problems. Please see [9]. Apart from the serial blocking, this is not a P2P proxy, the IP belongs to the New York Public Library, which is actually an AS (ASN AS35999). Other IPs from the same AS were also subjected previously to inexplicable blocks. I believe I had left a note to the bot operator a year or 2 ago. Apparently, the AS was misreported as a proxy by some mysterious API. The particular interface is still misbehaving. 65.254.10.26 (talk) 02:04, 30 November 2022 (UTC)[reply]

Rater

Hello, Is this the right place to ask if anyone knows wether the Rater script is functioning? I can’t load the script (I did bypass the browser cache). Thanks, —  chat  O'Brien  20:13, 29 November 2022 (UTC)[reply]

You have to write {{subst:lusc|User:Evad37/rater.js}}, not {{tls|lusc|User:Evad37/rater.js}}. Nardog (talk) 20:30, 29 November 2022 (UTC)[reply]
@Chateau Brillant: In general, whenever you see displayed code in instructions, copy the code as it is displayed, don't copy the source text which displays it. PrimeHunter (talk) 20:59, 29 November 2022 (UTC)[reply]
Aaah, stupid me, yes. Thank you very much to both of you@PrimeHunter and Nardog: for your quick reply and help.-- chat  O'Brien  21:17, 29 November 2022 (UTC)[reply]