Page MenuHomePhabricator

AlexisJazz
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Feb 23 2018, 10:35 PM (322 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Alexis Jazz [ Global Accounts ]

Recent Activity

Mon, Apr 22

AlexisJazz added a comment to T358834: Way to load minified versions of user scripts.

Too bad, but I can see where you're coming from. T36958 sounds super interesting.

Mon, Apr 22, 10:36 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, JavaScript

Fri, Apr 19

AlexisJazz added a comment to T362379: Several major news websites (NYT, NPR, Reuters...) block citoid due to too much traffic.

How about scraping RSS feeds every 10 minutes and caching the results? That's very little traffic. Includes titles, links, author and date.

Fri, Apr 19, 3:37 PM · VisualEditor, Citoid
AlexisJazz added a comment to T362379: Several major news websites (NYT, NPR, Reuters...) block citoid due to too much traffic.

While npr.org isn't covered by search engine cache, it seems https://www.nprillinois.org/ is. There's no obvious way to rewrite the URLs though, for example compare:

Fri, Apr 19, 3:02 PM · VisualEditor, Citoid
AlexisJazz added a comment to T362379: Several major news websites (NYT, NPR, Reuters...) block citoid due to too much traffic.

The NYTimes has been blocking us for a while, it briefly worked when we changed datacenters and ergo IP, but they've understandably reblocked us after a few weeks' reprieve!

There's not a whole lot we can do except to ask for IP exemptions - @Samwalton9-WMF would this be something partnerships could try?

..there's no budget to get a VPN for $2/month and spread the traffic across a dozen IPs? Do you need me to pay for it? I can do that.

I don't think hiding our traffic so that our impact is less obvious is the way to go here, not least because as far as I'm aware Citoid identifies itself in the user agent. Much better for us in the long run to work with these orgs to either educate them on what we're doing, or to figure out ways of reducing our traffic volume. We don't want to burn bridges, especially when many of these orgs are current or potential TWL partners.

Fri, Apr 19, 2:44 PM · VisualEditor, Citoid
AlexisJazz added a comment to T362379: Several major news websites (NYT, NPR, Reuters...) block citoid due to too much traffic.

The NYTimes has been blocking us for a while, it briefly worked when we changed datacenters and ergo IP, but they've understandably reblocked us after a few weeks' reprieve!

There's not a whole lot we can do except to ask for IP exemptions - @Samwalton9-WMF would this be something partnerships could try?

Fri, Apr 19, 2:23 PM · VisualEditor, Citoid

Thu, Apr 18

AlexisJazz created T362873: Citing NPR article with Citoid does not work.
Thu, Apr 18, 12:09 PM · Web2Cit, Citoid

Thu, Apr 11

AlexisJazz added a comment to T214989: Allow CodeMirror to be used for other textareas with WikiEditor.

Run this in the console on Special:BlankPage:

await mw.loader.using( [ 'ext.wikiEditor', 'ext.CodeMirror.v6.WikiEditor' ] );
$( '.mw-body-content' ).append( $( '<textarea>' ) );
mw.addWikiEditor( $( 'textarea' ) );

It works. No?

Cool, that does work!

Thu, Apr 11, 9:01 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), Convenient-Discussions, MediaWiki-extensions-CodeMirror

Wed, Apr 3

AlexisJazz added a comment to T340705: [performance budgeting] Improve JS payload for projects with gadgets that lead to a 30%+ increase after gzip.

I just copy-pasted Special:Version from fawikinews, ruwiki and enwiki into a file and checked the diff. Note that I replaced all times with 00:00 because fawiki shows different times.

Wed, Apr 3, 4:40 AM · Bengali-Sites, Local-Wiki-Template-And-Gadget-Issues, Web-Team-Backlog (Needs Prioritization (Tech))

Mon, Apr 1

AlexisJazz added a comment to T309328: IP range-blocks should not block trusted logged-in users (autopatrolled, bot, bureaucrat, checkuser, interface-admin, steward).

before writing off some of the most trusted and dedicated users on Wikimedia as bad faith.

Depends on the project and individual CU.

Mon, Apr 1, 11:42 PM · User-Frostly, Community-consensus-needed, MediaWiki-Blocks

Mar 28 2024

AlexisJazz added a comment to T359768: upload.wikimedia.beta.wmflabs.org: cannot find server.

https://commons.wikimedia.beta.wmflabs.org/w/thumb.php?f=Example.jpg&w=220 doesn't work either, but returns instantly instead of taking ~45s:

