Page MenuHomePhabricator
Feed Advanced Search

Jul 18 2023

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

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

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

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

Jul 18 2023, 7:20 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets

Jul 1 2023

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

Something you can use for things like popups:

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

Jun 30 2023

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

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

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

Jun 29 2023

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

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

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

Jun 28 2023

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

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

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

So to be clear this will cause a bug:

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

This will be fine:

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

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

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

Jun 27 2023

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

Jun 26 2023

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

Jun 23 2023

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

Jun 21 2023

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

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

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

There are too many files-added events.

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

Reproduction with images.

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

More detailed steps to reproduce:

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

Jun 19 2023

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

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

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

Jun 16 2023

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

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

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

Jun 15 2023

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

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

Jun 15 2023, 11:18 AM · Citoid

Jun 9 2023

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

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

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

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

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

Jun 6 2023

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

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

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

Jun 5 2023

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

I've confirmed the steps above break refs.

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

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

Jun 5 2023, 9:21 PM · ContentTranslation

May 22 2023

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

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

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

May 20 2023

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

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

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

Did you consider using LoC or some other national library?

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

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

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

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

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

May 19 2023

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

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

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

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

May 18 2023

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

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

May 18 2023, 11:27 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Wikidata, [DEPRECATED] wdwb-tech, MediaWiki-General, Wikimedia-production-error
Nux added a comment to T330215: 1.41.0-wmf.9 deployment blockers.

Not sure if related but I see WD is on 1.41.0-wmf.9 (bacc43a)
https://www.wikidata.org/wiki/Special:Version

May 18 2023, 8:47 PM · User-brennen, Patch-For-Review, Release-Engineering-Team (They Live 🕶️🧟), Release, Train Deployments
Nux added a comment to T336952: Wikibase\DataModel\Services\Lookup\ReferencedEntityIdLookupException: Referenced entity id lookup failed. Tried to find a referenced entity out of Q16334295 linked from Q13406463 via P279.

This "fixed" the article:
https://pl.wikipedia.org/w/index.php?title=Szablon:Kontrola_autorytatywna&diff=cur&oldid=prev

May 18 2023, 5:40 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Wikidata, [DEPRECATED] wdwb-tech, MediaWiki-General, Wikimedia-production-error
Nux added a comment to T336952: Wikibase\DataModel\Services\Lookup\ReferencedEntityIdLookupException: Referenced entity id lookup failed. Tried to find a referenced entity out of Q16334295 linked from Q13406463 via P279.

Authority control brakes the articles as soon as Wikidata element is conected to the article.

May 18 2023, 5:36 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), Wikidata, [DEPRECATED] wdwb-tech, MediaWiki-General, Wikimedia-production-error
Nux added a comment to T336952: Wikibase\DataModel\Services\Lookup\ReferencedEntityIdLookupException: Referenced entity id lookup failed. Tried to find a referenced entity out of Q16334295 linked from Q13406463 via P279.

View doesn't work (after purge also doesn't work for anons).
Diffs don't work.
Edit doesn't work (even code).

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

May 15 2023

Nux created T336707: Enable language button in main page header (plwiki).
May 15 2023, 10:09 PM · Web-Team-Backlog, Wikimedia-Site-requests, Desktop Improvements (Vector 2022)
Nux added a comment to T336298: User notice for no ISBN support in Citoid.
In T336298#8849499, @EpicPupper wrote:

Stupid question. Is the Open Library API https://openlibrary.org/dev/docs/api/books a usable alternative? In particular ISBN via the .json format?

I presume that Open Library is not as comprehensive (it's the same as any other downstream collection like Google Books, it doesn't contain all possible ISBNs).

May 15 2023, 8:25 PM · User-notice-archive, Tech Ambassadors & Translators, MoveComms-Support (Apr-Jun-2023), Citoid, Editing-team

May 14 2023

Nux added a comment to T336595: Restrict editing of Vega spec to a small set of users.

@Nux can https://www.mediawiki.org/wiki/Template:Graph:PageViews be replaced with the Timeline on something other? It is very high use case in ruwiki, pageviews graphs on talk pages.

