Page MenuHomePhabricator

Nux (Maciej Jaros)
Volunteer dev

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Oct 13 2014, 5:14 PM (476 w, 5 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Nux [ Global Accounts ]

Full stack developer and a tech lead in a daily job. I mainly deal with web stuff, and in wikimedia I mainly write gadgets (CSS/JS). UI/UX enthusiast.
On wikipedia since 2005.

Recent Activity

Tue, Nov 28

Novem_Linguae awarded T343499: Add minification support for async-await (ES2017) a Barnstar token.
Tue, Nov 28, 12:58 AM · Wikimedia-Minify, MediaWiki-Platform-Team, MediaWiki-ResourceLoader

Sat, Nov 25

Nux added a comment to T169027: Provide iframe sandboxing for rich-media extensions (defense in depth).

So if I understand it correctly, when sandbox'ing is applied, it always gets a transient origin, which means that upon each request the origin effectively changes and thus there is no caching right ? And the only way around it is using a separate domain without sandboxing ?

Sat, Nov 25, 6:26 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Patch-For-Review, Security, Technical-Debt, Commons, MediaWiki-File-management, Multimedia
Nux added a comment to T270348: "Math extension cannot connect to Restbase.".

I think the message should be modified. This is not a very friendly message. Especially with that "localhost" which might freak out a dev 😉 (my initial thought: why is Wikipedia trying to connect to my localhost). Jokes aside, the message does suggest there is problem on my side but – as I understand – this is mostly a backend problem. So maybe log some details to JS console or a tooltip or something...

Sat, Nov 25, 12:05 PM · Math-Non-WMF-Installations, Math

Mon, Nov 20

Nux added a comment to T169027: Provide iframe sandboxing for rich-media extensions (defense in depth).

I also found this in whatwg spec:

<iframe sandbox src="https://usercontent.example.net/getusercontent.cgi?id=12193"></iframe>
[Warning!] It is important to use a separate domain so that if the attacker convinces the user to visit that page directly, the page doesn't run in the context of the site's origin, which would make the user vulnerable to any attack found in the page.

Mon, Nov 20, 9:22 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Patch-For-Review, Security, Technical-Debt, Commons, MediaWiki-File-management, Multimedia
Nux added a comment to T169027: Provide iframe sandboxing for rich-media extensions (defense in depth).

Use a separate but unsandboxed domain (en.wikipedia.wikimedia-usercontent.org or something like that) that internally resolves to the same wiki (with similar effects to the "sandbox mode" mentioned above, except it wouldn't do sandboxing, just relying on the origin / registrable domain being different). This would of course vastly increase the effort required (buying the domain, setting up DNS rules, certificates, a bunch of changes to site configuration...).

Mon, Nov 20, 8:57 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), Patch-For-Review, Security, Technical-Debt, Commons, MediaWiki-File-management, Multimedia

Fri, Nov 10

Nux added a comment to T324526: Support CSS clamp in templateStyles.

Clam and others supported by 95.8% of browsers globally:

obraz.png (734×1 px, 88 KB)

Fri, Nov 10, 7:20 PM · css-sanitizer, TemplateStyles
Nux updated the task description for T324526: Support CSS clamp in templateStyles.
Fri, Nov 10, 7:00 PM · css-sanitizer, TemplateStyles
Nux added a comment to T343666: Icon display fails at runtime when user submitted value stored in database is URL encoded.

The quick fix for this particular case is to update the URL in Toolhub to the un-encoded value of https://commons.wikimedia.org/wiki/File:Logo_Dzień_Nowego_Artykułu_Orem_version.svg. I have done this at https://toolhub.wikimedia.org/tools/dna/history/revision/46196/diff/48064 and the desired icon is now rendering.

Fri, Nov 10, 6:52 PM · Toolhub
MartinK awarded T324526: Support CSS clamp in templateStyles a Burninate token.
Fri, Nov 10, 3:26 PM · css-sanitizer, TemplateStyles

Nov 3 2023

Nux created T350450: No subscribe links for VillagePump / bar on mobile.
Nov 3 2023, 1:19 AM · Editing-team (Kanban Board), DiscussionTools

Oct 31 2023

Nux added a comment to T235542: Error after "Upload more files" (already uploading the file...).

Thanks for the fix. That seems like a less invasive way then I wanted to do it.

Oct 31 2023, 11:21 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard

Oct 30 2023

SD0001 awarded T343499: Add minification support for async-await (ES2017) a Barnstar token.
Oct 30 2023, 4:48 PM · Wikimedia-Minify, MediaWiki-Platform-Team, MediaWiki-ResourceLoader

Oct 29 2023

Nux added a comment to T349957: Allow bot credentials to be scoped to edit specific pages only.

Ci/cd configuration can be separated. For example I have a Jenkins installation of which configuration is not accessible to anyone. Jenkins pools GitHub and runs Wikiploy. That Wikiploy script can be in a separate repo if I need to. There is no problem in that.

Oct 29 2023, 10:22 AM · MW-1.42-notes (1.42.0-wmf.7; 2023-11-28), Patch-For-Review, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager, MediaWiki-extensions-OAuth

Oct 26 2023

Nux added a comment to T187749: Make it possible to use code from an external repository for editor-controlled Javascript/CSS.

So I kind of actually implemented this myself 🙂

Oct 26 2023, 12:57 AM · Patch-Needs-Improvement, Security, Security-Team, Wikimedia-Hackathon-2019, Wikimedia-Hackathon-2018, MediaWiki-extension-requests, User-Tgr, JavaScript, MediaWiki-extensions-Gadgets

Oct 19 2023

Nux awarded T117279: [EPIC] Core should provide inline diffs as well as side by side (Move InlineDifferenceEngine into core / remove MobileDiff) a Burninate token.
Oct 19 2023, 8:15 PM · MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), MW-1.41-notes (1.41.0-wmf.29; 2023-10-03), Patch-For-Review, Moderator-Tools-Team, Web-Team-Backlog (Needs Prioritization (Tech)), MW-1.35-notes (1.35.0-wmf.10; 2019-12-10), User-Jdlrobson, TechCom, MobileFrontend (MobileFrontend Special Pages), Multi-Content-Revisions, Technical-Debt (RW-Tech-Debt)

