This is an old revision of this page, as edited by at ugh). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Newcomers to the technical village pump are encouraged to read these guidelines prior to posting here. 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.
No, we will not use JavaScript to set focus on the search box.
This would interfere with usability, accessibility, keyboard navigation and standard forms. See task 3864. There is an accesskey property on it (default to accesskey="f" in English). Logged-in users can enable the "Focus the cursor in the search bar on loading the Main Page" gadget in their preferences.
No, we will not add a spell-checker, or spell-checking bot.
You can use a web browser such as Firefox, which has a spell checker.
If you changed to another skin and cannot change back, use this link.
Alternatively, you can press Tab until the "Save" button is highlighted, and press Enter. Using Mozilla Firefox also seems to solve the problem.
If an image thumbnail is not showing, try purging its image description page.
If the image is from Wikimedia Commons, you might have to purge there too. If it doesn't work, try again before doing anything else. Some ad blockers, proxies, or firewalls block URLs containing /ad/ or ending in common executable suffixes. This can cause some images or articles to not appear.
Latest comment: 2 years ago6 comments3 people in discussion
I have always been too scared to ask this, but I can't stop wondering. Why do {{main}} and {{further}} use two different modules? Are they really that different in implementation that we needed two different modules for them?
Follow-up question which I suspect I have answers to but don't really, why do hatnotes even have modules? You would think a bit of text and some special formatting wouldn't require much work that couldn't be accomplished through conventional wikicode, but maybe these templates do something more that I just don't fully understand? –MJL‐Talk‐☖ 03:31, 30 September 2021 (UTC)
There does need to be a module somewhere along the track, to support the fact that templates can take an arbitrary number of parameters. As for why each hatnote template uses its own module, there's no good reason for it, and I tried to TfD the specific-template ones in 2018 and 2019 as part of a broader crusade against overuse of Lua, but ran in to a lack of consensus. * Pppery *it has begun... 03:35, 30 September 2021 (UTC)
@MJL: Hi, I'm a major author of a lot of hatnote module code. {{Main}} needs a bit of special code to handle the case where it's used on category pages, where it has different output. If we could establish consensus to force category pages to use {{cat main}} or similar, and thereby removed the special case, then I'd happily transition {{main}} to use Module:Labelled list hatnote, which I wrote to standardize the behaviour of many simple hatnote templates. {{Nihiltres |talk |edits}} 21:46, 1 October 2021 (UTC)
@Nihiltres: If I understand it right, currently {{Main}} needs to act like {{cat main}} in category-space (which makes me wonder why we even have {{cat main}}..). If we switch {{main}} to Module:Labelled list hatnote, that needs to get changed. That seems reasonable, so I guess the question is where should we do that RFC? This is assuming that Module:Labelled list hatnote can't be changed to efficiently make {{main}} output something different in category-space without effecting {{further}}. –MJL‐Talk‐☖ 22:25, 1 October 2021 (UTC)
It was previously attempted by TfD, which … wasn't quite the right venue, but appears to be Pppery's favourite. I would start with a discussion on the talk pages of both (probably primarily on Template talk:Main with a message pointing people there from Template talk:Cat main) and solicit primarily objections. My expectation is that we'll get some grumbling about the status quo or leaving functionality in place, but that most people would agree that they should be separate templates and the current overlap removed by simplifying {{main}}. From there, getting rid of the "main" module in favour of the generic "labelled list hatnote" one becomes practically a G6 speedy, because a result for narrowing the template scope is nearly as good as a TfD for the module in practice. {{Nihiltres |talk |edits}} 06:39, 2 October 2021 (UTC)
Latest comment: 2 years ago5 comments3 people in discussion
I'm trying to use {{Mapframe}}here. However, when I click on the map, the text along the bottom turns into Map of Pomona College's campus[130][131] .mw-parser-output .div-col{margin-top:0.3em;column-width:30em}.mw-parser-output...
Additionally, when I try to add a reference to the |description= field for any of the markers, it spits out things like '"`UNIQ--ref-000000C1-QINU`"' (click on one of the teal icons in the northwest corner to see the issue).
Is whatever is causing these bugs a known issue? Is there any way around it? I was able to find a workaround for {{abbr}} by using <abbr title="Information Technology">IT</abbr> instead of {{abbr|IT|Information Technology}}, but I'm not sure if anything like that can be done for references, especially when they're SFNs. Help?
(I also have an additional mapframe question here if anyone here knows it well.) {{u|Sdkb}}talk 04:33, 30 September 2021 (UTC)
I recall there being a bug for the first one but I can't find it. I would recommend filing a new one under the Maps and TemplateStyles projects on Phab. It's not TemplateStyles fault, it's whatever lightbox implementation Maps are using not dealing gracefully with <style> elements and their contents, but tagging it for other just makes it obvious.
I'm not really surprised the second exists. In general, when you see a UNIQQINU pattern, it's a strip marker. Sometimes there's a limitation in the MW software can handle some input and sometimes we didn't code things properly on our side. That should start with a talk page message for the template/module to see if local template editors can see why that would be.
I don't really understand what issue you thought you had with the third that you "worked around". Izno (talk) 22:43, 1 October 2021 (UTC)
(Now that I look, I see one directly pertinent to the strip marker issue and <ref> specifically.) Izno (talk) 22:44, 1 October 2021 (UTC)
Okay, I created phab:T292598 for the first one. For the second, ɱ appears to be active at the module talk; would you perhaps be able to help? {{u|Sdkb}}talk 00:31, 6 October 2021 (UTC)
@Sdkb: - it seems that mapframe doesn't support inline references (except in captions, but you have the minor display issue at the bottom, like you mentioned). If I were you, I would move the map to its own page, like {{Ohio Statehouse map}} or {{George Floyd protests map}}, and there you can list out what is sourced for what, without dealing with display issues. Like how an image's file description page has attribution, same deal. ɱ(talk) 16:05, 6 October 2021 (UTC)
Reference desk introduction on mobile devices
Latest comment: 2 years ago8 comments3 people in discussion
When viewing a section of the Wikipedia Reference desk using a mobile device with a narrow screen, such as the page https://www.search.com.vn/wiki/en/Wikipedia:Reference_desk/Language, the introductory parts (How can I get my question answered? / Select a section:) do not fit and can only be viewed and accessed by awkward horizontal scrolling. Is there a way to make this less awkward? (I suppose there is a way to make the page display adapt to the viewing device, but this is not my cup of tea.) --Lambiam 08:21, 30 September 2021 (UTC)
How about this version ? Its not too pretty, but it's a start. —TheDJ (talk • contribs) 14:38, 30 September 2021 (UTC)
I'm not getting any horizontal scrolling on my phone with that version, but there is a bit of horizontal overflow when using Firefox's responsive design mode with the iPad preset, which isn't present in the live version. I don't have a real iPad or anything with a similar screen size to test this, though. – Rummskartoffel 21:15, 30 September 2021 (UTC)
found it, was the input fields trying to be wider than possible. Thx for the report. —TheDJ (talk • contribs) 09:06, 1 October 2021 (UTC)
@TheDJ: Thanks. I can't test it on an iPad but it is fine on my phone. Can you install it? I could try but fear I'll muck up things in the process. --Lambiam 22:37, 3 October 2021 (UTC)
Latest comment: 2 years ago3 comments3 people in discussion
Does anyone know why authority control isn't showing up at the bottom of Godric of Finchale's article? Best – Aza24 (talk) 21:55, 30 September 2021 (UTC)
I just added the VIAF and GND to the associated Wikidata item, so the template appears now. Vahurzpu (talk) 20:24, 2 October 2021 (UTC)
Can't fully see UTCLiveClock gadget
Latest comment: 2 years ago6 comments3 people in discussion
I'm using a 13-inch macBook with latest version of macOS Big Sur. While using the newer look of the site, I see the live clock gadget pushed out by a tiny margin in the upper-right collapsible menu. To put this another way, I can see the hour hand and barely the minute hand but not the seconds hand. I'll provide an image if necessary. --George Ho (talk) 02:56, 1 October 2021 (UTC)
I'll await Mr. S's response. Meanwhile, I found out that the same issue occurs on an iPad mini while using Desktop view. George Ho (talk) 05:29, 1 October 2021 (UTC)
The problem is not so much the CSS that I wrote, but rather that the UTC clock gadget never supported the newer Vector skin in the first place. It needs to be updated to support the new Vector (and also Minerva and Timeless, for that matter). There are some suggestions for how this might be done on the talk page. Also, it might be worth looking into the CSS solution that they are using on the Russian Wikipedia, which looks like it will alleviate some of the problems with calculating widths. — Mr. Stradivarius♪ talk ♪ 03:32, 2 October 2021 (UTC)
Draft notice for redirects and other existing pages
Latest comment: 2 years ago3 comments2 people in discussion
I am concerned that an editor who has the idea to write an article at a title currently serving as a redirect or holding a disambiguation page or the like may miss the existence of a working draft for this purpose. Can notices be added to the edit windows for existing pages where a draft exists? BD2412T 03:27, 1 October 2021 (UTC)
in Special:MyPage/common.css. You can still activate the buttons by using Alt+⇧ Shift+S, Alt+⇧ Shift+P or Alt+⇧ Shift+V respectively. --Redrose64 🌹 (talk) 09:23, 1 October 2021 (UTC)
Nice, thanks. Hộp cát (talk) 10:37, 1 October 2021 (UTC)
@Hộp cát, why do you want to do that? Whatamidoing (WMF) (talk) 20:57, 5 October 2021 (UTC)
Template:skip to top and bottom
Latest comment: 2 years ago3 comments3 people in discussion
When I noticed a bug elsewhere, Xaosflux suggested I take notice if I see others and approach the developer directly; I can't see any such (one) developer for this Template. The problem is it doesn't go all the way to the top. As someone mentioned recently, it's used on The Teahouse and the Template wiki-page itself. It misses the top two lines of visible text (on 16:9 display at 100%). Thanks.--Rocknrollmancer (talk) 00:34, 2 October 2021 (UTC)
That seems impossible without making it skin/interface-dependent. I just compared all elements that are at the top and have IDs in Legacy Vector and mobile view, and there was no overlap. Nardog (talk) 02:07, 2 October 2021 (UTC)
I guess I gotta wonder why anyone would use that template. Each time I click to go to the other end of a page that uses that template it adds an entry into the browser's history so if I click the up or down several times and then use the browser's back button to get back to where I started, I get the entire sequence played in reverse. Doesn't seem like the best or most friendly user interface to me...
—Trappist the monk (talk) 14:32, 2 October 2021 (UTC)
Hiding the "Languages" sidebar section
Latest comment: 2 years ago6 comments4 people in discussion
I have this set on my common.css page. What I would like to do is add the sidebar section "Languages" also. Thanx in advance :) - FlightTime Phone (open channel) 03:51, 2 October 2021 (UTC)
@Whatamidoing (WMF): There are a number of userscripts posted below that sidebar section, I would have to scroll past the "Language" section to get to the links of the scripts, I would collapse it (cause I'm using Vector), but the section would not stay collapsed, so I thought if I could hide it using .css, I wouldn't have to keep re-setting it. - FlightTime (open channel) 21:07, 5 October 2021 (UTC)
It sounds like you want the sidebar to contain links to some scripts, and for those to be convenient to reach. I believe there is a way to insert your links into a specific section. Then your links would be higher up, with no scrolling required. Gadgets such as Wikipedia:Prosesize do this. Whatamidoing (WMF) (talk) 15:24, 6 October 2021 (UTC)
Maintenance template mobile view
Latest comment: 2 years ago2 comments2 people in discussion
Maintenace templates are shown below infobox and they shouldn't why shouldn't user know more citation are needed bi (talk) 05:49, 2 October 2021 (UTC)
@Baratiiman: is this a technical issue? What makes you think the display order is technically incorrect? If this feedback on layout style you could follow up Wikipedia talk:Manual of Style/Layout. — xaosfluxTalk 09:34, 3 October 2021 (UTC)
List of external URLs on a page
Latest comment: 2 years ago3 comments2 people in discussion
Does there exist a relatively easy way, such as a tool, to list all the external URLs on a page? ie. outbound http(s) links that are not Wikipedia. -- GreenC 06:38, 2 October 2021 (UTC)
You could use the API. A list of urls is obtained with this code which gets the eternal links on the lion page. It includes all the links in citations, so I'm not sure if this gets what you wanted. — Jts1882 | talk 07:11, 2 October 2021 (UTC)
@Jts1882: thank you very much. -- GreenC 16:40, 2 October 2021 (UTC)
doi citation tool down
Latest comment: 2 years ago12 comments7 people in discussion
I've being using http://reftag.appspot.com/doiweb.py to generate {{cite journal}} citations from a doi for several years. The tool is down for the last couple of weeks and giving the following error message: "Error: Server Error. The server encountered an error and could not complete your request. Please try again in 30 seconds." Does anyone know if this tool has been replaced, moved or what to do to get it working again? — Jts1882 | talk 06:54, 2 October 2021 (UTC)
I have both Reftools and citation expander activated, but haven't used them much. Now I see how the two together do what I want, reftools to create a minimal citation with just the doi and citation expander to complete the job. — Jts1882 | talk 14:41, 2 October 2021 (UTC)
DOI is also accepted as an input in citer.toolforge.org. Links to this tool should be changed to something else, this issue has been reported several times allready.--Snævar (talk) 09:22, 4 October 2021 (UTC)
You will need to contact the creator, who I believe is Apoc2400. Izno (talk) 14:18, 2 October 2021 (UTC)
Apoc2400 has only one edit in the last year so seems to be inactive now. It was a very useful tool that I've used a lot. — Jts1882 | talk 14:41, 2 October 2021 (UTC)
As you can see from the talk page, this was reported some time ago. I do not think further discussion here will be useful. Izno (talk) 16:02, 2 October 2021 (UTC)
That's a big help; can someone with javascript skills please create a bit of code that will add a link to citation-maker to the left sidebar, under section 'Tools', the way User:PrimeHunter/Source links.js does? Second choice, add a link just above the Edit summary field in Preview mode, the way User:Anomie/unsignedhelper.js does. If you can do this, I love you. Or, you get a barnstar; your choice . (please mention me on reply; thanks!) Mathglot (talk) 17:04, 4 October 2021 (UTC)
Latest comment: 2 years ago3 comments2 people in discussion
I have a new laptop running Windows 10. My issue, is the spellcheck doesn't recognize a pipe ( | ) or a colon ( : ) in Wikilinks, as seen in this screenshot. I have no idea why it's like that, I don't think I changed any of those settings and hope there's a way to fix it. - FlightTime (open channel) 23:37, 2 October 2021 (UTC)
Wikipedia has no spell checker. It's done by your browser. Do you use Microsoft Edge? I see it there and haven't found a way to tell it that pipe and colon should be treated as word separators. PrimeHunter (talk) 02:49, 3 October 2021 (UTC)
Watching if a bot is live with in-wp notifications?
Latest comment: 2 years ago3 comments2 people in discussion
TL;DR: I want to get a notification (ideally, a ping or talk page notice, but an email would be ok) whenever Special:Contributions/Muninnbot has no recent edits in the last day (or maybe the last 30h). Is there an easy way to make this happen?
I am the maintainer of Muninnbot. That bot is set up to check some unit tests before firing notifications, so that (hopefully) changes in the MediaWiki API or PyWikiBot stop the bot from sending any notifications rather than sending malformed notifications.
The bot broke back in March (due to a breaking change in PyWikiBot, but the stability of PyWikiBot is a topic for another place). I did not notice it until GoingBatty found out about it last week, so the bot has been broken for about half a year (hopefully it's back up now, I will check after the next cron run). This has been the second breakage in (slightly more) than three years of operation of the bot, so while it is not exactly frequent, I still would like a better mechanism to detect this than having a human check Special:Contributions/Muninnbot or the talk pages of newbies.
I can imagine two ways of doing this, but either of them requires some work:
make Muninnbot send me a notification (how?) when the tests fail (right now, when tests fail, a message goes into the logs, but I am not reading the logs on Toolforge unless I already know something is wrong)
have a second bot read the page Special:Contributions/Muninnbot and post me a talk page message whenever there has not been any new contributions in a while (I could code this, but it is a bit of work)
Has something similar already been done? I can easily imagine similar requests, for instance anti-vandal fighters could want to watchlist a user's contributions, so that an account that vandalizes, gets a level-4 warning, then sleeps for two months is detected as soon as it wakes up. TigraanClick here for my talk page ("private" contact) 14:54, 3 October 2021 (UTC)
I must say, of all the questions I have asked during my time on Wikipedia, none has been asked with as little hope, answered with as much haste, or resolved so fully. TigraanClick here for my talk page ("private" contact) 15:06, 3 October 2021 (UTC)
Failure of section collapse mechanism in mobile view provoked by excessive templates/images
Latest comment: 2 years ago13 comments4 people in discussion
On mobile view (using en.m.wikipedia.org) long pages typically have section collapse arrows (^ pointing up for an expanded section, v pointing down for collapsed). This appears to be broken on some pages, such as List of professional sports families. Narrowing down the issue, this version is broken while the next edit, just removing a {{JAP}} template, fixes it. The difference is in 1009 vs 1008 total templates. For a more artificial test case, 1001 copies of {{BEL}}causes the issue, while 1000 (next revision) is fine. It looks like a template issue, though something must account for the difference of 8 templates between the page when it was full of things (1008 templates ok), vs my artificial test case (1000 templates ok).
Another, even simpler test case: 1001x{{aye}} is broken, while the next revision (1000x) is ok.
I think it's really just an images issue. 1001 of the green ticks (directly substituted from {{aye}}) is broken, while again, the next version, with 1000 of them, works. – Anon423 (talk) 15:44, 3 October 2021 (UTC)
Could then the page be fixed by altering/replacing the flag templates to use unicode emoji flags instead? Your mediawikiwiki link suggests so, and MOS:FLAGS does not explicitly proscribe unicode flag emoji as an alternative. – Anon423 (talk) 22:06, 3 October 2021 (UTC)
I think that is a question for those pages' talk pages. Izno (talk) 22:17, 3 October 2021 (UTC)
Is there an easy way to find out how many pages this affects? Izno's mediawikiwiki link suggests a JavaScript command that counts the images, but that's hardly a global view. – Anon423 (talk) 03:00, 4 October 2021 (UTC)
That would be the phab:T248796 link that PrimeHunter provided. Izno (talk) 04:02, 4 October 2021 (UTC)
The typical way would be an automatic tracking category at Special:TrackingCategories. I don't know whether the problem is discovered at a time and place where a tracking category could be added. PrimeHunter (talk) 04:35, 4 October 2021 (UTC)
In the meantime, I have listed pages in mainspace which have this issue in quarry:query/4320. The first field is the page title, the second is the number of image links.--Snævar (talk) 09:30, 4 October 2021 (UTC)
Maybe it's a real use for presently TFDd {{too many images}}. Izno (talk) 14:15, 4 October 2021 (UTC)
Thanks. However, is there a particular reason why the query doesn't find List of professional sports families, which is known to have the issue? It seems to be finding pages with 1000 or more distinct images. – Anon423 (talk) 14:43, 4 October 2021 (UTC)
Excuse my lack of comprehension, but I don't quite see a way to find affected pages mentioned in that Phabricator thread. It seems the currently-unpublished suggested patch by BrandonXLF would only embed an HTML comment (or with Jdlrobson's comment, a hidden HTML span). I don't think that would be searchable, or would it? – Anon423 (talk) 15:23, 4 October 2021 (UTC)
Perhaps you should give feedback on the discussion such that a tracking category is added in the vein of those already in Special:TrackingCategories, as mentioned above. ;) Izno (talk) 16:13, 4 October 2021 (UTC)
Geohack Google maps display
Latest comment: 2 years ago1 comment1 person in discussion
This is a small issue, but I don't find it in the archives. Why, when I look at Google maps from the coordinates given in an article, via the Geohack page, do I see a double location marker thingie as of (IIRC) a month or so ago? My most recent experience of this is Bodega Bay, California; I checked that there is only one coordinates template on the page. I don't see this behavior either when I type in a different small settlement directly in Google maps or when I select a different mapping service or three at Geohack. (I'm using Firefox, but it doesn't seem to matter; I get the same thing in Chrome.) Yngvadottir (talk) 23:05, 3 October 2021 (UTC)
File:Focus of Bedford Park Garden Suburb.svg
Latest comment: 2 years ago10 comments3 people in discussion
– The specific issue with this SVG file was made by adjusting the file, the root cause upstream will continue to be tracked in phab. — xaosfluxTalk 20:59, 4 October 2021 (UTC)
There seems to be an issue displaying this image in the media viewer. The error message said "Error: could not load image from https://commons.wikimedia.org/wiki/File:Focus_of_Bedford_Park_Garden_Suburb.svg". The image looks fine when reading the article, and it works fine both when editing in Inkscape and when viewing it locally using Firefox (i.e. not via Wikipedia), so it seems to be specific to the media viewer. I've tried adjusting the image without success. Could start again and redraw it but presumably there's something in the .SVG file that the viewer doesn't like? Chiswick Chap (talk) 10:34, 4 October 2021 (UTC)
Note, this is not a media-viewer specific issue, having a problem viewing at all resolutions (e.g. 313px example). — xaosfluxTalk 10:49, 4 October 2021 (UTC)
Possibly phab:T200866 - while not ideal, @Chiswick Chap: you may want to upload an additional non-SVG version of the image for now if this is holding you up from improving an article here. — xaosfluxTalk 10:53, 4 October 2021 (UTC)
Many thanks. I'll see if I can rustle something up temporarily. Chiswick Chap (talk) 10:56, 4 October 2021 (UTC)
I've put a .PNG file there temporarily. Feel free to ping me if the issue is fixed. Chiswick Chap (talk) 13:26, 4 October 2021 (UTC)
@Chiswick Chap: You distorted the pattern too much: patternTransform="matrix(-.00444 6.6367 -2620.7 22.904 44653 549.3)". — JohannesKalliauer - contrib. 18:10, 4 October 2021 (UTC)
Thanks guys, both quick and precise, great help! Chiswick Chap (talk) 19:48, 4 October 2021 (UTC)
AWB network error
Latest comment: 2 years ago6 comments2 people in discussion
For the last few days, every time I try to run WP:AWB it tells me:
Network access error The operation has timed out
I'm running AWB v6.2.1.0 on Windows 7, and nothing has changed on my system, as far as I know. Checking my contributions I can see that the last time I used AWB successfully was 2021-09-30.Is there a problem at the Wikipedia end? Mitch Ames (talk) 12:32, 4 October 2021 (UTC)
Sounds like the lets encrypt problem. Your client cannot connect, because the root certificate has expired and it doesn't know about the new root certificate most likely. —TheDJ (talk • contribs) 12:52, 4 October 2021 (UTC)
That seems likely. I'll add the Windows certificate and try again. Mitch Ames (talk) 13:32, 4 October 2021 (UTC)
I wanted to test the process before changing anything on my real PC, so I started up a virtual machine with a clean installation of Windows 7 SP-2 (from the DVD) with no additional updates or software, to see if I could reproduce the problem. I installed .NET 4.5.2, copied ABW and ran it - and it works fine, allowing me to login. The certificate manager says that DST Root CA X3 (which expired 2021-09-30) is not present at all on the clean VM. It is present on my real PC (where AWB does not work). I presume that DST Root CA X3 was installed by some piece of software that I installed in the past. (I have fairly detailed notes on changes I've made to the system, including MicRooCerAut2011_2011_03_22, per [1], so I'm confident I'd know if I'd manually installed DST Root CA X3.) So I installed DST Root CA X3 onto the VM - and AWB still works.
I could just remove DST Root CA X3 from the real PC to see if that fixes the problem, but I'd rather understand what's going on first.
Does anybody have any other ideas, or shall I just raise a Phabricator ticket? Mitch Ames (talk) 13:14, 5 October 2021 (UTC)
Deleting %LOCALAPPDATA%\AutoWikiBrowser, %USERPROFILE%\Documents\AWB and HKEY_CURRENT_USER\Software\AutoWikiBrowser does not fix the problem. Mitch Ames (talk) 13:47, 5 October 2021 (UTC)
Latest comment: 2 years ago12 comments6 people in discussion
Hi techies. There's something out there that turns perfectly-valid number ranges - such as page numbers in references - into things that are apparently intended to be interpreted as telephone numbers. This is the search that I'm using, and here is an example which I've since fixed, but I know that CycoMa (talk·contribs) is not the only person who makes that error. The tags to that edit are "Mobile edit Mobile web edit Visual edit Advanced mobile edit", so is it a bug in one of these features, or a misbehaving browser add-on? If the latter, is it worth putting an edit filter together for that? --Redrose64 🌹 (talk) 14:04, 4 October 2021 (UTC)
The ticket for the remaining problems of this is phab:T116525. Apparently in some conditions iOS still auto formats those links and we don't fully understand how (I suspect it's somewhere in a out of document context where we handle some VE actions or something vague like that). —TheDJ (talk • contribs) 14:25, 4 October 2021 (UTC)
I forgot about that. But it seems to concern numbers formatted like 999-9999 and in my example the format is different - the page range is "184/185 – 253/254". --Redrose64 🌹 (talk) 14:31, 4 October 2021 (UTC)
(edit conflict) @Redrose64: the flags recorded in Special:AbuseFilter/examine/1427973382mobile app (user_app):false; mobile interface (user_mobile):true suggest this was made using the mobile web site, not the mobile app - so I suspect this was introduced client-side, somewhat related to phab:T116525. If CycoMa would like to share their browser version with us we may have a bit more to go on. — xaosfluxTalk 14:23, 4 October 2021 (UTC)
This edit suggests that if it is local, it's VE, not Mobile. --Redrose64 🌹 (talk) 19:47, 4 October 2021 (UTC)
VE desktop can still be done from a mobile device though. I guess it could be that other systems also do this auto formatting, but so far, I only know about iOS and the Skype extension doing this like this. —TheDJ (talk • contribs) 12:58, 5 October 2021 (UTC)
When I started this thread, there were 32 affected pages, all of which I fixed over the next few hours. Only three or four were due to edits made more than a month earlier. Whilst carrying out this task, a further four or five happened, which I sometimes picked up within minutes (example). Repeating the search just now, there are 14 affected articles, so the problem is ongoing and may be on the increase. --Redrose64 🌹 (talk) 16:02, 7 October 2021 (UTC)
I'm sure this has been proposed before, but would it be practical to just have an edit filter that disallows adding tel: URIs? – Rummskartoffel 16:09, 7 October 2021 (UTC)
Since I can not reproduce, on win10, edge 94, could you open up the tree dots in the top right corner, then more tools - developer tools - network (opens to the right), then try to add an autofilled citation, write down what messages you get in the network and console tabs and post it here, thanks. It would tell what the tool is doing and whether the browser understands it.--Snævar (talk) 07:46, 5 October 2021 (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
A more efficient way of sending changes from Wikidata to Wikimedia wikis that show them has been enabled for the following 10 wikis: mediawiki.org, the Italian, Catalan, Hebrew and Vietnamese Wikipedias, French Wikisource, and English Wikivoygage, Wikibooks, Wiktionary and Wikinews. If you notice anything strange about how changes from Wikidata appear in recent changes or your watchlist on those wikis you can let the developers know.
Changes later this week
The new version of MediaWiki will be on test wikis and MediaWiki.org from 5 October. It will be on non-Wikipedia wikis and some Wikipedias from 6 October. It will be on all wikis from 7 October (calendar).
Some gadgets and bots that use the API to read the AbuseFilter log might break. The hidden property will no longer say an entry is implicit for unsuppressed log entries about suppressed edits. If your bot needs to know this, do a separate revision query. Additionally, the property will have the value false for visible entries; previously, it wasn't included in the response. [2]
A more efficient way of sending changes from Wikidata to Wikimedia wikis that show them will be enabled for all production wikis. If you notice anything strange about how changes from Wikidata appear in recent changes or your watchlist you can let the developers know.
Future changes
You can soon get cross-wiki notifications in the iOS Wikipedia app. You can also get notifications as push notifications. More notification updates will follow in later versions. [3]
The JavaScript variables wgExtraSignatureNamespaces, wgLegalTitleChars, and wgIllegalFileChars will soon be removed from mw.config. These are not part of the "stable" variables available for use in wiki JavaScript. [4]
The JavaScript variables wgCookiePrefix, wgCookieDomain, wgCookiePath, and wgCookieExpiration will soon be removed from mw.config. Scripts should instead use mw.cookie from the "mediawiki.cookie" module. [5]
Latest comment: 2 years ago11 comments5 people in discussion
– zhwiki fixed their module. — xaosfluxTalk 17:00, 5 October 2021 (UTC)
Hi, just wondering why this page on Chinese Wikipedia has a Lilypond error when I can't see any Lilypond scores in the source. Is it being included from somewhere and where can I check it? (Error: "line 5 - column 1:bad grob property path (Staff.Clef stencil), line 6 - column 1:bad grob property path (Staff.TimeSignature stencil)") thanks. A1415 (talk) 16:15, 3 October 2021 (UTC)
When I loaded the zhwiki module to our sandbox, I get the same problem- but only on midi files, see User:Xaosflux/sandbox112. — xaosfluxTalk 11:05, 5 October 2021 (UTC)
The source code used in Chinese Wikipedia was ported by myself, just with minor changes for translation, when English Wikipedia used the same code base for rendering MIDI audio. As the server is now able to converting MIDI directly without any workarounds, I think it's resonable to update source code in there. --Great Brightstar (talk)
@Great Brightstar: thank you for the update, @A1415: seems like this is something you can fix at w:zh:模組:Listen, and you can use Module:Listen as a reference. zhwiki has applied protection such that only their administrators can update that module. — xaosfluxTalk 15:39, 5 October 2021 (UTC)
It's fixed now. @A1415: Thanks for your digging up. --Great Brightstar (talk) 15:47, 5 October 2021 (UTC)
I also introduced a TemplateStyle in that module, which used to improve the display of this template for mobile phone screen, which affects the grey line. Anyone who have rights to edit the mudule could port it to here. --Great Brightstar (talk) 16:28, 5 October 2021 (UTC)
That should not be ported here. As you have been told before, making piece-part changes here and there is not the solution, and especially if it's tweaking CSS display. Izno (talk) 16:46, 5 October 2021 (UTC)
As a general debugging tip for the future, you can use Special:ExpandTemplates to find the underlying <score> tag and the markup that's being passed to it. Legoktm (talk) 17:48, 6 October 2021 (UTC)
Basic pywikibot question
Latest comment: 2 years ago5 comments4 people in discussion
Back in 2010-2011 I used to run pywikibot a lot on various projects (perhaps never en.wikipedia). After I stopped doing this, the source code moved from SVN to Git and things started to changes names in a way that I didn't care to catch up with. Now I'm trying again, and I find various instructions that conflict each other. The instruction I followed was to download the software with the "pip install pywikibot" command. This got me some source code and the files say they are from 2021, so this should be up to date. But it doesn't run, since the file logging.py says "from logging import CRITICAL, ..." and this is a circular reference. This appears seriously broken. Is that the state of pywikibot source code nowadays? Is anybody fixing it? On this page, I'm informed that there's a mailing list, but it has seen only one message in August and two in September, which is very little. Is the project dead? Where should I look? Which other bot software should I use instead? --LA2 (talk) 12:31, 5 October 2021 (UTC)
Yes, but the kind of error I experienced was beyond the level where a ticket can fix it, like beating a horse that is apparently already dead. Now I tried instead to download the tar archive. It works. What the "pip install pywikibot" did was download the pywikibot/ subdirectory of the whole project, which is called "core-stable". I have no idea why there is a command for downloading just that subdirectory. It's not useful. Maybe I should write a ticket that the instructions are wrong. If I knew what the right instructions were, I would just update that wiki page. --LA2 (talk) 13:22, 5 October 2021 (UTC)
Installing pywikibot requires more than python nowadays. See phab:diffusion/PWBC/browse/requirements.txt for an list of required software packages. Sure the docs could be better.--Snævar (talk) 15:07, 5 October 2021 (UTC)
Do not use SVN or Git. Installing Python 3 (not 2) and running 'pip install pywikibot' is all that is required. Try 'pip list --outdated' and fix any problems shown. To update a package called xxx use 'pip install --upgrade xxx' (for example, xxx = pywikibot). Johnuniq (talk) 22:16, 5 October 2021 (UTC)
Edit causing ref errors
Latest comment: 2 years ago4 comments3 people in discussion
Here, the edit by my bot has apparently caused empty ref errors. Any idea why? ― Qwerfjkltalk 15:25, 5 October 2021 (UTC)
The problem was caused by the = sign inside the span tag within the {{efn}} template. The workaround/fix is to put |1= in front of the unnamed parameter of {{efn}}. – Jonesey95 (talk) 17:34, 5 October 2021 (UTC)
ai making disambiguation pages
Latest comment: 2 years ago1 comment1 person in discussion
disambiguation pages are the main navigation tool so why are n't they automatically genereted by software bi (talk) 15:51, 5 October 2021 (UTC)
Talk Page/User Page
Latest comment: 2 years ago5 comments3 people in discussion
Hello,
It was brought up on my talk page that the format isn't very mobile user friendly. I'm trying to correct this as I really don't want it to be such a pain for a user to be able to view my pages. I'm not even sure if this is the right location for this but it was suggested to ring it up here. I don't want to lose as much of my formatting as possible but I don't mind sacrificing a little if it means a more user friendly page. Any assistance would be most grateful. I'm not great at formatting so I am sure I made a ton of mistakes but since I don't use a mobile device other than my tablet I cant see what they see. Tank you for not throwing me out right away. --ARoseWolf 17:35, 5 October 2021 (UTC)
@ARoseWolf: look at them like this: Your Mobile Userpage and Your Mobile Talkpage - and try making your window narrow to see what it will look like for others. Your talk page will also appear mostly blank to mobile users because of phab:T241402 - so you might want to design around that. — xaosfluxTalk 18:40, 5 October 2021 (UTC)
(edit conflict)I fixed a bunch of syntax errors on the page, but I don't know enough about mobile view to know what it is supposed to look like. When I click "Read as wiki page", I can see the page just fine. I do notice that the normal mobile TOC (under "Active discussions") is not listed in mobile view, at least for me, possibly because it is placed in a custom location on the page. Maybe there's a phab task about this? I hear that a lot of people use mobile, but I don't see how it is really functional for active editors. – Jonesey95 (talk) 18:47, 5 October 2021 (UTC)
Thank you both. I sincerely want to get it right. No one should have to scroll around when looking at the page and I don't want that. --ARoseWolf 18:57, 5 October 2021 (UTC)
Just now, I made your talk page a bit more boring in order to make it work in mobile view. You are welcome to revert my change if you do not like it, but the mobile problems will persist. – Jonesey95 (talk) 19:14, 5 October 2021 (UTC)
File's old versions
Latest comment: 2 years ago15 comments6 people in discussion
I find it even more concerning that there might be almost 2,000 files sitting because it's not coming up in the category. I proposed here might be a better place to try and resolve this as it's not a bot issue. -- Amanda(aka DQ) 04:23, 6 October 2021 (UTC)
That would require a large write in the code, which i'm not going to lie, is not what I want to do. I'm sure though that my bot wouldn't be the only one affected by this. So i'm not sure a small fix is really the optimal solution here. It used to work perfectly, so I'm assuming that this was a change, and if so, some back porting should have been done to allow them to change categories. -- Amanda(aka DQ) 18:39, 6 October 2021 (UTC)
There is an bug for this issue at phab:T51803, when it gets fixed it would populate the category based on the #time parser function in the template, so 7 days after the last edit. Currently the files will end up in the category 1 month after the last edit, so 3 weeks later than they should.--Snævar (talk) 23:28, 6 October 2021 (UTC)
I don't think that's it. The date does get calculated correctly and the category shows up on the file page, but the file doesn't show up on the category page. For instance, at the time of writing this comment, this is the case for File:Vanessa Carlton - Be Not Nobody.jpg, which was supposed to be revdelled on October 3. You can quite easily find more affected files by just looking through transclusions of {{Orphaned non-free revisions}}. – Rummskartoffel 10:12, 7 October 2021 (UTC)
My comment is not about calculating the date correctly, it is about invalidating server side cache. So, once the bug gets fixed once the resulting time of #time is up the cache server side would get purged. The rest of the comment is also only about server side cache.--Snævar (talk) 11:33, 7 October 2021 (UTC)
I'm sorry, I phrased my comment badly. The problem is not that the template isn't putting [[:Category:Non-free files with orphaned versions more than 7 days old]] on the file page after 7 days – it does that, at least in some cases (such as the example I linked to), as evidenced by the category showing up in the box at the bottom of the page. The problem is that the cache invalidation doesn't seem to propagate to the category, so the file "thinks" it's in the category when it really isn't. Does that make sense, or am I misunderstanding something? – Rummskartoffel 14:44, 7 October 2021 (UTC)
It does make sense, and it's been a problem ever since a MediaWiki update in (IIRC) mid-2014. When you get a situation like this (page has a category at the bottom but doesn't show on the category itself, or (less often) vice versa) the thing to do is WP:NULLEDIT the affected page, and then WP:PURGE the category. Joe's Null Bot (talk·contribs) used to carry out the first part frequently, so that files sitting out the grace period of a CSD criterion would move to the appropriate "ready for deletion" category within 24 hours of the grace period expiring. The bot hasn't run for about three years now. --Redrose64 🌹 (talk) 15:15, 7 October 2021 (UTC)
@Pppery: So would I put that in the category I want them to show up in, or a category where they already are? Because I'd like to get this set back up. -- Amanda(aka DQ) 19:23, 7 October 2021 (UTC)
The category where the pages are presently being listed. This is not necessarily the category shown at the bottom of the page concerned. --Redrose64 🌹 (talk) 19:55, 7 October 2021 (UTC)
I also note that DeltaQuadBot seems to have already processed ~1000 files in the last few hours, so someone must have done something. * Pppery *it has begun... 20:24, 7 October 2021 (UTC)
Thanks. Though I wonder, if this issue has existed for so long, why hasn't it previously affected DQBot? – Rummskartoffel 15:26, 7 October 2021 (UTC)
Where did my "reply link" go?
Latest comment: 2 years ago3 comments2 people in discussion
A while ago I installed a script that adds a "reply" link to the end of signatures that very conveniently opens an edit window with the appropriate indent and a ping already set. It suddenly stopped working a few days ago.See line 30 of my common.js . If this script is no longer functional, is there an alternative that works similarly? I've become rather used to it. Roger (Dodger67) (talk) 06:29, 6 October 2021 (UTC)
Updated Commons image displays strangely in en-wiki, correctly in most other Wikipedias
Latest comment: 2 years ago5 comments2 people in discussion
I'm seeing a strange problem with an image recently updated in Commons and showing up strangely at English Wikipedia, but fine in most others. It appears like this in the article Philippe_Pétain.
The new image is showing up correctly in articles in Norwegian, Italian, Basque, and Czech Wikipedias. And to my surprise, correctly above right.
But the old image is still showing up, but stretched out of shape to match the aspect ratio of the new image in the articlePhilippe_Pétain in en-wiki, and also in articles at Esperanto and Serbian Wikipedias, and in the top image in Commons. I tried purging pages, no help. What's going on here? Mathglot (talk) 08:43, 6 October 2021 (UTC)
I checked with another browser, and the en-wiki image shifted to the new one, but Serbia didn't, and then switched later. Could this be some strange browser cache issue? Tried a third browser, and everything displayed the new image. Switched back to the first browser, which originally had the problems, but now everything is working. Some combination of delayed updates, and cache issues? Anyway, whatever it was, it's gone now. Mathglot (talk) 08:50, 6 October 2021 (UTC)
Latest comment: 2 years ago7 comments3 people in discussion
Hello! So I recently created the article Splatoon 3 which was copy and paste moved from Draft space by Panini and then properly moved by GeneralNotability. It's currently rated as start class, however XTool's page history of Splatoon 3 says it's Draft class. I looked at the article and I couldn't see any draft related category. Anyone know why XTools still doesn't say it's Start class? ― Blaze The WolfTalkBlaze Wolf#6545 14:57, 6 October 2021 (UTC)
Works for mehttps://xtools.wmflabs.org/articleinfo/en.wikipedia.org/Splatoon_3 says "start class" when I look at it. Keep in mind, xtools works off of a replica, so may be delayed - and class ratings aren't actually part of the article at all - they are just notes on the talk page. — xaosfluxTalk 15:27, 6 October 2021 (UTC)
XTools gets assessment data from Special:PageAssessments, which indeed still had it listed as "Draft". I made a null edit and that fixed it [6]. I'm not entirely sure what happened here; it seems Draft talk:Splatoon 3 and Talk:Splatoon 3 both coexisted at the same time. Perhaps because the talk pages weren't moved, no update to the templates on those pages was triggered. At any rate, if you see this happen again, a null edit (or actual edit) should fix it. — MusikAnimaltalk 15:28, 6 October 2021 (UTC)
So maybe ignore the part I said about the replicas, if this is live-loading, but it could still hit caching/job log backlogs. — xaosfluxTalk 15:31, 6 October 2021 (UTC)
No, it's true XTools can suffer from replication lag (in addition to job queue lag), but you would see a warning at the top of the XTools page if that were the case. You can also check toolforge:replag. You just happened to check XTools after I made the null edit. At any rate, Special:PageAssessments is the authoritative source. If XTools says something different, it's lying. — MusikAnimaltalk 15:35, 6 October 2021 (UTC)
Ah ok. I'll see if I can move the Draft's talk page to the Article space talk page since a copy and paste move was performed and see if that fixes it, or if it's already fixed. ― Blaze The WolfTalkBlaze Wolf#6545 17:12, 6 October 2021 (UTC)
expired SSL certificate
Latest comment: 2 years ago7 comments3 people in discussion
On linux, I'm getting an expired certificate error when accessing enwiki using multiple CLI tools (wget, w3m). It doesn't happen with firefox. It only occurs on one machine (IP?) on a different machine/IP no problem. Typically this points to system date being wrong, but the date is accurate. Other SSL sites work OK only *.wikipedia.org - Any ideas what it might be? Example: wget -q -O- 'https://en.wikipedia.org' returns empty response. Cert check can be bypassed with --no-check-certificate but is insecure and weird security errors are disconcerting. -- GreenC 17:37, 6 October 2021 (UTC)
@Legoktm: Thank you, that must be it as my OpenSSL is old. I've spent hours trying to get it work, upgrading SSL and adding the new root certificate and removing old, but nothing works.
For now, will disable certificate checking on each tool, I'm sure this will haunt me later. -- GreenC 21:26, 6 October 2021 (UTC)
Not sure what system you are using, but for old debian variants: In /etc/ca-certificates.conf, for the entry mozilla/DST_Root_CA_X3.crt prefix it with ! (so !mozilla/DST_Root_CA_X3.crt) to disable it and then run update-ca-certificates. This removes this expired root from the evaluation path. update everything that uses ssl. And then update the OS, because... it's clearly not up to date ;) —TheDJ (talk • contribs) 21:56, 6 October 2021 (UTC)
@TheDJ: .. OMG it worked. I had removed DST_Root_CA_X3.crt and rebuilt ca-certificates.conf using dpkg-reconfigure ca-certificates then updated with update-ca-certificates - but guess it still requires DST_Root_CA_X3.crt to be around and marked off with ! in the .conf .. whew not obvious. Thank you! -- GreenC 22:17, 6 October 2021 (UTC)
I personally found this explanation to be very readable. And that this worked basically means that you are using outdated openssl/gnutls/libressl etc... Maybe your OS version has a version-backports apt repo you can add that has a backport of the openssl version you need. But hard to say. —TheDJ (talk • contribs) 22:27, 6 October 2021 (UTC)
Wow this is really convoluted. It's a 2016 VM of Mint. I was able to upgrade OpenSSL to 1.1.1 and libraries. It also broke another machine, installed in 2005. There must be old machines breaking everywhere this past week. -- GreenC 04:38, 7 October 2021 (UTC)
Symbols rather than "Show" or "Hide"
Latest comment: 2 years ago15 comments8 people in discussion
In regard to an idea by editor Hooman Mallahzadeh to use the single-character symbols "˅" and "˄" rather than the words "show" and "hide" in sidebar and navbar templates, I wonder how feasible and accepted such an idea would be? Reference the following previous discussions:
I think this is an idea whose time has come, so I thought I'd bring it here since Phab. appears to be the wrong place to raise this issue. P.I. Ellsworth - ed.put'r there 11:06, 7 October 2021 (UTC)
Nope, that is completely unintuitive for screen reader users like me. The "~^" symbol sounds like "carrot" and the ˅ symbol is not pronounced at all by default in the latest beta version of JAWS, my screen reader, for example. Graphics showing those symbols with sufficient alt text would be accessible, but I don't think that's ever gonna happen either. Graham87 11:52, 7 October 2021 (UTC)
And don't even think about using abbr for this purpose; expansions of abbreviations are not read out by default and screen reader users generally have to know about the abbr tag's presence on a webpage to be able to use it. Graham87 12:05, 7 October 2021 (UTC)
Graham87 You see Javascript-generated "Show/Hide" in a screen reader? :) Izno (talk) 13:57, 7 October 2021 (UTC)
Note: that phab ticket was rejected - no software change is expected to be needed even if this was to be done. — xaosfluxTalk 13:24, 7 October 2021 (UTC)
Wwell... I doubt that.. I think andre is mistaken here. Because we wouldn't use symbols here. We'd use image buttons with labels, because like Graham87 said, otherwise it wouldn't be accessible. —TheDJ (talk • contribs) 13:54, 7 October 2021 (UTC)
Okay, "image buttons with labels" sounds like we're on the right track. So do you mean that this is an issue that would have to be handled by the devs at Phab? P.I. Ellsworth - ed.put'r there 15:13, 7 October 2021 (UTC)
I've found [show] handy as something to search for when trying to find content buried in dozens of hidden sections nested at multiple levels. (I now use a bookmarklet.) Certes (talk) 13:46, 7 October 2021 (UTC)
I also use my browser's Find feature to search for "show" when I can't find content on a page and need to expand all of the (grumble) hidden sections to use Find to find it (sorry for so many "find"s!). It would be nice to have a "show all hidden sections" gadget; is there one I don't know about? – Jonesey95 (talk) 15:04, 7 October 2021 (UTC)
@Izno: Yes, I do see the show/hide buttons in my screen reader. Maybe the advice re CSS/JavaScript and screen readers in the accessibility guidelines is a little conservative these days, but there are still unusual screen readers out there to which it might apply. I use my screen reader's feature to navigate between buttons to find show/hide boxes to click ... I agree a show all gadget would be nice in certain situations. Graham87 15:32, 7 October 2021 (UTC)
Good to know! Izno (talk) 15:40, 7 October 2021 (UTC)
I think someone has a scriptlet for that somewhere in the VPT archives. Izno (talk) 15:40, 7 October 2021 (UTC)
I use javascript:void($('.mw-collapsed').each(function () { $(this).data('mwCollapsible').expand() })); (not my work). Certes (talk) 15:45, 7 October 2021 (UTC)
Yup, that should do it. Izno (talk) 15:54, 7 October 2021 (UTC)
Please stick to understandable text! What expected benefit would come from replacing "show" with a squiggle? If someone does not understand what "show" means, they should be at another website. Johnuniq (talk) 22:46, 7 October 2021 (UTC)
Is there a way to do a mass upload of files to enwiki?
Latest comment: 2 years ago2 comments2 people in discussion
Latest comment: 2 years ago8 comments6 people in discussion
I'm going to assume the strange outage an hour or so ago plus the unexpected logout is a Thursday thing? -- Veggies (talk) 19:39, 7 October 2021 (UTC)
I got that also, but it was page specific. When I clicked on William Barr, it logged me out and made a fund raising plea (for Wikimedia, I think). I ran two different malware/virus scans on my computer, and it doesn't seem to be my end problem. — Maile (talk) 19:43, 7 October 2021 (UTC)
@Seraphimblade: Definitely should have said they're rolling back changes - I am but a simple bystander! 😅 ~TNT (she/her • talk) 20:01, 7 October 2021 (UTC)
Yes, the rolling back of changes solved the issue for me, thanks. — Maile (talk) 22:40, 7 October 2021 (UTC)
On two occasions, I was informed that I was logged out; I quickly found that all I needed to do was back up and try again. I assumed that I had a flaky connection and the login cookie didn't make it through. --Redrose64 🌹 (talk) 20:05, 7 October 2021 (UTC)
Login page seems to be broken.
Latest comment: 2 years ago2 comments2 people in discussion
I'm trying to log into my account on my PC. I'm logged in on my phone, but I forgot my old password. Trying to log in with a temporary password, but that won't work. Probably something to do with the captcha (always a bad idea), but otherwise no idea. I can't get in to ask this question on my PC, because my IP has been blocked (no reason given, blame "NinjaRobotPirate"). Any advice? Could someone from the technical team just get me into my account? — Preceding unsigned comment added by Henry Kingdon (talk • contribs) 21:01, October 7, 2021
@Henry Kingdon: Hi, sorry to hear you're having issues logging in - I can see you successfully requested a password reset today at 21:42, then failed to log in a few times. What error message are you getting? The IP block you mention shouldn't prevent you from logging in ~TNT (she/her • talk) 21:19, 7 October 2021 (UTC)