Request from (European IP redacted) via deployment-cache-text08 deployment-cache-text08, Varnish XID 396622189
Upstream caches: deployment-cache-text08 int
Error: 500, Internal Server Error at Thu, 28 Mar 2024 16:59:52 GMT

Compare to https://upload.wikimedia.beta.wmflabs.org/wikipedia/commons/a/a9/Example.jpg:

Request from (European IP redacted) via deployment-cache-upload08.deployment-prep.eqiad1.wikimedia.cloud, ATS/9.1.4
Error: 500, Cannot find server. at 2024-03-28 17:03:14 GMT
Mar 28 2024, 5:05 PM · Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz updated subscribers of T215217: deployment-prep (beta cluster): Code stewardship request.

Beta cluster is actively used to test the Commons app. Must be annoying for testers that upload.wikimedia.beta.wmflabs.org has been down for weeks. I frequently use it to test gadgets. Found a train blocker or two while doing so. But I don't see a solution either. ;-(

Mar 28 2024, 4:52 PM · Release-Engineering-Team (Radar), Beta-Cluster-Infrastructure, Code-Stewardship-Reviews
AlexisJazz added a comment to T359768: upload.wikimedia.beta.wmflabs.org: cannot find server.

I'm afraid SREs cannot help here- while it is ATS returning the error to the end user, it is not the source, it is upload.wikimedia.beta.wmflabs.org what is timing out (Failed to connect to upload.wikimedia.beta.wmflabs.org port 443: Connection timed out) , which means it is a beta issue, that we don't own. I couldn't find any team responsible for it at: https://www.mediawiki.org/wiki/Developers/Maintainers#Services_and_administration so returning it to the original tagging.

Mar 28 2024, 10:33 AM · Beta-Cluster-reproducible, Beta-Cluster-Infrastructure

Mar 20 2024

AlexisJazz added a comment to T313336: GadgetUsage API results malformed when $wgSpecialGadgetUsageActiveUsers is enabled.

T354023 explains that, the Gadget: namespace has been removed globally.

Mar 20 2024, 11:00 AM · MediaWiki-Action-API, MediaWiki-extensions-Gadgets

Mar 19 2024

AlexisJazz added a comment to T313336: GadgetUsage API results malformed when $wgSpecialGadgetUsageActiveUsers is enabled.

Somebody changed it from 2300 to 8. See https://en.wikipedia.org/w/index.php?title=Wikipedia%3AVillage_pump_(technical)&oldid=1214586229#Gadget_being_used_by_-1_users

Mar 19 2024, 10:01 PM · MediaWiki-Action-API, MediaWiki-extensions-Gadgets

Mar 16 2024

AlexisJazz updated subscribers of T337286: Gadget API for adding buttons to section titles.
Mar 16 2024, 7:40 PM · Web-Team-Backlog, Essential-Work, Web Team Essential Work 2024, Content-Transform-Team, MediaWiki-Core-Skin-Architecture
AlexisJazz updated subscribers of T337286: Gadget API for adding buttons to section titles.

This is very interesting. Yes, I hack your HTML a lot. It's pretty maintenance-intensive. https://en.wikipedia.org/wiki/User:Alexis_Jazz/Factotum adds multiple buttons/links. (configurable, but it can add like six or seven max I think) Especially because I aim to support all skins, including Minerva.

Mar 16 2024, 7:25 PM · Web-Team-Backlog, Essential-Work, Web Team Essential Work 2024, Content-Transform-Team, MediaWiki-Core-Skin-Architecture

Mar 10 2024

AlexisJazz added a project to T359768: upload.wikimedia.beta.wmflabs.org: cannot find server: SRE.
Mar 10 2024, 9:12 PM · Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz created T359768: upload.wikimedia.beta.wmflabs.org: cannot find server.
Mar 10 2024, 5:26 PM · Beta-Cluster-reproducible, Beta-Cluster-Infrastructure

Mar 1 2024

AlexisJazz added a comment to T322457: Only include one set of DiscussionTools buttons in the page HTML.

Thanks for the heads up! I'll keep an eye on this. It seems okay on the patchdemo, but if anything funky happens I'll know where to look.

Mar 1 2024, 8:14 PM · Verified, Editing-team (Kanban Board), MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Technical-Debt, DiscussionTools
AlexisJazz updated the task description for T358834: Way to load minified versions of user scripts.
Mar 1 2024, 11:08 AM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, JavaScript
AlexisJazz created T358834: Way to load minified versions of user scripts.
Mar 1 2024, 7:42 AM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, JavaScript