Oct 11 2023

Nux added a comment to T348393: Mobile diff doesn't have review buttons.

Does that mean you cannot reach non-mobile https://pl.wikipedia.org/wiki/Specjalna:Różnica_mobilna/71469982 anymore? Because I can.

Oct 11 2023, 5:29 PM · Web-Team-Backlog (Needs Prioritization (Tech)), MobileFrontend, MediaWiki-extensions-FlaggedRevs

Oct 8 2023

Nux created T348393: Mobile diff doesn't have review buttons.
Oct 8 2023, 7:09 AM · Web-Team-Backlog (Needs Prioritization (Tech)), MobileFrontend, MediaWiki-extensions-FlaggedRevs

Sep 26 2023

Nux added a comment to T346468: DEPRECATION: MediaWiki UI modules are to be replaced with Codex CSS components (gadgets).

I assume modules and templates using the classes are also affected, right?
https://pl.wikipedia.org/w/index.php?search=insource%3A%2Fmw-ui%2F&title=Specjalna:Szukaj&profile=advanced&fulltext=1&ns8=1&ns10=1&ns828=1

Sep 26 2023, 5:14 PM · User-notice
Nux added a comment to T347344: User-scripts running on Wikipedia can no longer use ORES (CORS issue).

Petscan also depends on this. Or to be more exact it assumes calback parameter is available to avoid CORS issues.

Sep 26 2023, 4:27 PM · Machine-Learning-Team, ORES

Sep 23 2023

Nux added a comment to T346475: Long pages are loaded with default skin instead of using prefered skin.

Hi. @Aklapper this shows that Wikipedia:Portal wikipedystów also triggers the switch of skin from monobook (prefered by Cuku New) to default (V'22).

Sep 23 2023, 3:52 PM · MediaWiki-Platform-Team
Nux added a comment to T63007: Allow specifying when a gadget should load (action, namespace, content model).

If supporting negation perhaps it should be thought about more broadly and apply to all options (see also T342532)

Hm... I guess the parser part can be more universal. But I think having gadgets not in main namespace would help with budgets etc more. I assume most people, most of the time, probably visit only the main namespace.

Sep 23 2023, 1:02 AM · Patch-For-Review, User-notice, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), Wikimedia-Performance-recommendation, Wikimedia-Israel-Hackers, MediaWiki-extensions-Gadgets

