Page MenuHomePhabricator

Nux (Maciej Jaros)
Volunteer dev

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Oct 13 2014, 5:14 PM (506 w, 12 h)
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

Sun, Jun 23

Nux claimed T367645: The background of some SVG maps is not rendered.

I see no interest so I'll go ahead with my changes in other states.

Sun, Jun 23, 6:12 PM · User-notice, Wikimedia-SVG-rendering

Fri, Jun 21

Nux added a comment to T367645: The background of some SVG maps is not rendered.

P.S. If you intend to use my code for uploading files, please send me a quick message on Commons. This will help us coordinate better and speed up our collective efforts for the greater good 😉. Thanks! 😊

Fri, Jun 21, 12:50 AM · User-notice, Wikimedia-SVG-rendering
Nux added a comment to T367645: The background of some SVG maps is not rendered.

Also, is there any documentation (or discussion) onwiki about the specific kinds of syntax errors that are most commonly involved, so that editors could perhaps have tips in mind for what to look for? Or any kind of similar helpful tips.

Fri, Jun 21, 12:43 AM · User-notice, Wikimedia-SVG-rendering
Nux added a comment to T367645: The background of some SVG maps is not rendered.

I already have a bot here: https://github.com/Eccenux/mass-map-USA-county

Fri, Jun 21, 12:24 AM · User-notice, Wikimedia-SVG-rendering

Thu, Jun 20

Nux closed T345478: Alpha Wikipedia installation for developers and testers as Invalid.

I no longer think this is a good idea. Patchdemo is probably enough :)

Thu, Jun 20, 8:32 PM · WMF-General-or-Unknown, Developer Productivity

Tue, Jun 18

Nux updated the task description for T367689: Bug in autoload generator.
Tue, Jun 18, 5:01 PM · MediaWiki-Maintenance-system
Nux added a comment to T367689: Bug in autoload generator.

@Aklapper yes, MediaWiki core maintenance script.

Tue, Jun 18, 4:50 PM · MediaWiki-Maintenance-system
Nux added a comment to T367645: The background of some SVG maps is not rendered.

Yeah this is probably true for all those county maps of USA. Seems like a one person did an initial version of them. All with similar clip path. So far I've done NY and Alabama. Alaska was a bit more tricky (not really counties, different names)... I guess I might start with the easy ones so that I get more done sooner.

Tue, Jun 18, 12:16 AM · User-notice, Wikimedia-SVG-rendering

Mon, Jun 17

Nux added a comment to T337286: Gadget API for adding buttons to section titles.

@Skalman Seems like what you need is an ability to pass a matcher function.

var h2 = mw.util.querySection( (s)=>s.level == 2 && s.heading.textContent.startsWith("Svenska") ); // first match wins (as with querySelector)
var h3s = mw.util.querySectionAll( (h)=>s.level == 3 && s.parent.heading == h2 ); // all matches

Result could be an array for easier manipulation with .map() and .filter(). Don't think this API should be using jQuery as a resulting array.

Mon, Jun 17, 8:59 AM · Web-Team-Backlog (Needs Prioritization (Tech)), Essential-Work, Web Team Essential Work 2024, Content-Transform-Team, MediaWiki-Core-Skin-Architecture
Nux created T367689: Bug in autoload generator.
Mon, Jun 17, 7:56 AM · MediaWiki-Maintenance-system

Sat, Jun 15

Nux added a comment to T334372: Add support for inline SVG.

This is the last demo with SVG enabled by default:
https://patchdemo.wmflabs.org/wikis/604876b5e5/wiki/Main_Page

Sat, Jun 15, 3:53 PM · Patch-For-Review, Wikimedia-Hackathon-2024, MediaWiki-Parser

Fri, Jun 14

Nux added a comment to T334372: Add support for inline SVG.

I think the PoC is cleaned up and ready to go.
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1043323

Fri, Jun 14, 11:25 PM · Patch-For-Review, Wikimedia-Hackathon-2024, MediaWiki-Parser