Feb 27 2024

AlexisJazz updated subscribers of T352167: Source map error: Error: request failed with status 404.

I use my own omgtb script, it's extremely convenient. IIRC due to CORS I can't obtain the task from https://train-blockers.toolforge.org/. If you can tell me how the correct task can be found within this domain I can try to update my script.

train-blockers is now emitting emit an Access-Control-Allow-Origin: * header (Gerrit change 978139)

Feb 27 2024, 10:48 AM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure

Feb 25 2024

AlexisJazz added a comment to T340705: [performance budgeting] Improve JS payload for projects with gadgets that lead to a 30%+ increase after gzip.

The current skin has no effect on the result AFAIK? But it's true that the script doesn't filter for skins. If there's a Vector-only default gadget but you're using CologneBlue, well, that gadget isn't loading for you. If there's a Minerva-only gadget but you're using Vector, same. For the purpose of finding low-hanging fruit this doesn't really matter IMHO.

The current skin has no effect, which is a problem for figuring out what contributes to payload on mobile. E. g. I got this in ruWP https://ru.wikipedia.org/?oldid=136342483 but most are gadgets for a namespace/action/etc. or do not load in Minerva.

But this task isn't about figuring out what contributes to payload on mobile. And that pie chart seems very useful to me: it shows instantly that https://ru.wikipedia.org/wiki/MediaWiki:Gadget-wikibugs is the largest default gadget.

Feb 25 2024, 7:37 PM · Bengali-Sites, Local-Wiki-Template-And-Gadget-Issues, Web-Team-Backlog (Needs Prioritization (Tech))

Feb 24 2024

AlexisJazz added a comment to T340705: [performance budgeting] Improve JS payload for projects with gadgets that lead to a 30%+ increase after gzip.

This isn’t much help because this script assumes that all default gadgets load in the current skin, which isn’t true for Minerva.

Feb 24 2024, 10:58 PM · Bengali-Sites, Local-Wiki-Template-And-Gadget-Issues, Web-Team-Backlog (Needs Prioritization (Tech))

Feb 22 2024

AlexisJazz created T358178: Pick a location from a map in UploadWizard .
Feb 22 2024, 6:44 AM · Discovery-Search, GeoData, UploadWizard

Feb 19 2024

AlexisJazz added a comment to T309694: Archive the LocalisationUpdate extension (late 2023).

@Jdforrester-WMF I just updated a Debian 11 machine to Debian 12. Result: MediaWiki no longer works. Searching the web I stumbled upon https://discuss.freedombox.org/t/mediawiki-upgrade-notes-bullseye-to-bookworm/2609 and ran php update.php.

$ php update.php 
PHP Fatal error:  Uncaught Exception: Unable to open file /usr/share/mediawiki/extensions/LocalisationUpdate/extension.json: filemtime(): stat failed for /usr/share/mediawiki/extensions/LocalisationUpdate/extension.json in /usr/share/mediawiki/includes/registration/ExtensionRegistry.php:199
Stack trace:
#0 /usr/share/mediawiki/includes/GlobalFunctions.php(49): ExtensionRegistry->queue()
#1 /etc/mediawiki/LocalSettings.php(154): wfLoadExtension()
#2 /usr/share/mediawiki/includes/Setup.php(218): require_once('...')
#3 /usr/share/mediawiki/maintenance/doMaintenance.php(83): require_once('...')
#4 /usr/share/mediawiki/maintenance/update.php(319): require_once('...')
#5 {main}
  thrown in /usr/share/mediawiki/includes/registration/ExtensionRegistry.php on line 199

How to resolve this?
Open your LocalSettings.php and delete this line:

wfLoadExtension( 'LocalisationUpdate' );

Now run update.php. This resolved the issue for me and the wiki is loading once more.

Feb 19 2024, 5:04 AM · MediaWiki-extensions-LocalisationUpdate, translatewiki.net, Wikimedia-GitHub, Diffusion-Repository-Administrators, Projects-Cleanup
AlexisJazz created T357876: When two paragraphs have a pre-tag they no longer render as two paragraphs.
Feb 19 2024, 12:45 AM · MediaWiki-Parser

Feb 10 2024

AlexisJazz updated subscribers of T357184: Consider increasing $wgTranscodeBackgroundSizeLimit to 5GB.

If MW estimates the transcode will be bigger than that size, then it will refuse to do it. In essence, it will change the error on the VP9 2160P transcode of File:Politparade.webm.