Sep 22 2023

Nux added a comment to T63007: Allow specifying when a gadget should load (action, namespace, content model).

For the performance sake could you support namespace!=0 syntax?

Sep 22 2023, 10:08 PM · Patch-For-Review, User-notice, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), Wikimedia-Performance-recommendation, Wikimedia-Israel-Hackers, MediaWiki-extensions-Gadgets
Nux awarded T156439: Improve diff to handle splitting a paragraph a Party Time token.
Sep 22 2023, 6:17 PM · Community-Wishlist-Survey-2023, Better-Diffs-2023, wikidiff2, Community-Wishlist-Survey-2016

Sep 20 2023

Nux added a comment to T272394: PagePreviews show unexpected error message for non-empty pages.

@Jdlrobson done. Didn't help, but I guess maybe cache? (purge didn't help though)

Sep 20 2023, 8:54 PM · RESTBase-API, Page-Previews

Sep 18 2023

Nux added a comment to T272394: PagePreviews show unexpected error message for non-empty pages.

For Polish Wikipedia all disambiguation pages have {{Ujednoznacznienie}} on top and the page preview fails for them.

Sep 18 2023, 11:33 PM · RESTBase-API, Page-Previews
Nux created T346686: Disambig previews not working when a summary cannot be generated.
Sep 18 2023, 7:34 PM · Verified, MW-1.42-notes (1.42.0-wmf.5; 2023-11-14), Web-Team-Backlog (Web Team FY2023-24 Q2 Sprint 3), Page-Previews

Sep 16 2023

Nux created T346475: Long pages are loaded with default skin instead of using prefered skin.
Sep 16 2023, 2:42 PM · MediaWiki-Platform-Team
Nux added a comment to T326281: Attempt top-level central autologin when visiting the login page (to allow autologin when the browser blocks third-party cookies).
Sep 16 2023, 2:35 PM · MW-1.41-notes (1.41.0-wmf.30; 2023-10-10), User-notice-archive, MediaWiki-Platform-Team, Platform Engineering, MediaWiki-extensions-CentralAuth

Sep 14 2023

Nux added a comment to T346348: Add configurable noexcerpt in inline Phonos.

Seems like tags with explicit display:none are removed. So the problem was not the span with class (like I assumed). I've modified our template and it should work now.

Sep 14 2023, 5:15 PM · MediaWiki-extensions-Phonos
Nux added a comment to T346348: Add configurable noexcerpt in inline Phonos.

I think .noexcerpt should be added explicitly to templates (rather then implicit, default class for Phonos).

Sep 14 2023, 3:41 PM · MediaWiki-extensions-Phonos

Sep 13 2023

Nux added a comment to T346115: Provide statistics on the size of gadgets.

Did you ever thought of using NodeJS?

Sep 13 2023, 4:02 PM · MediaWiki-extensions-Gadgets
Nux updated the task description for T346257: Basic formatting in TemplateData.
Sep 13 2023, 3:30 PM · VisualEditor, TemplateData
Nux created T346257: Basic formatting in TemplateData.
Sep 13 2023, 3:28 PM · VisualEditor, TemplateData

Sep 12 2023

Nux added a comment to T346115: Provide statistics on the size of gadgets.

@AlexisJazz Seems I found a way, if that helps. They have some rules for addresses/page title as seems.

	wgPageContentModel:"sanitized-css"
	wgRelevantPageName:"Template:Legend/Style.css"
Sep 12 2023, 9:20 PM · MediaWiki-extensions-Gadgets
Nux added a comment to T111565: Enable collapsible templates (including infoboxes) on mobile.

@Izno Actually NavFrame is used on all year pages for collapsing navigation in a nice and more accessible way (both for sighted users and for users using screen readers and for mobile UX). But if you think you can do it with the default then we can discuss that. We can discuss that on WP:BAR:TE or on the template's page. In general default collapsing is visibly slower to load though.

Sep 12 2023, 7:04 PM · Web-Team-Backlog, Advanced Mobile Contributions, patch-welcome, MinervaNeue, Design
Nux added a comment to T346115: Provide statistics on the size of gadgets.