Thu, Jun 13

Nux added a comment to T334372: Add support for inline SVG.

There is one weird issue: the SVG disappears when not modified (you edit with VE; modify 1 of 2 SVG; check diff). So I guess some change in the VE configuration or something extra might be needed.
Embedded SVG editing in VisualEditor bug?

Thu, Jun 13, 10:25 PM · Patch-For-Review, Wikimedia-Hackathon-2024, MediaWiki-Parser
Nux added a comment to T334372: Add support for inline SVG.

Sorry about the noise... 🙈 Finally got this right though. BTW. @SD0001 I think you have a typo in your rendering of attributes ;)

Thu, Jun 13, 9:50 PM · Patch-For-Review, Wikimedia-Hackathon-2024, MediaWiki-Parser
Nux updated the task description for T367453: Autocomplete highlighting does not actually highlight matched text.
Thu, Jun 13, 5:54 PM · Codex, Design-System-Team
Nux created T367453: Autocomplete highlighting does not actually highlight matched text.
Thu, Jun 13, 5:48 PM · Codex, Design-System-Team

Tue, Jun 4

Nux added a comment to T366517: Newly added default gadget not loaded for anon users for days while migrating away from Common.css and Mobile.css.

Gadgets depend on user preferences (even if a module is default, you can still disable it). So either you have a URL which is the same for everyone but the CSS/JS it returns depends on user preferences (meaning it cannot be cached), or you have a URL which changes when the CSS/JS changes, but then that URL has to come from somehwere, so you need to put it in the HTML in form, and then it's the HTML you cannot cache (or need to invalidate all the time). Either of those would be significantly bigger problems than having to be careful when deploying new default gadgets.

Tue, Jun 4, 10:00 PM · Traffic
Nux added a comment to T366517: Newly added default gadget not loaded for anon users for days while migrating away from Common.css and Mobile.css.

So the issue is that you have newly added the "infobox" gadget (in the sense of making it default) and edited Mobile.css (etc), and changing the list of RL modules to be loaded for a page and changing the contents of an RL module are different actions with different caching behavior (since the module list needs to be included in the page HTML while the contents of a module doesn't)? I doubt much can, or should, be done about that. Invalidating caches is expensive; you can't invalidate every page when you make a CSS/JS change, and you don't want to delay all CSS/JS changes until the cache expires.

Given that duplicate CSS rules are mostly harmless, I think the solution here is just to restore the old CSS rules temporarily.

Tue, Jun 4, 9:42 AM · Traffic

Mon, Jun 3

Nux added a comment to T366517: Newly added default gadget not loaded for anon users for days while migrating away from Common.css and Mobile.css.

Thanks Func. Yes, I removed infobox styles both from mobile CSS (Mobile.css) and desktop CSS (Common.css). The problem was last reported 4 days after adding the default gadget when the styles were removed from Mobile.css and Common.css.

Mon, Jun 3, 11:53 PM · Traffic
Nux added a comment to T362747: [regression] Minerva: Cached HTML are not getting the responsive infobox styles.

for templates used even in 30% of page views, it's better to keep them as template styles instead

Mon, Jun 3, 9:54 PM · Regression, Web-Team-Backlog (FY2023-24 Q4 Sprint 1), FY2023-24-WE 2.1 Typography and palette customizations, MinervaNeue
Nux added a comment to T366517: Newly added default gadget not loaded for anon users for days while migrating away from Common.css and Mobile.css.

Yeah, I already heard in T362747 that it's probably 7 days, but might be up to 14 days (maybe).

Mon, Jun 3, 7:39 PM · Traffic
Nux added a comment to T362747: [regression] Minerva: Cached HTML are not getting the responsive infobox styles.

@Nux was what deployed ? What gadget? Specifics would be helpful here :-)