Historically, $wgTranscodeBackgroundSizeLimit was passed to ulimit to prevent files larger than that size from being created, but it seems this was removed in 7d9fb4ce1.

Feb 10 2024, 3:39 AM · TimedMediaHandler, media-backups, SRE-swift-storage, MediaWiki-File-management, Commons
AlexisJazz added a comment to T357184: Consider increasing $wgTranscodeBackgroundSizeLimit to 5GB.

This is the hard limit for max size of a video transcode.

It is?

$ wget "https://upload.wikimedia.org/wikipedia/commons/transcoded/d/d5/Politparade.webm/Politparade.webm.1440p.vp9.webm?download"
HTTP request sent, awaiting response... 200 OK
Length: 4168557856 (3.9G) [video/webm]
Saving to: ‘Politparade.webm.1440p.vp9.webm?download’

@Bawolff what will be affected by this limit?

Feb 10 2024, 2:30 AM · TimedMediaHandler, media-backups, SRE-swift-storage, MediaWiki-File-management, Commons

Feb 9 2024

AlexisJazz added a comment to T355746: Display issues got worse (cross-wiki, 24-01-2024).

@AlexisJazz I found this pretty easy to replicate:

Feb 9 2024, 8:13 PM · Local-Wiki-Template-And-Gadget-Issues, MinervaNeue (Tracking)

Jan 30 2024

AlexisJazz closed T351027: Received 4 mail notifications but only 2 actual mails as Declined.