A table with all this data would be great too. I mean something like:

{|
|-
! gadget !! size [KiB] !! zipped [KiB]
|-
...
|}
Sep 12 2023, 6:52 PM · MediaWiki-extensions-Gadgets
Nux added a comment to T346177: Certain systems failing to resolve DNS entries under toolforge.org, wmcloud.org, wmflabs.org, toolserver.org.

login.toolforge.org is not working too (even after flushing local dns). So no way to ssh into TS.

Sep 12 2023, 6:12 PM · User-aborrero, Cloud-VPS, SRE

Sep 11 2023

Nux added a comment to T111565: Enable collapsible templates (including infoboxes) on mobile.

It's worth noting that mobile MediaWiki already supports collapsible class, which is almost the same as mw-collapsible in appearance.

That doesn't work for me. I don't think it's a MediaWiki feature, but it's a fairly common on-wiki customization (older than mw-collapsible).

Ah, appears that you're right. I must have missed the on-wiki code that supports it.

On English Wikipedia it's part of https://en.wikipedia.org/wiki/MediaWiki:Common.js but Common.js doesn't load on mobile.

Curiously, plwiki (which appears to be your home wiki?) has https://pl.wikipedia.org/wiki/MediaWiki:Mobile.js to enable collapsible elements on mobile. While shorter, it's less efficient than the gadget proposed on enwiki and won't work when the page content is refreshed e.g. after editing a page.

[edit]
Oh, you created that page! I'd actually suggest you install https://en.wikipedia.org/wiki/Wikipedia:MakeMobileCollapsible#Installation_on_other_projects as it's more efficient than loading the module unconditionally on every page load.

Sep 11 2023, 6:08 PM · Web-Team-Backlog, Advanced Mobile Contributions, patch-welcome, MinervaNeue, Design

Sep 9 2023

hubaishan awarded T268948: Add editprotected permission for interface-admin a Like token.
Sep 9 2023, 4:28 PM · MediaWiki-General
Nux created T345979: mw.Api is not working with wbcreateclaim.
Sep 9 2023, 12:17 PM · MediaWiki-Action-API, Wikidata

Sep 2 2023

Nux added a comment to T345490: Ugly namespace tab inserted when trying to add to legacy p-namespaces in Vector 2022.

This code is used on wikisource:

var mwskin = mw.config.get('skin');
var parentId = mwskin === "vector-2022" ? 'p-associated-pages' : 'p-namespaces';
var item = mw.util.addPortletLink( parentId, '#', "Lorem ipsum");
if (item && mwskin === "vector-2022") {
	item.classList.add('vector-tab-noicon');	// v22
}
Sep 2 2023, 9:46 PM · Desktop Improvements (Vector 2022)
Nux added a comment to T345478: Alpha Wikipedia installation for developers and testers.

I think you're looking for https://toolhub.wikimedia.org/tools/patchdemo ?

Sep 2 2023, 5:06 PM · WMF-General-or-Unknown, Developer Productivity
Nux added a comment to T345478: Alpha Wikipedia installation for developers and testers.

Isn't this what the Beta-Cluster is for?

Sep 2 2023, 1:58 AM · WMF-General-or-Unknown, Developer Productivity

Sep 1 2023

Nux created T345478: Alpha Wikipedia installation for developers and testers.
Sep 1 2023, 9:33 PM · WMF-General-or-Unknown, Developer Productivity

Aug 28 2023

Nux added a comment to T344544: Archive the DoubleWiki extension.

The example book looks terrible on my monitor in Vector '22:
https://fr.wikisource.org/wiki/Criton_(trad._Cousin)?match=en

obraz.png (562×974 px, 74 KB)

Aug 28 2023, 7:48 PM · User-notice, Community-consensus-needed, All-and-every-Wikisource, MediaWiki-extensions-DoubleWiki, translatewiki.net, Wikimedia-GitHub, Diffusion-Repository-Administrators, Projects-Cleanup

Aug 15 2023