Mon, Jun 3, 6:53 PM · Regression, Web-Team-Backlog (FY2023-24 Q4 Sprint 1), FY2023-24-WE 2.1 Typography and palette customizations, MinervaNeue
Nux created T366517: Newly added default gadget not loaded for anon users for days while migrating away from Common.css and Mobile.css.
Mon, Jun 3, 6:11 PM · Traffic
Nux added a comment to T362747: [regression] Minerva: Cached HTML are not getting the responsive infobox styles.

Was this deployed? After 4 days of moving desktop and mobile CSS to a default gadget we still get reports that some pages don't get CSS from the new gadget.
https://pl.m.wikipedia.org/wiki/Wikipedia:Kawiarenka/Kwestie_techniczne?markasread=28372271&markasreadwiki=plwiki

Mon, Jun 3, 9:54 AM · Regression, Web-Team-Backlog (FY2023-24 Q4 Sprint 1), FY2023-24-WE 2.1 Typography and palette customizations, MinervaNeue

Fri, May 31

Nux closed T366345: Disable MW responsive infobox styles on pl.wikipedia as Resolved.

Thanks! And thanks for the warning too :-)

Fri, May 31, 11:19 AM · Local-Wiki-Template-And-Gadget-Issues
Nux added a comment to T366345: Disable MW responsive infobox styles on pl.wikipedia.

An example article (notice how borders are not collapsing)

Fri, May 31, 10:01 AM · Local-Wiki-Template-And-Gadget-Issues
Nux created T366345: Disable MW responsive infobox styles on pl.wikipedia.
Fri, May 31, 9:48 AM · Local-Wiki-Template-And-Gadget-Issues

Tue, May 28

Nux created T366053: Option to block using vendor css prefixes in user signatures.
Tue, May 28, 10:45 AM · MediaWiki-Parser
Nux created T366049: Option to block adding too long user signatures.
Tue, May 28, 10:35 AM · MediaWiki-Parser

May 23 2024

Nux added a comment to T365670: Render small templates in previews.

User reporting this as a bug:
https://pl.wikipedia.org/w/index.php?title=Wikipedia:Kawiarenka/Kwestie_techniczne&oldid=73830997#Nieprawid%C5%82owe_wy%C5%9Bwietlanie_symboli_IPA_w_pop-upie_nawigacyjnym

May 23 2024, 8:20 AM · Page Content Service
Nux updated the task description for T365670: Render small templates in previews.
May 23 2024, 8:04 AM · Page Content Service
Nux created T365670: Render small templates in previews.
May 23 2024, 8:03 AM · Page Content Service

Apr 21 2024

Nux added a comment to T334372: Add support for inline SVG.

I don’t imagine these advanced things being used much. While the third option would be by far the most powerful, I don’t it would be by far the most useful.

Apr 21 2024, 5:57 PM · Patch-For-Review, Wikimedia-Hackathon-2024, MediaWiki-Parser

Apr 18 2024

Nux added a comment to T362855: remove requiresES6 from most code.

Now that 1) ES6 is the Grade A JavaScript requirement for MediaWiki and 2) the validator now supports ES6 (T75714), this means we no longer need the "requiresES6" flag for the gadgets extension, correct?

Apr 18 2024, 3:06 PM · MediaWiki-extensions-Gadgets

Apr 8 2024

Nux added a comment to T358743: Mobile rejections (wpReject) doesn't work.

Confirmed to work on patchdemo :-)
https://patchdemo.wmflabs.org/wikis/745f82bb2b/w/index.php?title=1886_in_Chile&oldid=154&diff=cur

Apr 8 2024, 10:59 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, MediaWiki-extensions-FlaggedRevs, MediaWiki-Page-diffs, MobileFrontend

Apr 6 2024

Nux added a comment to T361930: Support splitting gadget definitions over multiple lines.

Not ideal but there is a gadget that at least adds whitespace:

// [[MediaWiki:Gadgets-definition]] formatter (links and stuff)
if (mw.config.get("wgCanonicalNamespace") == "MediaWiki"
	&& mw.config.get("wgTitle") === "Gadgets-definition"
	&& document.querySelector(".mw-parser-output")
)
{
	mw.loader.load("https://meta.wikimedia.org/w/index.php?title=User:Nux/gadgets-definition-ux.js&action=raw&ctype=text/javascript");
}

You can add this in:
https://meta.wikimedia.org/wiki/Special:MyPage/global.js
and it will fix scrolling on:
https://commons.wikimedia.org/wiki/MediaWiki:Gadgets-definition

Apr 6 2024, 1:16 AM · MediaWiki-extensions-Gadgets

Apr 1 2024

Nux added a comment to T360683: How should Template:Color work in night mode?.

I'm with Izno on that (especially with point 1). That particular template feels like even/odd modules in npm [:

Apr 1 2024, 6:14 PM · Wikimedia-Hackathon-2024, Web-Team-Backlog (Needs Prioritization (Tech)), Local-Wiki-Template-And-Gadget-Issues, FY2023-24-WE 2.1 Typography and palette customizations

Mar 20 2024

Nux added a comment to T337286: Gadget API for adding buttons to section titles.

I should mention that what I would actually love to have is <section> or any kind of parent/wrapper of the elements in the section. That would make many such things as nominations easier (del requests, good article, dyk article etc).

Mar 20 2024, 5:52 PM · Web-Team-Backlog (Needs Prioritization (Tech)), Essential-Work, Web Team Essential Work 2024, Content-Transform-Team, MediaWiki-Core-Skin-Architecture
Nux added a comment to T337286: Gadget API for adding buttons to section titles.

Hi. I specifically moved buttons away from section headers recently and into a template we can control locally (on wiki). This has drawbacks -- I needed to add section names to the template... but also again something we can control locally, not something that might change with a skin or MW update.

Mar 20 2024, 5:49 PM · Web-Team-Backlog (Needs Prioritization (Tech)), Essential-Work, Web Team Essential Work 2024, Content-Transform-Team, MediaWiki-Core-Skin-Architecture

Mar 14 2024

Nux updated the task description for T360085: OOUI confirm dialog doesn't work with a ProcessDialog.
Mar 14 2024, 1:24 AM · OOUI
Nux created T360085: OOUI confirm dialog doesn't work with a ProcessDialog.
Mar 14 2024, 1:19 AM · OOUI

Mar 9 2024

Nux added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

it has become clear that there isn’t a safe shortcut here and that the path forward will require a substantial investment – one that we have not yet started given the other priorities we’ve been working on.

Am I reading this right? A year after a major feature was broken they haven’t even started working on it?

Mar 9 2024, 12:19 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

Mar 1 2024

Nux created T358839: logo is covered by search bar on mobile .
Mar 1 2024, 8:46 AM · Wikimedia-Portals, Regression, Web-Team-Backlog

Feb 29 2024

Nux added a comment to T357197: Allow ES8 (ES2017) code in gadgets.

It's not that simple I'm afraid. To diverge browser support in Gadgets from the rest of MediaWiki in this way you'd need customisation for mw.loader, for startup.js,

No customisation is required when gadgets are in a separate group. If any of them contain an ES8 feature which is not supported in the browser, the bundle doesn't work – which at the maximum can only cause other gadgets to not load, which seems like a reasonable tradeoff considering that no one so far has brought up a single example of a Grade A browser that doesn't support ES8. Even if one exists, gadgets are optional enhancements without which the site still works. Quoting from the frontend best practises: "Embrace that every page starts with basic HTML and CSS, and that JavaScript adds optional layers that may or may not arrive. Its eventual arrival depends on numerous factors, and may vary over time even for the same person"

Feb 29 2024, 10:15 AM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets
Nux updated the task description for T358743: Mobile rejections (wpReject) doesn't work.
Feb 29 2024, 8:59 AM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, MediaWiki-extensions-FlaggedRevs, MediaWiki-Page-diffs, MobileFrontend
Nux created T358743: Mobile rejections (wpReject) doesn't work.
Feb 29 2024, 8:58 AM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), Patch-For-Review, MediaWiki-extensions-FlaggedRevs, MediaWiki-Page-diffs, MobileFrontend