May 14 2023, 6:14 PM · Security, MediaWiki-extensions-Graph

May 13 2023

Nux added a comment to T336595: Restrict editing of Vega spec to a small set of users.

There are two potential replacements for wikis. I just replaced graphs in some demographic articles on plwiki. Maybe this will help some other wiki.

May 13 2023, 12:10 PM · Security, MediaWiki-extensions-Graph

May 12 2023

Nux added a comment to T336595: Restrict editing of Vega spec to a small set of users.

And maybe some tools to sanitize user input form parameters (e.g. disallow characters that would break strings). Maybe some Lua utils?

May 12 2023, 7:48 PM · Security, MediaWiki-extensions-Graph
Nux added a comment to T334940: All Graphs broken on Wikimedia wikis (due to security issue T336556).

Question/propsal: Due to T336595 sounding much like July (or worse)... Would it be possible to add some possibility to migrate existing charts in the meantime? For example, generate JSON of a given chart and show it in the HTML comment in the place where the chart was supposed to be displayed. So you could copy that spec, see what the graph looks like (offsite), and make an SVG, PNG, or some other substitution.

May 12 2023, 7:37 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

May 11 2023

Nux added a comment to T288287: Remove IE11 from Basic support ("Grade C").

For no-JS icons inside buttons, we implemented a Less mixin that applies the icon SVG as a mask-image. This allows us to dynamically change the color of the icon when the user interacts with the button by changing the background-color, keeping it in sync with the text color. For browsers that do not support mask-image (e.g. Firefox < 53), we simply apply a black or white background-image depending on which has better contrast.

May 11 2023, 11:38 PM · Design-System-Team, MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Front-end Modernization, CSS, MediaWiki-General, MediaWiki-extensions-General, Browser-Support-Internet-Explorer
Nux added a comment to T336297: Decommission ISBN requests via WorldCat.

Did you consider using LoC or some other national library?

May 11 2023, 11:08 PM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), VisualEditor, API Platform, Citoid
Nux added a comment to T307316: [ToC] Enumeration of sections in the new ToC (numbers for ToC items).

@Jules78120 Stylus CSS seem to be more stable if you want:
https://userstyles.world/style/5790/wikipedia-toc-tweaks

May 11 2023, 7:37 PM · Desktop Improvements (Vector 2022)

May 10 2023

Nux closed T319698: Migrate dna from Toolforge GridEngine to Toolforge Kubernetes as Resolved.

Sorry, was my project the last one on old grid? 🙈 I got an e-mail, but I was sure I've done this ages ago. The problem was a job in my crontab (not the whole project as the email suggested, hence my confusion)... Sorry about the delay.

May 10 2023, 8:22 PM · Grid-Engine-to-K8s-Migration

May 9 2023

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

Will this be supported? I don't see any protocols mentioned here. Is this supported in some API instead?

"url": "tabular:///{{{table}}}",
"url": "wikidatasparql:///?query={{urlencode:{{{table}}}|PATH}}",

Those are used in [[mw:Template:Graph:Stacked]]

May 9 2023, 11:50 PM · User-zeljkofilipin, Regression, User-notice, Tech Ambassadors & Translators, MediaWiki-extensions-Graph

May 8 2023

Nux added a comment to T200632: Allow template parameters to provide CSS to a templatestyles stylesheet.

url() can lead to lead to all sorts of nastiness unless controlled tightly...

May 8 2023, 9:43 PM · css-sanitizer, TemplateStyles
Nux added a comment to T320322: Support CSS variables in TemplateStyles.

@stjn you can see full CSS here, that will probably make more sense:
https://github.com/Eccenux/wiki-team-brackets/blob/master/html-redesign/lines.css

May 8 2023, 8:19 AM · Web-Team-Backlog (Needs Prioritization (Tech)), Design-System-Team, FY2023-24-WE 2.1 Typography and palette customizations, css-sanitizer, TemplateStyles

May 2 2023

Nux added a comment to T200632: Allow template parameters to provide CSS to a templatestyles stylesheet.