Nux renamed T344211: Requesting GitLab account activation for eccenux from Requesting GitLab account activation for USER[S] to Requesting GitLab account activation for eccenux.
Aug 15 2023, 12:46 AM · GitLab (Account Approval), Release-Engineering-Team
Nux updated the task description for T344211: Requesting GitLab account activation for eccenux.
Aug 15 2023, 12:44 AM · GitLab (Account Approval), Release-Engineering-Team
Nux created T344211: Requesting GitLab account activation for eccenux.
Aug 15 2023, 12:43 AM · GitLab (Account Approval), Release-Engineering-Team

Aug 14 2023

Nux updated the task description for T344153: Provide nocookie domain for thumb.php (generic or for Commons).
Aug 14 2023, 12:59 PM · MediaWiki-Platform-Team (Radar), Performance Issue, Wiki-Loves-Monuments
Nux updated the task description for T344153: Provide nocookie domain for thumb.php (generic or for Commons).
Aug 14 2023, 12:57 PM · MediaWiki-Platform-Team (Radar), Performance Issue, Wiki-Loves-Monuments
Nux created T344153: Provide nocookie domain for thumb.php (generic or for Commons).
Aug 14 2023, 12:55 PM · MediaWiki-Platform-Team (Radar), Performance Issue, Wiki-Loves-Monuments

Aug 13 2023

Nux added a comment to T344062: Gadgets definition should contain list of maintainers.

I believe that code is more likely to have a valid maintainer name. The same applies to documentation within code, as you might have noticed. This has been my experience at least. Documentation in comments tends to be more up-to-date in general, not just in the context of Wikipedia scripts.

Aug 13 2023, 8:41 PM · MediaWiki-extensions-Gadgets
Nux added a comment to T343092: Allow adding more links in AddLink structured task.

The goal of this task was really to encourage someone who had never edited before to try editing for the very first time. We tried to design the task in a way that was extremely simple and really limited user options / limited decision fatigue. The good news is it really does help more new account holders try editing for the first time: Add a link Experiment analysis. And the good news is that although the task is fairly limited, newcomers do seem to progress on and try new types of editing: Newcomer task edit type analysis.

Aug 13 2023, 7:36 PM · Add-Link, Growth-Team, GrowthExperiments-NewcomerTasks

Aug 6 2023

Nux created T343666: Icon display fails at runtime when user submitted value stored in database is URL encoded.
Aug 6 2023, 7:53 PM · Toolhub

Aug 5 2023

Nux added a comment to T169452: Replace Quarry with an installation of Superset.

Two more things missing (worse then Quarry):

Aug 5 2023, 4:05 PM · cloud-services-team (FY2023/2024-Q1-Q2), superset.wmcloud.org, Quarry
Nux added a comment to T169452: Replace Quarry with an installation of Superset.

Is there any tutorial on how to use the Superset? I tried to run a simple query on plwiki but initially failed to find a database. It would be helpful to have a welcome page that explains how to find databases or add the same links Quarry has in the menu.

Aug 5 2023, 3:12 PM · cloud-services-team (FY2023/2024-Q1-Q2), superset.wmcloud.org, Quarry

Aug 4 2023

Nux added a comment to T211661: Automatically clean up unused thumbnails in Swift.

Changed hideSidebar upstream. You can update uk.wiki.
https://pl.wikipedia.org/wiki/Wikipedysta:Nux/hideSidebar.js

Aug 4 2023, 1:14 AM · MediaWiki-Platform-Team (Radar), Performance Issue, Traffic, SRE-swift-storage, SRE
Nux created T343499: Add minification support for async-await (ES2017).
Aug 4 2023, 12:32 AM · Wikimedia-Minify, MediaWiki-Platform-Team, MediaWiki-ResourceLoader

Jul 30 2023

Nux updated the task description for T343092: Allow adding more links in AddLink structured task.
Jul 30 2023, 4:55 PM · Add-Link, Growth-Team, GrowthExperiments-NewcomerTasks
Nux updated the task description for T343092: Allow adding more links in AddLink structured task.
Jul 30 2023, 4:52 PM · Add-Link, Growth-Team, GrowthExperiments-NewcomerTasks
Nux added a comment to T343092: Allow adding more links in AddLink structured task.

This could be extended for all types of edit tasks I think. Like when you want to add a picture, but maybe not as just image in the body, but in the infobox. Or I want to add an image and add an alt text and some links.