@jhathaway nope. Guess it was a fluke, or one of the Wikimedia mail servers (assuming that's load balanced) was malfunctioning, or maybe Cryptic did something different. I'll just decline this myself, anyone feel free to reopen if it happens again.

Jan 30 2024, 9:49 AM · Mail, Infrastructure-Foundations

Jan 26 2024

AlexisJazz added a comment to T355975: Fatal exception of type "UnexpectedValueException".
Jan 26 2024, 11:15 PM
AlexisJazz updated the task description for T355975: Fatal exception of type "UnexpectedValueException".
Jan 26 2024, 11:12 PM
AlexisJazz created T355975: Fatal exception of type "UnexpectedValueException".
Jan 26 2024, 11:11 PM

Jan 25 2024

AlexisJazz added a comment to T355746: Display issues got worse (cross-wiki, 24-01-2024).

@DonTrung Did you clear your browser cache?

Jan 25 2024, 12:34 AM · Local-Wiki-Template-And-Gadget-Issues, MinervaNeue (Tracking)

Jan 14 2024

AlexisJazz closed T352167: Source map error: Error: request failed with status 404 as Declined.

Probably nothing to be done here at this point.

Jan 14 2024, 11:30 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure

Jan 8 2024

AlexisJazz added a project to T345032: Some cookies are misusing the recommended “SameSite“ attribute: MediaWiki-Core-AuthManager.
Jan 8 2024, 5:09 PM · MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, Beta-Cluster-reproducible

Dec 26 2023

AlexisJazz added a comment to T178879: Automatically (or manually, server-side) fix user signatures containing Lint errors.

In T352617 I provided some JS that could warn/correct signature issues while the user is setting it on Special:Preferences.

Dec 26 2023, 3:16 PM · MediaWiki-extensions-Linter

Dec 22 2023

AlexisJazz changed the status of T353486: Multiple display issues on mobile devices (December 2023) from Invalid to Resolved.
Dec 22 2023, 8:48 AM · Local-Wiki-Template-And-Gadget-Issues
AlexisJazz updated subscribers of T353486: Multiple display issues on mobile devices (December 2023).
Dec 22 2023, 8:48 AM · Local-Wiki-Template-And-Gadget-Issues

Dec 4 2023

AlexisJazz updated subscribers of T352617: Automatic signature obsolete tag warning/patcher.

Considering T140606#6236721 maybe @matmarex has some thoughts about this?

Dec 4 2023, 10:00 AM · MediaWiki-Core-Preferences
AlexisJazz updated the task description for T352617: Automatic signature obsolete tag warning/patcher.
Dec 4 2023, 10:00 AM · MediaWiki-Core-Preferences

Dec 3 2023

AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

@AlexisJazz Does this affect the ability to debug (ie get source maps for) any core, extension or gadget source code? It seems in each report only the startup module is implicated. I have a theory as to why, which if true, is not feasible to fix and I would likely address by silencing this particular instance of that warning.

Dec 3 2023, 8:17 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz created T352617: Automatic signature obsolete tag warning/patcher.
Dec 3 2023, 1:26 PM · MediaWiki-Core-Preferences
AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

Randomly on https://en.wikipedia.org/wiki/Special:Preferences

Source map error: Error: request failed with status 404
Resource URL: https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&safemode=1&skin=vector
Source Map URL: /w/load.php?lang=en&modules=startup&only=scripts&skin=vector&sourcemap=1&version=6naiq
Dec 3 2023, 12:12 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz updated the task description for T352614: Citoid/Web2cit IGN Brazil citation results in incorrect first and last name parameters.
Dec 3 2023, 9:12 AM · Citoid, Web2Cit
AlexisJazz created T352614: Citoid/Web2cit IGN Brazil citation results in incorrect first and last name parameters.
Dec 3 2023, 9:10 AM · Citoid, Web2Cit

Dec 1 2023

VPuffetMichel awarded T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster a Like token.
Dec 1 2023, 6:38 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure

Nov 30 2023

AlexisJazz added a comment to T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster.

I just realized it's working again. (took me a moment to realize the "no response" error from my script vanished)

Nov 30 2023, 6:50 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure

Nov 28 2023

AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

...
In my experience gadgets are cached longer than userscripts, and I have no interface admin rights anywhere on production. I'll see if I can maybe reproduce it on beta.

Indeed https://train-blockers.toolforge.org/api.php yields no CORS header :-/ The repository is https://gerrit.wikimedia.org/g/labs/tools/train-blockers , it should be an easy patch to add header('Access-Control-Allow-Origin: *');. I have proposed https://gerrit.wikimedia.org/r/c/labs/tools/train-blockers/+/978139

Nov 28 2023, 9:12 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a project to T352167: Source map error: Error: request failed with status 404: Wikimedia-production-error.
Nov 28 2023, 8:43 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

https://test.wikipedia.org/wiki/Main_Page?uselang=es

Source map error: Error: request failed with status 404
Resource URL: https://test.wikipedia.org/w/load.php?lang=es&modules=startup&only=scripts&raw=1&skin=vector-2022
Source Map URL: /w/load.php?lang=es&modules=startup&only=scripts&skin=vector-2022&sourcemap=1&version=qqu3e
Nov 28 2023, 4:36 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

https://commons.m.wikimedia.beta.wmflabs.org/wiki/Main%20Page?uselang=de&useskin=vector

Source map error: Error: request failed with status 404
Resource URL: https://commons.m.wikimedia.beta.wmflabs.org/w/load.php?lang=de&modules=startup&only=scripts&raw=1&skin=vector&target=mobile
Source Map URL: /w/load.php?lang=de&modules=startup&only=scripts&skin=vector&sourcemap=1&version=ds1ou
Nov 28 2023, 4:27 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

https://commons.m.wikimedia.beta.wmflabs.org/wiki/Main%20Page?uselang=pt

Source map error: Error: request failed with status 404
Resource URL: https://commons.m.wikimedia.beta.wmflabs.org/w/load.php?lang=pt&modules=ext.uls.common&skin=minerva&version=1kw47
Source Map URL: /w/load.php?lang=pt&modules=ext.uls.common&skin=minerva&sourcemap=1&version=1kw47
Nov 28 2023, 4:14 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a comment to T352167: Source map error: Error: request failed with status 404.

1.42.0-wmf.13 is six weeks away so if this should block deployment then it should be the next one instead.
We are on 1.42.0-wmf.5 currently: https://versions.toolforge.org/

Nov 28 2023, 3:43 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz updated the task description for T352167: Source map error: Error: request failed with status 404.
Nov 28 2023, 12:34 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a subtask for T350089: 1.42.0-wmf.13 deployment blockers: T352167: Source map error: Error: request failed with status 404.
Nov 28 2023, 12:31 PM · Release-Engineering-Team (Priority Backlog 📥), Release, Train Deployments
AlexisJazz added a parent task for T352167: Source map error: Error: request failed with status 404: T350089: 1.42.0-wmf.13 deployment blockers.
Nov 28 2023, 12:31 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a project to T352167: Source map error: Error: request failed with status 404: MediaWiki-ResourceLoader.
Nov 28 2023, 12:30 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz created T352167: Source map error: Error: request failed with status 404.
Nov 28 2023, 12:30 PM · MediaWiki-Platform-Team, MediaWiki-ResourceLoader, Beta-Cluster-Infrastructure
AlexisJazz added a comment to T340802: Remove the ResourceLoader targets system from MediaWiki core in 1.42.

@AlexisJazz the gadgets system is not impacted by this change. It maintains its own targets system (T328610) which I highly discourage using (as it may go away in future), but it's there in the mean time if you need it. There are no plans to deprecate Minerva. Not sure where you got any idea that this is happening. There are efforts to align the desktop Minerva/Vector skins and mobile Minerva experiences more (e.g. making gadgets work in both places) and the removal of the targets system as outlined in this ticket is part of that.

Nov 28 2023, 9:00 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-Platform-Team (Radar), MW-1.42-release, MediaWiki-ResourceLoader
AlexisJazz added a comment to T111565: Enable collapsible templates (including infoboxes) on mobile.

What exactly is the opposition here? Who is opposed to making this change (I can't see anything about this in the ticket).

T111565#9135498 points to the relevant gerrit patch review of which you were a part. I would be as happy as anyone to have it loaded 'natively', but until someone prioritizes doing so, a gadget it is. (Speaking of which, we're planning to roll that out to all mobile users Soon after the briefest of brief trials with registered users. Better hang on to your hats.)

Right but the patch didn't pose opposition - it just recognized that the fat finger concern is a problem and is hard to solve.

(Speaking of which, we're planning to roll that out to all mobile users Soon after the briefest of brief trials with registered users. Better hang on to your hats.)

It doesn't look like the gadget addresses the fat finger concern so I'm not sure why we intentionally want to roll out a bad experience to end users?

Nov 28 2023, 5:12 AM · Web-Team-Backlog, Advanced Mobile Contributions, patch-welcome, MinervaNeue, Design
AlexisJazz added a comment to T111565: Enable collapsible templates (including infoboxes) on mobile.

As there are people opposed to making this change in MediaWiki core, I would suggest doing it in your wiki's MediaWiki:Common.js or a gadget, as long as your community finds that agreeable.

What exactly is the opposition here? Who is opposed to making this change (I can't see anything about this in the ticket).

My understanding of this ticket is nobody is prioritizing this work, the work is challenging and that's the only problem here.

In gadget/userscript form I made ColMask which is yet another take. Code is a bit messy though and it's JS on top of jquery.makeCollapsible. It does address the fat finger problem though, the whole collapsed object can be clicked to expand it and it uses buttons.

Nov 28 2023, 4:41 AM · Web-Team-Backlog, Advanced Mobile Contributions, patch-welcome, MinervaNeue, Design
AlexisJazz closed T352094: 503 on Wikidata as Resolved.

Nope, seems fine now.

Nov 28 2023, 4:34 AM · Wikimedia-production-error, Traffic, wmde-wikidata-tech, Wikidata

Nov 27 2023

AlexisJazz created T352094: 503 on Wikidata.
Nov 27 2023, 8:34 PM · Wikimedia-production-error, Traffic, wmde-wikidata-tech, Wikidata

Nov 26 2023

AlexisJazz reopened T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster as "Open".

it ded

Nov 26 2023, 11:44 AM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure

Nov 24 2023

AlexisJazz renamed T351937: Custom thumbnail doesn't follow thumbnail size rules and breaks video from Custom thumbnail should follow thumbnail size rules to Custom thumbnail doesn't follow thumbnail size rules and breaks video.
Nov 24 2023, 6:43 PM · Thumbor, TimedMediaHandler
AlexisJazz reopened T351937: Custom thumbnail doesn't follow thumbnail size rules and breaks video as "Open".
Nov 24 2023, 6:40 PM · Thumbor, TimedMediaHandler
AlexisJazz closed T351937: Custom thumbnail doesn't follow thumbnail size rules and breaks video as Resolved.

Oh, what I wanted is actually possible, it just wasn't documented on https://www.mediawiki.org/wiki/Help:Images. (I added it now)

Nov 24 2023, 6:40 PM · Thumbor, TimedMediaHandler
AlexisJazz updated the task description for T351937: Custom thumbnail doesn't follow thumbnail size rules and breaks video.
Nov 24 2023, 4:50 PM · Thumbor, TimedMediaHandler
AlexisJazz created T351937: Custom thumbnail doesn't follow thumbnail size rules and breaks video.
Nov 24 2023, 4:46 PM · Thumbor, TimedMediaHandler
AlexisJazz added a comment to T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster.

For me as well.

Nov 24 2023, 4:34 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz awarded T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB) a Like token.
Nov 24 2023, 1:29 PM · SRE-swift-storage, Traffic, Commons
AlexisJazz added a comment to T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB).

I think, per modules/tlsproxy/manifests/localssl.pp it was 180s when we were using nginx, so I'll adjust it accordingly.

Nov 24 2023, 1:11 PM · SRE-swift-storage, Traffic, Commons
AlexisJazz updated the task description for T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster.
Nov 24 2023, 12:57 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz added a project to T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster: MediaWiki-Action-API.
Nov 24 2023, 12:55 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz added a comment to T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster.

As I don't know the cause I'm just tagging as both traffic and train blocker.

Nov 24 2023, 12:54 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz added a subtask for T350089: 1.42.0-wmf.13 deployment blockers: T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster.
Nov 24 2023, 12:54 PM · Release-Engineering-Team (Priority Backlog 📥), Release, Train Deployments
AlexisJazz added a parent task for T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster: T350089: 1.42.0-wmf.13 deployment blockers.
Nov 24 2023, 12:54 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz added a project to T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster: Traffic.
Nov 24 2023, 12:54 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz renamed T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster from Betacommons API timeout to Beta cluster API timeout.
Nov 24 2023, 12:54 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz created T351930: HTTP 504 connection timeout error accessing MW API on Beta cluster.
Nov 24 2023, 12:52 PM · Abstract Wikipedia team, WikiLambda, Traffic, Beta-Cluster-reproducible, Beta-Cluster-Infrastructure
AlexisJazz updated subscribers of T340802: Remove the ResourceLoader targets system from MediaWiki core in 1.42.

@Jdforrester-WMF @Esanders what are we supposed to do now? I've made more than one gadget that specifically targets MobileFrontend and not desktop Minerva. MakeMobileCollapsible is a default gadget now.

Nov 24 2023, 3:28 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-Platform-Team (Radar), MW-1.42-release, MediaWiki-ResourceLoader

Nov 23 2023

AlexisJazz added a comment to T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB).

With limit-rate it doesn't interrupt:

$ time wget --limit-rate 10K "https://upload.wikimedia.org/wikipedia/commons/6/64/Gameplay_0_A.D._Alpha_26_Gefecht_gegen_KI_20221106_Teil_01_von_10.webm"
--2023-11-23 16:47:09--  https://upload.wikimedia.org/wikipedia/commons/6/64/Gameplay_0_A.D._Alpha_26_Gefecht_gegen_KI_20221106_Teil_01_von_10.webm
Resolving upload.wikimedia.org (upload.wikimedia.org)... 185.15.59.240, 2a02:ec80:300:ed1a::2:b
Connecting to upload.wikimedia.org (upload.wikimedia.org)|185.15.59.240|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4213093616 (3.9G) [video/webm]
Saving to: ‘Gameplay_0_A.D._Alpha_26_Gefecht_gegen_KI_20221106_Teil_01_von_10.webm.4’
Nov 23 2023, 3:54 PM · SRE-swift-storage, Traffic, Commons
AlexisJazz added a comment to T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB).