Feb 25 2024

Nux awarded T354023: Remove Gadget namespace (at least from search) a Party Time token.
Feb 25 2024, 10:47 PM · MediaWiki-extensions-Gadgets
Nux added a comment to T358438: Commons SVG renders misplaced text.

Fixed by moving style out of text element, so there seem to be some problem with the render possibly related to style cascade.

Feb 25 2024, 5:13 PM · Wikimedia-SVG-rendering

Feb 13 2024

Nux added a comment to T357197: Allow ES8 (ES2017) code in gadgets.

As someone who spent years maintaining user scripts and gadget on en.wp and providing support for users on WP:VP/T..... There is some truth to that, but I'd argue that a significant amount of the userscripts and gadgets are continuously broken. They cause issues for people where their javascript sometimes doesn't load. They cause errors to show up in the WMF logging.

Feb 13 2024, 1:00 AM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets

Feb 10 2024

Nux added a comment to T357197: Allow ES8 (ES2017) code in gadgets.

[…] I've tested building my DYK tool with Babel. The build is significantly slower. […]

This is an excellent argument against such build step! We generally don't use one for MediaWiki. Do you still need it? For many devs, they mainly did this in ~2013 as a way to get "Package files" and ES6 syntax. These are supported natively now. Build tools now mostly a left-over trend from the 2010s era of frontend development, involving needless complexity for largely unproven and misunderstood benefits.

Feb 10 2024, 11:45 PM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets
Nux added a comment to T357197: Allow ES8 (ES2017) code in gadgets.

I just want to add a few things to those already quoted by @SD0001 (thanks).

Feb 10 2024, 1:40 PM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets

Feb 9 2024

Nux added a comment to T277675: Add native support for ES2016-ES2020 or higher versions.

@Nux Standardisation is not in question. Unlike new Web APIs (such as fetch), which can be polyfilled, or used via a conditional "if" statement, new syntax, if allowed even once, immediately breaks all code in many browsers that we still support. You can complain to upstream TC39 for having introducing features in ES2017 in a way that is backwards-incompatible. When MediaWiki raises its minimum requirement to ES8/ES2017, we will on the same day, raise the ESLint and site script validator to also allow this syntax.

Feb 9 2024, 8:31 PM · MediaWiki-Platform-Team, Wikimedia-Minify, JavaScript, MediaWiki-ResourceLoader
Nux added a comment to T350181: Enable desktop diff page on mobile site.

Diff colors: see T90948: Identify the best diff style (mobile or desktop) and use it on both mobile and desktop, which has related links and rationale for why blue and yellow exist. The short answer is red-green color blindness, especially in the context of inline diffs. That task has already been linked here and is the correct place to discuss further if at all.

Feb 9 2024, 12:16 PM · Wikimedia-Site-requests, Web-Team-Backlog (Needs Prioritization (Tech)), User-Jdlrobson, MobileFrontend (MobileFrontend Special Pages), Technical-Debt (RW-Tech-Debt)
Nux added a comment to T90948: Identify the best diff style (mobile or desktop) and use it on both mobile and desktop.

Hi. I was forwarded here from another task :). I did a colour change for myself as I had problems remembering on mobile which colour is which. Changing to red-green helped with that.

Feb 9 2024, 12:31 AM · MediaWiki-Page-diffs, MobileFrontend (MobileFrontend Special Pages), Patch-For-Review, Moderator-Tools-Team, Editing-team, Design, Accessibility

Feb 8 2024

Nux added a comment to T350181: Enable desktop diff page on mobile site.

Sorry, I forgot I have a much smaller request. Could you flip the legend in HTML? I think "removed" belongs on the left side, and this is where inline diff puts "removed".