Jul 30 2023, 3:42 PM · Add-Link, Growth-Team, GrowthExperiments-NewcomerTasks
Nux created T343092: Allow adding more links in AddLink structured task.
Jul 30 2023, 2:52 PM · Add-Link, Growth-Team, GrowthExperiments-NewcomerTasks

Jul 26 2023

Nux reopened T235542: Error after "Upload more files" (already uploading the file...) as "In Progress".
Jul 26 2023, 10:35 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard
Nux closed T235542: Error after "Upload more files" (already uploading the file...) as Resolved.

Sorry, I wasn't able to test it before the review. I will need to install the latest MW, but not sure when will I have enough time to do so as I am on and off from home...

Jul 26 2023, 10:35 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard

Jul 18 2023

Nux added a comment to T340484: Add Zotero ISBN translator for NL PL (Polish books).

I just noticed that 8301136545 works, but weirdly, the ISBN which you get back in the citation (9788301136543) does not work! Is it just that the isbn 13 isn't in their search database (despite that obviously they know about it because they're returning it) do you think?

Jul 18 2023, 8:58 PM · Citoid
Nux added a comment to T298334: Validations for gadget definitions.

Maybe it would be more useful to spit back interpretation of what was entered. You know like now when enable ES6 it says that on the special page ("This gadget is only supported on ES6-compliant browsers") and other thing like that. So like that, but show even a dump of options on a preview of changes or something. I guess an editor would solve that too (like for TemplateData).

Jul 18 2023, 7:20 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MediaWiki-extensions-Gadgets

Jul 1 2023

Nux added a comment to T328610: Default gadgets to run on mobile.

Something you can use for things like popups:

// popups
// only on devices that can hover (not on touch-only)
if (!window.matchMedia("(hover: none)").matches) {
	importStylesheet('MediaWiki:Gadget-navpop.css');
	mw.loader.using( "mediawiki.api,mediawiki.user,mediawiki.util,user.options,mediawiki.jqueryMsg".split(',') , function() {
		importScript('MediaWiki:Gadget-popups.js');
	});
}
Jul 1 2023, 11:11 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.16; 2023-07-04), Patch-For-Review, MediaWiki-extensions-Gadgets

Jun 30 2023

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

The thing with en.wiki is probably that they get most of the stuff done by WMF. For example, many enhancements were made in the new Vector specifically after the mutiny on en.wiki. This is not a reproach; it just partly explains why they have fewer default gadgets. This also might explain why Wikisource usually has more gadgets than Wikipedia. WS has weaker support in general, and more features need to be added by the community.

Jun 30 2023, 8:55 AM · Bengali-Sites, Reading-Web-Local-Wiki-Issues, Web-Team-Backlog (Needs Prioritization (Tech))

Jun 29 2023

Nux added a comment to T328610: Default gadgets to run on mobile.

Does that mean gadgets will still be available for all skins by default? So this would be a default gadget for all skins and targets?

wikiflex [ResourceLoader | hidden | default] | wikiflex.css
Jun 29 2023, 10:52 AM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.16; 2023-07-04), Patch-For-Review, MediaWiki-extensions-Gadgets
Nux created T340728: Minerva namespace tabs does not use standard markup and does not work with gadgets.
Jun 29 2023, 10:48 AM · good first task, patch-welcome, Web-Team-Backlog, MinervaNeue

Jun 28 2023

Nux added a watcher for MediaWiki-extensions-Gadgets: Nux.
Jun 28 2023, 11:32 PM
Nux added a comment to T328610: Default gadgets to run on mobile.

I do think on the long term we should replace targets in gadgets for a more sophisticated system. I like the idea from @Tgr for using skip functions - that seems more in line with what we actually want here. These skip functions could potentially be predefined so you might have a gadget that requires support for touch devices (ReferenceTooltips might benefit from that for example) that could mark itself up like so:

gadget.name[ResourceLoader|default|skipIf=TOUCH_DEVICE]
Jun 28 2023, 11:00 PM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.16; 2023-07-04), Patch-For-Review, MediaWiki-extensions-Gadgets
Nux added a comment to T340682: Large set of Gadgets "PHP Deprecated: Use of Modules must target desktop and mobile." after deployment of 1.41.0-wmf.15 to group1.