This would just work with CSS variables. In template code you can do this:

<div class="flexi-cols" style="--flexi-cols--min-width: {{{min-width|150px}}}; --flexi-cols--gap: {{{gap|1em}}};">
</div>

And in CSS for the template:

.flexi-cols {
	--flexi-cols--min-width: 250px;
	--flexi-cols--gap: 1em;
	
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax(var(--flexi-cols--min-width), 1fr) );
	gap: var(--flexi-cols--gap);
}

CSS variables are already supported in HTML so this kind of already works... You just need to load CSS with a mw.loader or @import to make this work.

May 2 2023, 11:55 AM · css-sanitizer, TemplateStyles
Nux added a comment to T320322: Support CSS variables in TemplateStyles.

Another use case is making code more readable and maintainable:
https://pl.wikipedia.org/w/index.php?title=Szablon:Nux/test_teambracket/8tpl-lines.css&oldid=70248259

May 2 2023, 11:14 AM · Web-Team-Backlog (Needs Prioritization (Tech)), Design-System-Team, FY2023-24-WE 2.1 Typography and palette customizations, css-sanitizer, TemplateStyles
Nux updated subscribers of T320322: Support CSS variables in TemplateStyles.

As there are plans for making a darkskin this will be important for templates. It will not be feasible for the WMF staff to create a skin supporting each and every template.

May 2 2023, 11:08 AM · Web-Team-Backlog (Needs Prioritization (Tech)), Design-System-Team, FY2023-24-WE 2.1 Typography and palette customizations, css-sanitizer, TemplateStyles

Apr 28 2023

Nux updated Nux.
Apr 28 2023, 5:21 PM
Nux updated Nux.
Apr 28 2023, 5:18 PM

Apr 26 2023

Nux added a comment to T288287: Remove IE11 from Basic support ("Grade C").

I think when you have a button that is only an icon and nothing else is displayed instead in IE then this is not an acceptable degradation (for me personally). The problem is in Vector sometimes you only have icons. But I think if you could display labels that are hidden and ditch icons for IE that would satisfy "content is presented in a readable manner, and content and account actions can be performed". Not sure about codex, but when you remove all classes from links in top menu it just works. So maybe in some case just make an empty css for IE? (e.g. surround everything with @supports)

obraz.png (163×648 px, 6 KB)

Apr 26 2023, 10:25 PM · Design-System-Team, MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Front-end Modernization, CSS, MediaWiki-General, MediaWiki-extensions-General, Browser-Support-Internet-Explorer
Nux added a comment to T288287: Remove IE11 from Basic support ("Grade C").

Just as a note: you can write CSS for IE and then use @support(display:grid) to provide better layout for modern browsers. You just cannot use @supports not (display:grid) because of limited @supports support 😉. So IE rules first and other browsers later with @support.

Apr 26 2023, 4:46 PM · Design-System-Team, MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Front-end Modernization, CSS, MediaWiki-General, MediaWiki-extensions-General, Browser-Support-Internet-Explorer

Apr 13 2023

Nux added a comment to T75714: Update JavaScript syntax checker for gadgets and user-scripts for ES6 and later.

Both should work fine in User:Example/hello-vue.js which you can import from common.js with e.g. importScript("User:Example/hello-vue.js").

Apr 13 2023, 3:31 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 T178356: Raise Grade A JavaScript requirement from ES5 (2009) to ES6 (2015).

Note that all browsers on iOS use WebKit engine (Chrome, Opera and even Firefox). So I doubt Puffin Browser can do anything about what they support. This is due to Apple policy which bans browser engines on their store. I guess most devs know that, but every browser on iOS is a skin over Safari (mostly).

Apr 13 2023, 2:17 AM · 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

Apr 12 2023

Nux added a comment to T331679: Disable sharing of site/user scripts between Vector and Vector 2022 skins.

As a follow up to pl.wikipedia switch:

Apr 12 2023, 10:01 PM · Web-Team-Backlog (Needs Prioritization (Tech)), User-notice

Apr 4 2023