I can add another datapoint to it being time-based, on my connection the download finished within less than a minute without any interruption.

Nov 23 2023, 1:53 PM · SRE-swift-storage, Traffic, Commons
AlexisJazz renamed T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB) from After ~750MB file download is cut off to After ~1 minute file download is cut off.
Nov 23 2023, 12:00 PM · SRE-swift-storage, Traffic, Commons
AlexisJazz added a comment to T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB).

Please add relevant project tags - I'm afraid that it will be hard for the Commons community to fix this entirely themselves :)

Nov 23 2023, 11:55 AM · SRE-swift-storage, Traffic, Commons
AlexisJazz added a comment to T191804: Allow to store files between 4 and 5 GB.
There's one more use I think: the 4K transcode of https://commons.wikimedia.org/wiki/File:Politparade.webm failed, presumably due to the 4GB limit.

More likely it hit a timeout. The lower resolution transcodes were already taking 9 hours. However if the transcode was > 4GB then the FileStoreRepo changes would fix it. Anyways, this task won't fix everything about large video files, there are still aspects that are going to be shaky for very large files.

How about both? The 1440p VP9 transcode is already 3.9GB.

Nov 23 2023, 11:35 AM · User-notice-archive, Data-Persistence-Backup, media-backups, SRE-swift-storage, MediaWiki-File-management, Multimedia, Commons
AlexisJazz created T351876: Download cut off (envoy response timeout at 65s) for Commons file over CDN size threshold (1GB).
Nov 23 2023, 10:39 AM · SRE-swift-storage, Traffic, Commons
AlexisJazz added a comment to T191804: Allow to store files between 4 and 5 GB.