So to be clear this will cause a bug:

hideSidebar [ResourceLoader | skins=vector,monobook | targets=desktop ] | hideSidebar.js
MobileMaps[ResourceLoader|targets=mobile]|mobilemaps.js

This will be fine:

hide-rollback [ResourceLoader | rights=rollback | targets=desktop,mobile ] | hide-rollback.css | hide-rollback.js
Jun 28 2023, 7:29 PM · Reading-Web-Local-Wiki-Issues, User-brennen, Wikimedia-production-error
Nux added a comment to T340477: Make Codex design tokens available in Gadgets.

On that note, there is a new color-mix function in CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix

Jun 28 2023, 6:44 PM · MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, Design-Systems-Team, MediaWiki-extensions-Gadgets, Front-end Modernization

Jun 27 2023

Nux added a project to T340187: Enable pl.wikisource clienterrors monitoring in Logstash: Wikimedia-Site-requests.
Jun 27 2023, 11:55 PM · Wikimedia-Site-requests, Wikimedia-Logstash
Nux claimed T235542: Error after "Upload more files" (already uploading the file...).
Jun 27 2023, 9:19 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard

Jun 26 2023

Nux updated the task description for T340484: Add Zotero ISBN translator for NL PL (Polish books).
Jun 26 2023, 7:30 PM · Citoid
Nux created T340484: Add Zotero ISBN translator for NL PL (Polish books).
Jun 26 2023, 7:24 PM · Citoid

Jun 23 2023

Nux created T340187: Enable pl.wikisource clienterrors monitoring in Logstash.
Jun 23 2023, 10:44 AM · Wikimedia-Site-requests, Wikimedia-Logstash

Jun 21 2023

Nux updated the task description for T235542: Error after "Upload more files" (already uploading the file...).
Jun 21 2023, 9:15 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard
Nux added a comment to T235542: Error after "Upload more files" (already uploading the file...).

So this is called multiple times uw.ui.Upload.prototype.load = function (uploads).

Jun 21 2023, 9:06 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard
Nux added a comment to T235542: Error after "Upload more files" (already uploading the file...).

There are too many files-added events.

Jun 21 2023, 8:42 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard
Nux added a comment to T235542: Error after "Upload more files" (already uploading the file...).

Reproduction with images.

Jun 21 2023, 7:41 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard
Nux added a comment to T235542: Error after "Upload more files" (already uploading the file...).

More detailed steps to reproduce:

Jun 21 2023, 7:02 PM · MW-1.42-notes (1.42.0-wmf.3; 2023-10-31), Regression, WMDE-TechWish-Maintenance-2023, UploadWizard

Jun 19 2023

Nux added a comment to T71460: action=raw should allow public HTTP caching where possible.

The scripts are not re-downloaded every time you view a page, and there is no need to add any bcache, maxage or smaxage parameters to MediaWiki urls, these do not improve performance anymore. Performance is our default, as much as possible.

Jun 19 2023, 9:17 PM · Performance-Team (Radar), WMF-General-or-Unknown

Jun 16 2023

Nux added a comment to T339321: Vector-2022: language selector doesn't work without JS (IE, Windows XP).

Note that on Village pump someone mentioned that the i18n menu doesn't work in Opera GX so that is kind of weird. I don't have that one but I tested with IE on Windows 10 (via Edge).

Jun 16 2023, 6:19 PM · MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Web-Team-Backlog (Web Team FY2022-23 Q4 Sprint 6), Regression, Language-Team, Desktop Improvements (Vector 2022), UniversalLanguageSelector
Nux created T339321: Vector-2022: language selector doesn't work without JS (IE, Windows XP).
Jun 16 2023, 2:31 AM · MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Web-Team-Backlog (Web Team FY2022-23 Q4 Sprint 6), Regression, Language-Team, Desktop Improvements (Vector 2022), UniversalLanguageSelector

Jun 15 2023

Nux added a comment to T212585: Citoid should load citation data from local authorities sources.

There is a green light from Zotero devs and the Polish National Library is now available:
https://github.com/zotero/translators/pull/3036

Jun 15 2023, 11:18 AM · Citoid

Jun 9 2023