Feb 8 2024, 8:29 PM · Wikimedia-Site-requests, Web-Team-Backlog (Needs Prioritization (Tech)), User-Jdlrobson, MobileFrontend (MobileFrontend Special Pages), Technical-Debt (RW-Tech-Debt)
Nux added a comment to T350181: Enable desktop diff page on mobile site.

I was hoping I wasn't too late to make all of them red-green (so changing mobile/wikitext, not VE)... I think I agree with Sam here:

Feb 8 2024, 8:21 PM · Wikimedia-Site-requests, Web-Team-Backlog (Needs Prioritization (Tech)), User-Jdlrobson, MobileFrontend (MobileFrontend Special Pages), Technical-Debt (RW-Tech-Debt)
Nux added a comment to T277675: Add native support for ES2016-ES2020 or higher versions.

There are no plans currently to raise browser requirements to ES8/ES2017 or ES2020 etc. Not likely until browser engines, browser vendors/apps, audience usage thereof catch up.

Feb 8 2024, 7:00 PM · MediaWiki-Platform-Team, Wikimedia-Minify, JavaScript, MediaWiki-ResourceLoader

Feb 2 2024

Nux added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

@Nux, just to say, there is ongoing work in T222807.

Somehow they managed to implement the sandbox even without a separate domain. Although, if I understand correctly, this allows to make /api.php calls (non-authenticated, ofc).
...

Feb 2 2024, 10:58 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

Jan 30 2024

Nux added a comment to T350181: Enable desktop diff page on mobile site.

Just BTW, but it is weird that visual is red-green and wikitext (inline) diff is yellow-blue. Shouldn't they both be red-green?

Jan 30 2024, 10:39 PM · Wikimedia-Site-requests, Web-Team-Backlog (Needs Prioritization (Tech)), User-Jdlrobson, MobileFrontend (MobileFrontend Special Pages), Technical-Debt (RW-Tech-Debt)

Jan 29 2024

Nux added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

In T334940#9480339, @TheDJ wrote:
Separate domain to serve iframes from, so that we can have interactive and cacheable content (pretty complex)

Jan 29 2024, 3:20 AM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

Jan 20 2024

Nux created T355478: The pattern is not working for mass delete (Nuke).
Jan 20 2024, 4:49 PM · Moderator-Tools-Team, MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Patch-For-Review, Regression, MediaWiki-extensions-Nuke

Jan 14 2024

Nux added a comment to T178356: Raise Grade A JavaScript requirement from ES5 (2009) to ES6 (2015).

(ES2018) for await - Firefox 58+, Safari 11.1+, Chrome 63+, Opera 50+, Edge 18+

For the record: This is incorrect. Both async and await comes with ES2017/ES8. See e.g.: https://flaviocopes.com/es2017/#async-functions and also https://262.ecma-international.org/8.0/

It's not incorrect. for await is for asynchronous iteration which appeared only in ES2018. https://caniuse.com/?search=for%20await

Jan 14 2024, 2:03 PM · MediaWiki-Platform-Team, User-notice-archive, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Front-end Modernization, MW-1.38-notes (1.38.0-wmf.2; 2021-09-28), Browser-Support-Internet-Explorer, Performance-Team, JavaScript, MediaWiki-ResourceLoader
Restricted Application added a project to T178356: Raise Grade A JavaScript requirement from ES5 (2009) to ES6 (2015): MediaWiki-Platform-Team.

(ES2018) for await - Firefox 58+, Safari 11.1+, Chrome 63+, Opera 50+, Edge 18+

Jan 14 2024, 12:48 PM · MediaWiki-Platform-Team, User-notice-archive, MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Front-end Modernization, MW-1.38-notes (1.38.0-wmf.2; 2021-09-28), Browser-Support-Internet-Explorer, Performance-Team, JavaScript, MediaWiki-ResourceLoader
Nux added a comment to T75714: Update JavaScript syntax checker for gadgets and user-scripts for ES6 and later.

