Page MenuHomePhabricator
Feed Advanced Search

Mon, Apr 8

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

Mon, Apr 8, 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

Sat, Apr 6

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

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

Mon, Apr 1

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 [:

Mon, Apr 1, 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

Wed, Mar 20

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

I should mention is that what I would 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).

Wed, Mar 20, 5:52 PM · Web-Team-Backlog (FY2023-24 Q4 Sprint 2), 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.

Wed, Mar 20, 5:49 PM · Web-Team-Backlog (FY2023-24 Q4 Sprint 2), 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 · 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, MediaWiki-File-management, Commons, 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, MediaWiki-File-management, Commons, 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, MediaWiki-File-management, Commons, 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
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 · 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-Q3-Q4), 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-Q3-Q4), 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