Nux added a watcher for Front-end Modernization: Nux.
Apr 4 2023, 7:47 PM
Nux awarded T178356: Raise Grade A JavaScript requirement from ES5 (2009) to ES6 (2015) a Love token.
Apr 4 2023, 7:44 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

Mar 30 2023

Nux added a comment to T54750: VisualEditor: Make each reference editable where it appears in the reference list as well as on the edit surface.

Currently it works like that (both in Chrome and FF):

Mar 30 2023, 6:37 PM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), User-notice-archive, Verified, Editing-team (Kanban Board), WMDE-TechWish-Sprint-2023-03-14, WMDE-References-FocusArea, Community-Wishlist-Survey-2023, VisualEditor-MediaWiki-References, VisualEditor, VisualEditor-EditingTools
Nux added a comment to T331679: Disable sharing of site/user scripts between Vector and Vector 2022 skins.

I'll let you know if those steps worked better once T332809 is done :-). I plan to use those steps in a message after the change.

Mar 30 2023, 6:21 PM · Web-Team-Backlog (Needs Prioritization (Tech)), User-notice
Nux added a comment to T331679: Disable sharing of site/user scripts between Vector and Vector 2022 skins.

JavaScript: Migrate any content from MediaWiki:Vector.js into MediaWiki:Common.js (NOT duplicating it, because that can cause errors, unless you know what you are doing)
JavaScript: Assess whether content in MediaWiki:Vector.js can be moved to Common.js or if it should be copied to Vector-2022.css and then move or copy it as appropriate.

Mar 30 2023, 6:18 PM · Web-Team-Backlog (Needs Prioritization (Tech)), User-notice

Mar 29 2023

Nux added a comment to T332809: Please disable Vector js/css sharing on pl.wikipedia.

About 15 UTC would be fine for me (just about my dinner time)...
https://www.timeanddate.com/worldclock/fixedtime.html?iso=20230330T17&p1=262&ah=5

Mar 29 2023, 9:12 PM · Wikimedia-Site-requests
Nux added a comment to T331679: Disable sharing of site/user scripts between Vector and Vector 2022 skins.

OK, then we are ready: T332809 :)

Mar 29 2023, 9:11 PM · Web-Team-Backlog (Needs Prioritization (Tech)), User-notice
Nux added a comment to T331679: Disable sharing of site/user scripts between Vector and Vector 2022 skins.

When will the switch be possible?

Mar 29 2023, 1:01 AM · Web-Team-Backlog (Needs Prioritization (Tech)), User-notice
Nux updated the task description for T332809: Please disable Vector js/css sharing on pl.wikipedia.
Mar 29 2023, 1:00 AM · Wikimedia-Site-requests

Mar 28 2023

Nux added a comment to T54750: VisualEditor: Make each reference editable where it appears in the reference list as well as on the edit surface.

WIP UI: https://patchdemo.wmflabs.org/wikis/6689bcdde2/wiki/Douglas_Adams?veaction=edit&section=26

Mar 28 2023, 1:36 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), User-notice-archive, Verified, Editing-team (Kanban Board), WMDE-TechWish-Sprint-2023-03-14, WMDE-References-FocusArea, Community-Wishlist-Survey-2023, VisualEditor-MediaWiki-References, VisualEditor, VisualEditor-EditingTools

Mar 23 2023

Nux created T332851: Preference filtering doesn't work correctly on global fields.
Mar 23 2023, 2:49 AM · MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), MediaWiki-extensions-GlobalPreferences, Community-Tech, MediaWiki-Core-Preferences
Nux added a comment to T331320: [SPIKE] Evaluate development of Zebra #9 prototype.

Hmm... I did this exercise: change the position of the tools to the left side... And unfortunately there is a problem, not even with this grid, but with this structure. Maybe I'm missing something, but I've come up with something like below and I don't see how to fix it. I don't see a good, stable way to make a space between the table of contents and the tools. I can't do a row-gap because it will completely ruin the look of the title bar and tools. Longer ToC would also brake things.

Mar 23 2023, 1:08 AM · Patch-For-Review, Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 5), Desktop Improvements (Vector 2022)
Nux added a comment to T331320: [SPIKE] Evaluate development of Zebra #9 prototype.