Note that async allows you to do much, much more readable code. E.g. by using await in HTML dialogs:
https://github.com/Eccenux/wiki-DYKCzyWiesz/blob/59d3b9ed4d93b6c42a59a9e7ce85b327d4bd9d64/src/DoneHandling.js#L80

Jan 14 2024, 2:55 AM · User-notice-archive, MW-1.42-notes (1.42.0-wmf.13; 2024-01-09 ), Patch-For-Review, MediaWiki-Platform-Team, Design-System-Team, MediaWiki-ResourceLoader
Nux added a comment to T75714: Update JavaScript syntax checker for gadgets and user-scripts for ES6 and later.

I did not mean to argue that using requiresES6 for ES8+ should be supported, only that if that parameter is dropped or people are directed to remove it, Tech News should make it clear that that isn't a no-op change. I don't think it's that unlikely that someone did use for ES8+ code, either because they did not realize the code is ES8+, or because they didn't know requiresES6 means "ES6 and ES7 but not ES8". If a gadget breaking is the gadget developer's fault, it is still helpful to point them to the cause of the breakage.

Jan 14 2024, 2:47 AM · User-notice-archive, MW-1.42-notes (1.42.0-wmf.13; 2024-01-09 ), Patch-For-Review, MediaWiki-Platform-Team, Design-System-Team, MediaWiki-ResourceLoader

Jan 8 2024

Nux awarded T75714: Update JavaScript syntax checker for gadgets and user-scripts for ES6 and later a Party Time token.
Jan 8 2024, 7:58 PM · User-notice-archive, MW-1.42-notes (1.42.0-wmf.13; 2024-01-09 ), Patch-For-Review, MediaWiki-Platform-Team, Design-System-Team, MediaWiki-ResourceLoader

Jan 4 2024

Nux added a comment to T354385: Some Gadgets are broken after 1.42.0-wmf.12 update with incorrect error message.

You need to change comments moving them out of list items. https://ar.wikipedia.org/w/index.php?title=%D9%85%D9%8A%D8%AF%D9%8A%D8%A7%D9%88%D9%8A%D9%83%D9%8A:Gadgets-definition&action=edit

Jan 4 2024, 10:19 PM · MediaWiki-Platform-Team, MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), Wikimedia-production-error, MediaWiki-extensions-Gadgets

Dec 27 2023

Nux added a comment to T354023: Remove Gadget namespace (at least from search).

Oh, so all of that leads to an article. I assumed it was for a script :)... So that is not blocking removal of the Gadget namespace from enwiki too.

Dec 27 2023, 3:47 AM · MediaWiki-extensions-Gadgets

Dec 26 2023

Nux created T354023: Remove Gadget namespace (at least from search).
Dec 26 2023, 6:50 PM · MediaWiki-extensions-Gadgets

Dec 11 2023

Nux created T353203: Wikisource PDF export fails with No space left on device.
Dec 11 2023, 10:06 PM · Community-Tech, WS Export

Nov 28 2023

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

Nov 25 2023

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 ?

Nov 25 2023, 6:26 PM · MW-1.42-notes (1.42.0-wmf.22; 2024-03-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...

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

Nov 20 2023

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.

Nov 20 2023, 9:22 PM · MW-1.42-notes (1.42.0-wmf.22; 2024-03-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...).

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

Nov 10 2023

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)

Nov 10 2023, 7:20 PM · css-sanitizer, TemplateStyles
Nux updated the task description for T324526: Support CSS clamp in templateStyles.
Nov 10 2023, 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.

Nov 10 2023, 6:52 PM · Toolhub
MartinK awarded T324526: Support CSS clamp in templateStyles a Burninate token.
Nov 10 2023, 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 · User-notice-archive, MW-1.42-notes (1.42.0-wmf.12; 2024-01-02), 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 · MediaWiki CodeJam Dec 2023, 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-archive
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 · User-notice-archive, MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, 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 · User-notice-archive, MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), Patch-For-Review, 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