(Go: >> BACK << -|- >> HOME <<)

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 (504 w, 1 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, 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

Thu, May 23

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

Thu, May 23, 8:20 AM · Page Content Service
Nux updated the task description for T365670: Render small templates in previews.
Thu, May 23, 8:04 AM · Page Content Service
Nux created T365670: Render small templates in previews.
Thu, May 23, 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 · 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

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 · task-needs-improvement, MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), 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 · task-needs-improvement, MW-1.43-notes (1.43.0-wmf.8; 2024-06-04), 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 · Patch-For-Review, User-notice, 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