I like the new grid :)

Mar 23 2023, 12:26 AM · Patch-For-Review, Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 5), Desktop Improvements (Vector 2022)

Mar 22 2023

Nux updated the task description for T330949: Simple CSS for ebooks on Wikisource (ePub, pdf).
Mar 22 2023, 11:46 PM · Community-Tech, WS Export, All-and-every-Wikisource, HTML5, Parsoid
Nux added a comment to T330949: Simple CSS for ebooks on Wikisource (ePub, pdf).

Everything seems to be working now, thanks 🙂

Mar 22 2023, 11:44 PM · Community-Tech, WS Export, All-and-every-Wikisource, HTML5, Parsoid
Nux created T332809: Please disable Vector js/css sharing on pl.wikipedia.
Mar 22 2023, 6:53 PM · Wikimedia-Site-requests

Mar 21 2023

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

Similar bug still occurring. Example fix:
https://pl.wikipedia.org/w/index.php?title=Wikipedysta%3ANux%2FTracy_Barrell&diff=69907638&oldid=69907611&diffmode=source

Mar 21 2023, 12:59 AM · ContentTranslation

Mar 18 2023

Nux added a comment to T215517: Different sizing of last image in <gallery mode="packed">.

A similar example I assume:
https://pl.wikipedia.org/w/index.php?title=Ko%C5%9Bci%C3%B3%C5%82_%C5%9Bw._Katarzyny_w_Timi%C8%99oarze&oldid=68618051
Current view with JS enhancement:

obraz.png (541×914 px, 639 KB)

Mar 18 2023, 3:11 PM · JavaScript, MediaWiki-Gallery, Multimedia

Mar 17 2023

Nux added a comment to T326042: Synchronise state of notifications between tabs.

It turned out be much easier to do and more stable with the Broadcast Channel after all. Available as gadget for now at least:
https://meta.wikimedia.org/wiki/User:Nux/notificationsSync.js

Mar 17 2023, 11:23 AM · Growth-Team, Notifications

Mar 12 2023

Nux added a comment to T330386: DiscussionTools new topic button flickers on Firefox mobile.

Hardly a fair fight on Android with all those open-in-app modes and other stuff...

Mar 12 2023, 11:37 PM · DiscussionTools, Browser-Support-Firefox

Mar 7 2023

Nux added a comment to T328719: Hidden #mw-panel-toc in Vector-2022 overlaps .vector-page-titlebar (can't select title).

For what it's worth, it works in my test cases too (on WP, WS and WD). The element #mw-panel-toc is not in page DOM at all. Thanks 🙂

Mar 7 2023, 8:23 PM · MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 4), Desktop Improvements (Vector 2022)
Nux added a comment to T53147: Add filtering input for gadgets to easily find them in Preferences.

If anyone wants to tackle this, I have a newer version of the library for filtering here:
https://pl.wikipedia.org/wiki/Wikipedysta:Nux/ViewFilter.js

Mar 7 2023, 7:59 PM · MediaWiki-extensions-Gadgets

Mar 5 2023

Nux added a comment to T331227: Support for @container (CSS Container Query) in templateStyles.

Maybe I wasn't clear. Firstly I know what those queries are for 😉. I want the templates to change based on the width they can actually occupy. E.g. in less obvious things like dynamic preview (which you could then use to preview template on small screen):

obraz.png (639×642 px, 48 KB)

Mar 5 2023, 10:41 PM · css-sanitizer, TemplateStyles
Nux added a comment to T330949: Simple CSS for ebooks on Wikisource (ePub, pdf).

@Samwilson Sorry, I assumed all letters are using it. The HTML is from this page:
https://pl.wikisource.org/wiki/Strona:Janusz_Korczak_-_Dziecko_salonu.djvu/11

Mar 5 2023, 8:08 PM · Community-Tech, WS Export, All-and-every-Wikisource, HTML5, Parsoid
Nux created T331227: Support for @container (CSS Container Query) in templateStyles.
Mar 5 2023, 12:40 PM · css-sanitizer, TemplateStyles