As a note

My expectation is that the primary usage for a higher limit would be:

  • Long (or HD) videos which previously had to use more aggressive compression to fit in 4GB
  • Videos which previously had to be split up into multiple files

Right now we are averaging 12 files > 3GB a month on commons (overwritten and deleted files are negligible), and 3 files / month > 3.9GB. [enwiki has 0].

It seems for the most part large files are special cases, and I'm doubtful that increasing the limit will affect much in terms of capacity.

Nov 23 2023, 6:19 AM · User-notice-archive, Data-Persistence-Backup, media-backups, SRE-swift-storage, MediaWiki-File-management, Multimedia, Commons
AlexisJazz updated subscribers of T340802: Remove the ResourceLoader targets system from MediaWiki core in 1.42.

Latest revision as of 22:31, 22 November 2023 view source thank
Izno (talk | contribs)
→‎test: start with deploying this for users. specifically target mobile as that is where collapsible things are not enabled (rather than a skin as you should generally). see also phab:T111565

+ * MakeMobileCollapsible[ResourceLoader|targets=mobile|rights=minoredit|default]|MakeMobileCollapsible.js

Nov 23 2023, 5:37 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-Platform-Team (Radar), MW-1.42-release, MediaWiki-ResourceLoader

Nov 21 2023

AlexisJazz created T351694: Linkrot causes Citoid to reduce deeplinks to homepage links in some cases.
Nov 21 2023, 8:45 AM · Citoid, Internet-Archive