Nux added a comment to T265981: Provide an API to hook into new reply editor.

As I understand below would work, but AFAIK was not merged:

Jun 9 2023, 4:35 PM · Editing-team, Russian-Sites, DiscussionTools
Nux added a comment to T265981: Provide an API to hook into new reply editor.

@Esanders That is helpful for other stuff... but none of that works for discussion tools.

Jun 9 2023, 4:21 PM · Editing-team, Russian-Sites, DiscussionTools

Jun 6 2023

Nux added a comment to T337121: Grant Access to nda for eccenux.

@KFrancis I sent you an email. Please let me know if it didn't arrive or something else would be needed.

Jun 6 2023, 11:04 PM · LDAP-Access-Requests, SRE

Jun 5 2023

Nux added a comment to T287936: CX2: <cite class="citation web cs1" data-ve-ignore="true">.

I've confirmed the steps above break refs.

Jun 5 2023, 9:27 PM · ContentTranslation
Nux added a comment to T287936: CX2: <cite class="citation web cs1" data-ve-ignore="true">.

This is still a regular thing. I think this might be happening for all named refs when the first ref doesn't have cite-body.

Jun 5 2023, 9:21 PM · ContentTranslation

May 22 2023

Nux added a comment to T337121: Grant Access to nda for eccenux.

Sent an e-mail signed with my PGP, fingerprint: 86C84A9B865FDD51FCFB12D2EE3F8013A0DD3792.

May 22 2023, 9:11 PM · LDAP-Access-Requests, SRE

May 20 2023

Nux added a comment to T337121: Grant Access to nda for eccenux.

analytics-privatedata-users is the wrong group and SRE-Access-Requests is the wrong workflow here. What you want for (especially client) log access is Logstash access which can be received via the nda LDAP group which is required via LDAP-Access-Requests.

May 20 2023, 8:52 PM · LDAP-Access-Requests, SRE
Nux renamed T337121: Grant Access to nda for eccenux from Requesting access to JS moniring for eccenux to Grant Access to nda for eccenux.
May 20 2023, 8:50 PM · LDAP-Access-Requests, SRE
Nux added a comment to T336297: Decommission ISBN requests via WorldCat.

Did you consider using LoC or some other national library?

Most if not all big libraries should support OAI-PMH. OAI can be used as a dump (kind of) to get all book descriptions and keep them on some Wikimedia server.

Most big libraries have some API which you could use directly to search for ISBN. Many probably use Z39.50 which is not very friendly, but doable for ISBN searches. Polish national library (BN) also has a custom API that support JSON, XML and MARC (but it is a custom API, so probably better for a local tool or gadget then a global search service).

Thanks for your suggestion! For the time being we have have enabled Zotero's ISBN endpoint internally which primarily uses Library of Congress (T336727)

With Zotero it would be possible to support other national libraries in addition by contributing a translator for them here: https://github.com/zotero/translators

May 20 2023, 4:18 PM · Patch-For-Review, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), VisualEditor, API Platform, Citoid
Nux created T337121: Grant Access to nda for eccenux.
May 20 2023, 12:57 PM · LDAP-Access-Requests, SRE

May 19 2023

Nux added a comment to T336952: Wikibase\DataModel\Services\Lookup\ReferencedEntityIdLookupException: Referenced entity id lookup failed. Tried to find a referenced entity out of Q16334295 linked from Q13406463 via P279.

[...]
I also narrowed down the problem.

Please note that you will not be able to edit or view the test page until you disable the Lua module (e.g. change the name of the main function).

May 19 2023, 11:13 AM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Wikidata, MediaWiki-General, [DEPRECATED] wdwb-tech, Wikimedia-production-error

May 18 2023

Nux added a comment to T336952: Wikibase\DataModel\Services\Lookup\ReferencedEntityIdLookupException: Referenced entity id lookup failed. Tried to find a referenced entity out of Q16334295 linked from Q13406463 via P279.

You may have seen my tests. I've re-enabled the KA template (the Lua call) for a while and it's a very popular template. I've disable the Lua call for now, but please note that it doesn't solve the problem.

May 18 2023, 11:27 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Wikidata, MediaWiki-General, [DEPRECATED] wdwb-tech, Wikimedia-production-error