Mar 1 2023

Nux added a comment to T328069: "Edit interlanguage link" is styled incorrectly with page tools enabled.

Note that the same link is also for connecting to an existing WD item when there is no WD connected yet.

link-buttondialog
obraz.png (583×206 px, 13 KB)
obraz.png (337×549 px, 13 KB)
Mar 1 2023, 11:34 PM · MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 4), wmde-wikidata-tech, [DEPRECATED] wdwb-tech, User-ItamarWMDE, Wikidata, MediaWiki-extensions-WikibaseClient, Desktop Improvements (Vector 2022)
Nux created T330949: Simple CSS for ebooks on Wikisource (ePub, pdf).
Mar 1 2023, 10:05 PM · Community-Tech, WS Export, All-and-every-Wikisource, HTML5, Parsoid

Feb 25 2023

Nux added projects to T330580: More flexiable OOUI comobox and buttons: OOUI, MediaWiki-extensions-Gadgets.
Feb 25 2023, 8:23 PM · OOUI
Nux created T330580: More flexiable OOUI comobox and buttons.
Feb 25 2023, 8:22 PM · OOUI

Feb 23 2023

Nux added a comment to T328719: Hidden #mw-panel-toc in Vector-2022 overlaps .vector-page-titlebar (can't select title).

Sorry, but it is still there.

Feb 23 2023, 6:54 PM · MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 4), Desktop Improvements (Vector 2022)
Nux added a comment to T330386: DiscussionTools new topic button flickers on Firefox mobile.

Done. I see recompressing on YT makes it even weirder. You have to imagine it flickers faster. Much faster. The flickering is always when I scroll up. Not touching the screen is not changing anything (still flickers).

Feb 23 2023, 5:23 PM · DiscussionTools, Browser-Support-Firefox
Nux added a comment to T330386: DiscussionTools new topic button flickers on Firefox mobile.

Here is a video with touch visibility enabled:
https://youtube.com/shorts/CzaVHHAsFpE?feature=share3

Feb 23 2023, 4:47 PM · DiscussionTools, Browser-Support-Firefox
Nux added a comment to T328719: Hidden #mw-panel-toc in Vector-2022 overlaps .vector-page-titlebar (can't select title).

Fix in Firefox that can be applied in MediaWiki:Vector-2022.css even:

	#mw-panel-toc:-moz-only-whitespace {
	
	  display: none;
	
	}
Feb 23 2023, 2:34 PM · MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 4), Desktop Improvements (Vector 2022)
Nux added a comment to T328719: Hidden #mw-panel-toc in Vector-2022 overlaps .vector-page-titlebar (can't select title).

Note that the element is also in the same place on Firefox (v110). It's just that selection behaves differently on Firefox and on Chrome. In Firefox you cannot select/click from left side of the title (as you click on a transparent element).

Feb 23 2023, 2:15 PM · MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 4), Desktop Improvements (Vector 2022)
Nux added a comment to T328719: Hidden #mw-panel-toc in Vector-2022 overlaps .vector-page-titlebar (can't select title).

Possible fix:

Feb 23 2023, 2:10 PM · MW-1.40-notes (1.40.0-wmf.25; 2023-02-27), Web-Team-Backlog (Web Team FY2022-23 Q3 Sprint 4), Desktop Improvements (Vector 2022)
Nux created T330386: DiscussionTools new topic button flickers on Firefox mobile.
Feb 23 2023, 11:19 AM · DiscussionTools, Browser-Support-Firefox
Nux added a comment to T329719: [Page tools] Allow anonymous users to pin / unpin menus, reconsider default pinning states.

Yes, I was assuming that page tools for anons would follow. Not sure anymore which things should be visible by default though. Page tools are more for consuming content by default on plwiki and "Zgłoś błąd" ("Report a bug") in your demo-link is on the left side...
https://pl.wikipedia.org/wiki/Sun?vectorpagetools=1&useskin=vector-2022

Feb 23 2023, 10:23 AM · Web-Team-Backlog, Design, Desktop Improvements (Vector 2022)