Nov 15 2023

AlexisJazz added a comment to T351024: When requesting content, drvlimit/adrlimit/arvlimit/rvlimit is 500, not 5000.

The code to reduce the limit when content is parsed is in ApiQueryRevisionsBase, so this affects the following modules:

  • list=alldeletedrevisions with adrlimit
  • list=allrevisions with arvlimit
  • prop=deletedrevisions with drvlimit
  • prop=revisions with rvlimit

Also the deprecated list=deletedrevs with drlimit

Thanks for the clarification and research. You're talking about another sense of "parse" I'm guessing as the wikitext isn't actually parsed like action=parse does.

Yes, when fetching content the limit is set to 50/500, the normal limit is 500/5000. When parsing content via drvparse parameter the limit is set to 1/1.

The first number is without apihighlimit, the second with that right. There is no depending on the modul name, if you see different numbers that must depend on the rights (logged out vs. sysop/bot account)

Nov 15 2023, 1:41 AM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Documentation, MediaWiki-Action-API
AlexisJazz updated the task description for T351024: When requesting content, drvlimit/adrlimit/arvlimit/rvlimit is 500, not 5000.
Nov 15 2023, 1:38 AM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Documentation, MediaWiki-Action-API

Nov 14 2023

AlexisJazz updated the task description for T351024: When requesting content, drvlimit/adrlimit/arvlimit/rvlimit is 500, not 5000.
Nov 14 2023, 10:43 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Documentation, MediaWiki-Action-API
AlexisJazz added a comment to T351024: When requesting content, drvlimit/adrlimit/arvlimit/rvlimit is 500, not 5000.

The code to reduce the limit when content is parsed is in ApiQueryRevisionsBase, so this affects the following modules:

  • list=alldeletedrevisions with adrlimit
  • list=allrevisions with arvlimit
  • prop=deletedrevisions with drvlimit
  • prop=revisions with rvlimit

Also the deprecated list=deletedrevs with drlimit

Nov 14 2023, 10:41 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Documentation, MediaWiki-Action-API
AlexisJazz created T351264: When requesting content, rvlimit is 50, not 500.
Nov 14 2023, 9:58 PM · MediaWiki-Action-API, Documentation
AlexisJazz added a comment to T351124: Abusing spam-blacklist to deny anyone from editing a page.

This would seem to, in general, militate against the wisdom of implementing a spam URL blacklist as a magical totem that prevents *anybody* (including EC, including TE, including sysops) from editing the page.

Do we have some problem where template editors are spamming references to best-free-viagra.biz?

Nov 14 2023, 1:08 PM · SpamBlacklist
AlexisJazz updated the task description for T351124: Abusing spam-blacklist to deny anyone from editing a page.
Nov 14 2023, 4:38 AM · SpamBlacklist
AlexisJazz updated the task description for T351124: Abusing spam-blacklist to deny anyone from editing a page.
Nov 14 2023, 4:37 AM · SpamBlacklist