Page MenuHomePhabricator

SD0001
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Nov 9 2018, 4:09 PM (227 w, 2 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
SD0001 [ Global Accounts ]

Recent Activity

Sun, Mar 12

SD0001 added a comment to T241524: Parser function for loading gadgets.

<Krinkle> ... The only strong use case here is performance, which I think we can address better in other ways.

Sun, Mar 12, 5:40 AM · Patch-For-Review, MediaWiki-extensions-Gadgets

Sun, Mar 5

SD0001 updated the task description for T331222: Don't persist default settings in gadget definition pages.
Sun, Mar 5, 7:26 AM · MediaWiki-extensions-Gadgets
SD0001 created T331222: Don't persist default settings in gadget definition pages.
Sun, Mar 5, 7:24 AM · MediaWiki-extensions-Gadgets

Sun, Feb 26

SD0001 added a comment to T330574: Links to comments on old page revisions go to the current version.

They're created by[[ https://meta.wikimedia.org/w/index.php?title=User:ESanders_(WMF)/commentlinks.js | User:ESanders_(WMF)/commentlinks.js ]]

Sun, Feb 26, 10:14 AM · DiscussionTools

Sat, Feb 25

SD0001 removed a project from T330580: More flexiable OOUI comobox and buttons: MediaWiki-extensions-Gadgets.
Sat, Feb 25, 9:46 PM · OOUI

Fri, Feb 24

SD0001 added a comment to T330349: [Spike] Determine the extent to which the Gadgets extension supports .vue files.

There's also the question of what content model would the on-wiki vue pages take? Can they be JavaScriptContent, or do we need a new content model? For ES6 gadgets, no syntax checking is done (because the syntax validator only supports ES5 as of now), so it would technically be possible to use the JS content model, but that is a bad idea. If we were to make a new content model, should that go into MW core, or in the Gadgets extension?

Fri, Feb 24, 5:59 AM · Front-end Modernization, Codex, Design-Systems-Team, Epic

Dec 3 2022

SD0001 awarded T324092: +2 for Novem_Linguae in mediawiki/extensions/PageTriage a Like token.
Dec 3 2022, 3:01 AM · PageTriage, Gerrit-Privilege-Requests, Growth-Team

Nov 23 2022

SD0001 added a comment to T323648: Incorrect create/edit time displayed in the curation toolbar.

The i18n strings controlling date formats can be edited from translatewiki.net. During the migration from date.js to moment, some of these may have stopped working correctly for non-English languages. (Since PageTriage is deployed only on enwiki, this wasn't considered a big deal.)

Nov 23 2022, 3:36 AM · Chinese-Sites, PageTriage, Growth-Team, Beta-Cluster-Infrastructure

Nov 19 2022

SD0001 added a comment to T125189: Incorrect timecorrection values in user_properties tables in database.

Stop putting the offset in the "System" type (it's already ignored)

Nov 19 2022, 7:40 AM · Wikimedia-database-issue (Bad data), MediaWiki-Core-Preferences
SD0001 added a comment to T303124: Special:NewPagesFeed times incorrectly show as 1 hour ahead.

Most importantly, I think the logic in PageTriage is wrong/fragile. Instead of using the offset, it should check if the timezone is geographical, and use that to compute the correct offset.

Nov 19 2022, 7:28 AM · Patch-For-Review, Growth-Team, PageTriage

Nov 16 2022

SD0001 created T323191: Alerts/notifications flyouts misaligned on mobile when width=device-width is enabled.
Nov 16 2022, 3:11 AM · Desktop Improvements (Vector 2022), Readers-Web-Backlog

Nov 15 2022

SD0001 added a comment to T315072: Add a new edit filter trigger action: pop-up box.

Rough outline of changes needed to implement this: (please let me know if I'm missing something)

Nov 15 2022, 6:23 PM · EditCheck, MediaWiki-Page-editing, AbuseFilter

Nov 3 2022

SD0001 added a comment to T321919: Figure out and document how to call the Kubernetes API as your tool user from inside a pod.

Document how an admin could grant read-only API access to the default service account for a tool
Document how to request that your tool's default service account be granted read-only API access

Nov 3 2022, 7:20 AM · cloud-services-team, Documentation, Kubernetes, Toolforge

Nov 1 2022

SD0001 moved T65532: Gadget preferences should hide or discourage entries that can't be enabled in the current skin (e.g. vector-only) from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Nov 1 2022, 9:04 AM · Patch-Needs-Improvement, MediaWiki-extensions-Gadgets

Oct 31 2022

SD0001 added a comment to T321791: `toolforge-jobs run` fails with 403 error.

--continuous option creates a k8s deployment, for which there is a quota of 3 per tool. I see that you already have 3 deployments running, which might be the reason for 403. You can request a quota increase by filing a ticket against Toolforge (Quota-requests).

Oct 31 2022, 7:13 AM · Toolforge Jobs framework, Grid-Engine-to-K8s-Migration

Oct 30 2022

SD0001 created T321992: toolforge-jobs should have a method to trigger a one-off cronjob run.
Oct 30 2022, 10:45 AM · Toolforge Jobs framework

Oct 29 2022

SD0001 renamed T92621: Automatically review pages that were reverted to a previously reviewed state from Spike: Automatically review pages that were reverted to a previously reviewed state [Timebox: 8 hours] to Automatically review pages that were reverted to a previously reviewed state .
Oct 29 2022, 9:46 AM · Growth-Team-Filtering, Growth-Team, PageTriage
SD0001 awarded T313107: Grant bots the sboverride userright a Like token.
Oct 29 2022, 8:28 AM · Community-consensus-needed, MediaWiki-User-management, SpamBlacklist

Oct 27 2022

SD0001 added a comment to T320657: Toolforge bot approval request for SQL report generating bot.

Thanks for the approval @bd808, and @Legoktm for presenting it. Bot is functional now. I have not implemented the "edit ageing" requirement, but emergency-shutoff can now be activated from User:SDZeroBot/Shutoff, which is linked from the bot user page. Also created wikitech:Tool:SDZeroBot.

Oct 27 2022, 6:03 PM · cloud-services-team (Kanban), Toolforge

Oct 25 2022

SD0001 added a comment to T50552: Make PageTriage wiki agnostic.

@Novem_Linguae Twinkle's rewrite strategy was:

  • Rewrite from scratch in an object-oriented paradigm. Classes are hard to use in ES5, so twinkle uses TypeScript instead. (PageTriage should use ES6. IE 11 compat doesn't seem particularly desirable.)
  • Provide a twinkle-core library which can used by each wiki to create their own custom Twinkle edition. If the workflows used on the wiki are really really standard, almost no custom code would be needed. The more the workflows are non-standard, the more custom wiki-specific code needs to be implemented.
    • For instance, the article tagging module is provided in core as TagCore. The enwp customisation would create a class Tag extends TagCore which inherits base functionality and adds customisation by overriding relevant methods in the base class.
Oct 25 2022, 5:50 AM · MW-1.40-notes (1.40.0-wmf.8; 2022-10-31), CommTech-Wishathon, Patch-For-Review, Growth-Team-Filtering, Growth-Team, Community-Wishlist-Survey-2015, I18n, PageTriage

Oct 12 2022

SD0001 edited projects for T320657: Toolforge bot approval request for SQL report generating bot, added: Toolforge; removed Cloud-Services.
Oct 12 2022, 4:14 PM · cloud-services-team (Kanban), Toolforge
SD0001 created T320657: Toolforge bot approval request for SQL report generating bot.
Oct 12 2022, 4:13 PM · cloud-services-team (Kanban), Toolforge

Oct 11 2022

SD0001 awarded T319305: Consider how Vector 2022 displays on mobile devices a Love token.
Oct 11 2022, 4:33 AM · Desktop Improvements (Vector 2022), Readers-Web-Backlog

Oct 9 2022

SD0001 changed the status of T320031: Migrate sdzerobot from Toolforge GridEngine to Toolforge Kubernetes from Open to Stalled.

Waiting for T315738, T306311 and T306312 to be resolved before I migrate – the latter two would make the required code changes more minimal.

Oct 9 2022, 6:07 PM · Grid-Engine-to-K8s-Migration

Oct 8 2022

SD0001 updated the task description for T315729: Make it possible to start/restart jobs from other k8s jobs.
Oct 8 2022, 6:24 AM · Toolforge Jobs framework

Sep 17 2022

SD0001 added a comment to T317770: Split emailuser rate limit to emailuser / emailself.

A potential route of abuse here is for a user to set their email address to one which they wish to spam, not confirm it, and then trigger a script to send >20/day emails

Sep 17 2022, 1:39 PM · MediaWiki-Email

Aug 27 2022

SD0001 closed T300000: Use capitallinkoverride for gadget namespace as Resolved.
Aug 27 2022, 6:05 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets
SD0001 closed T312440: Migrate usage of Database::select to SelectQueryBuilder in Gadgets, a subtask of T311866: Migrate Database::select usages to SelectQueryBuilder, as Resolved.
Aug 27 2022, 2:19 PM · MW-1.40-notes (1.40.0-wmf.26; 2023-03-06), MW-1.39-notes (1.39.0-wmf.26; 2022-08-22), Patch-For-Review, Data-Persistence (work done), Platform Engineering
SD0001 closed T312440: Migrate usage of Database::select to SelectQueryBuilder in Gadgets as Resolved.
Aug 27 2022, 2:19 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets, Technical-Debt
SD0001 claimed T298834: Create separate user right for editing json files in gadget namespace.
Aug 27 2022, 12:48 PM · Patch-For-Review, MediaWiki-extensions-Gadgets
SD0001 closed T236603: Only register gadgets client-side from startup if relevant for the current skin, a subtask of T253582: Let ResourceLoader only register skin modules for the current skin, as Resolved.
Aug 27 2022, 12:34 PM · MediaWiki-ResourceLoader, Performance-Team
SD0001 closed T236603: Only register gadgets client-side from startup if relevant for the current skin as Resolved.
Aug 27 2022, 12:34 PM · Performance-Team-publish, MW-1.39-notes (1.39.0-wmf.5; 2022-03-28), User-TheDJ, MediaWiki-extensions-Gadgets, Performance-Team (Radar)
SD0001 moved T217606: Add tables of contents on preference tabs from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:26 PM · MediaWiki-extensions-Gadgets, MediaWiki-Core-Preferences
SD0001 moved T55584: Add a functionality to gray out gadgets on gadgets preference tab that are dependent on other gadgets. from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:25 PM · MediaWiki-extensions-Gadgets
SD0001 moved T53147: Add filtering input for gadgets to easily find them in Preferences from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:25 PM · MediaWiki-extensions-Gadgets
SD0001 moved T52081: Support for toggling Gadgets from the Special:Gadgets page from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:25 PM · MediaWiki-extensions-Gadgets
SD0001 moved T51501: Gadget preferences should indicate whether a gadget is enabled by default from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:25 PM · Design, MediaWiki-extensions-Gadgets
SD0001 moved T38321: Add button to disable/enable all Gadgets in the preferences from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:25 PM · JavaScript, MediaWiki-extensions-Gadgets
SD0001 moved T25359: Present Gadget preferences in a more visually browsable manner (longer descriptions, search, images, etc.) from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:25 PM · MediaWiki-extensions-Gadgets
SD0001 moved T20113: Integrate gadgets into standard preference sections from Backlog to Preferences tab on the MediaWiki-extensions-Gadgets board.
Aug 27 2022, 12:23 PM · MediaWiki-Core-Preferences, MediaWiki-extensions-Gadgets
SD0001 claimed T300000: Use capitallinkoverride for gadget namespace .
Aug 27 2022, 12:15 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets
SD0001 claimed T312440: Migrate usage of Database::select to SelectQueryBuilder in Gadgets.
Aug 27 2022, 11:32 AM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets, Technical-Debt
SD0001 claimed T303194: Gadgets extensions should not cache serialized PHP objects.
Aug 27 2022, 10:48 AM · Patch-For-Review, Technical-Debt, MediaWiki-extensions-Gadgets

Aug 26 2022

SD0001 added a comment to T316154: Make GrowthExperiments\Tests\MentorHooksTest::testOnUserGetRights more robust.

This is causing CI failures on several random patches:

Aug 26 2022, 4:25 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), ci-test-error, Growth-Team (Current Sprint), GrowthExperiments-Mentorship

Aug 25 2022

SD0001 created T316286: Install headless browser dependencies on node16 image.
Aug 25 2022, 7:31 PM · Toolforge (Software install/update)

Aug 22 2022

SD0001 awarded T311917: Make `webservice shell` a standalone tool a Like token.
Aug 22 2022, 11:13 AM · Toolforge

Aug 20 2022

JJMC89 awarded T315738: toolforge-jobs load should not abort running pods of unchanged tasks a Like token.
Aug 20 2022, 8:33 PM · Toolforge Jobs framework
SD0001 created T315738: toolforge-jobs load should not abort running pods of unchanged tasks.
Aug 20 2022, 8:28 PM · Toolforge Jobs framework
SD0001 added a project to T315735: Shell pods continue running after ssh session exits: Kubernetes.
Aug 20 2022, 7:06 PM · Kubernetes, Toolforge
SD0001 created T315735: Shell pods continue running after ssh session exits.
Aug 20 2022, 7:02 PM · Kubernetes, Toolforge
SD0001 added a comment to T306391: Allow Toolforge scheduled jobs to have a maximum runtime.

It's possible it did run out of memory, but that's what the auto-restarts are supposed to fix...

Aug 20 2022, 4:51 PM · Toolforge Jobs framework, Kubernetes
SD0001 created T315729: Make it possible to start/restart jobs from other k8s jobs.
Aug 20 2022, 4:13 PM · Toolforge Jobs framework

Aug 15 2022

SD0001 added a project to T174145: Our standard highlight icon (used to enable/disable CodeMirror) cdxIconHighlight looks too much like our standard edit icon, cdxIconEdit: Community-Tech.

... In either case, T174145: Our standard highlight icon (used to enable/disable CodeMirror) cdxIconHighlight looks too much like our standard edit icon, cdxIconEdit should be addressed first. Community Tech has its own designer now so we can see what he thinks.

Aug 15 2022, 4:09 PM · UI-Standardization, Design, MediaWiki-extensions-CodeMirror
SD0001 added a comment to T12410: Render wikilinks in site/user CSS/JS.

https://en.wiktionary.org/wiki/MediaWiki:Gadget-CodeLinks.js is another wonderful gadget implementation.

Aug 15 2022, 7:08 AM · CSS, JavaScript, MediaWiki-Parser

Aug 13 2022

SD0001 moved T315165: Enable edit stashing on section=new edits from Backlog to Stash on the MediaWiki-Page-editing board.
Aug 13 2022, 5:33 PM · Performance-Team, MediaWiki-Page-editing
SD0001 created T315165: Enable edit stashing on section=new edits.
Aug 13 2022, 5:32 PM · Performance-Team, MediaWiki-Page-editing

Aug 12 2022

SD0001 added a comment to T265163: Create a system to encode best practices into editing experiences.

T315072: Add a new edit filter trigger action: pop-up box is a possible way to implement some of the components described in this ticket, which keeps the edit checks fully customisable on wikis locally using the existing AbuseFilter language familiar to communities.

Aug 12 2022, 12:04 PM · EditCheck, Editing-team, VisualEditor
SD0001 moved T315072: Add a new edit filter trigger action: pop-up box from Backlog to Stash on the MediaWiki-Page-editing board.
Aug 12 2022, 11:47 AM · EditCheck, MediaWiki-Page-editing, AbuseFilter
SD0001 added a project to T315072: Add a new edit filter trigger action: pop-up box: MediaWiki-Page-editing.
Aug 12 2022, 11:47 AM · EditCheck, MediaWiki-Page-editing, AbuseFilter
SD0001 created T315072: Add a new edit filter trigger action: pop-up box.
Aug 12 2022, 11:46 AM · EditCheck, MediaWiki-Page-editing, AbuseFilter

Aug 10 2022

SD0001 removed a project from T199538: Display the number of the list entries on special pages with lists: MediaWiki-extensions-Gadgets.
Aug 10 2022, 6:17 PM · patch-welcome, Performance Issue, MediaWiki-Special-pages, Wikimania-Hackathon-2018
SD0001 merged T97063: Alert editors before they save an edit creating a disambiguation link (or at least a high-traffic disambiguation link). into T285508: Show notification when users type a link to a disambiguation page.
Aug 10 2022, 5:40 PM · Community-Tech (CommTech-Sprint-11), MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), Disambiguation-Wish-2021, MediaWiki-extensions-Disambiguator
SD0001 merged task T97063: Alert editors before they save an edit creating a disambiguation link (or at least a high-traffic disambiguation link). into T285508: Show notification when users type a link to a disambiguation page.
Aug 10 2022, 5:40 PM · MediaWiki-extensions-Disambiguator, MediaWiki-Page-editing
SD0001 added a project to T314762: Removing a disambiguation template should mark article as unreviewed: MediaWiki-extensions-Disambiguator.
Aug 10 2022, 5:19 PM · MediaWiki-extensions-Disambiguator, PageTriage, Growth-Team

Aug 8 2022

SD0001 awarded T306311: toolforge-jobs should have a method to easily restart a specific job a Like token.
Aug 8 2022, 9:27 AM · Patch-For-Review, Toolforge Jobs framework

Aug 7 2022

SD0001 created T314729: Provide YAML schema file for toolforge-jobs definition files.
Aug 7 2022, 9:12 AM · User-Raymond_Ndibe, Toolforge Jobs framework

Jul 21 2022

SD0001 reopened T313390: Unexpected dangling whitespace in module value when calling action=query&list=gadgets on ace.wp as "Open".

Ideally, either the gadget repo or API code in Gadgets extension should strip trailing whitespaces.

Jul 21 2022, 7:23 AM · User-DannyS712, MediaWiki-extensions-Gadgets
SD0001 added a comment to T313336: GadgetUsage API results malformed when $wgSpecialGadgetUsageActiveUsers is enabled.

This is occurring on wikis where $wgSpecialGadgetUsageActiveUsers is enabled. Gadget is a recognized namespace on all of these wikis.

Jul 21 2022, 4:52 AM · MediaWiki-Action-API, MediaWiki-extensions-Gadgets
SD0001 renamed T313336: GadgetUsage API results malformed when $wgSpecialGadgetUsageActiveUsers is enabled from Badtitle in API results for qppage=GadgetUsage to GadgetUsage API results malformed when $wgSpecialGadgetUsageActiveUsers is enabled.
Jul 21 2022, 4:52 AM · MediaWiki-Action-API, MediaWiki-extensions-Gadgets

Jul 18 2022

SD0001 added a comment to T121049: Track the GadgetUsage statistics over time.

https://en.wikipedia.org/wiki/User:Alexis_Jazz/GUS2Wiki

Takes 2-5 regulars per project. (someone using it has to visit the wiki when the stats have been updated, a single regular who never misses a day would also suffice) Currently just overwrites the page so for history you'll have to dig through the page history.

Jul 18 2022, 12:40 PM · Developer-Advocacy, MediaWiki-extensions-Gadgets

Jun 13 2022

SD0001 awarded T306211: Echo oneself using API a Like token.
Jun 13 2022, 5:18 PM · SecTeam-Processed, Security, Notifications, Growth-Team, MediaWiki-Action-API

Jun 7 2022

SD0001 added a comment to T310007: Design explorations that make user preferences accessible to mobile web editors.

I think A or C make the most sense. B seems problematic as the tabs not visible without scrolling horizontally will be less discoverable.

Jun 7 2022, 3:00 PM · Design, MediaWiki-Core-Preferences, Mobile, Moderator-Tools-Team

Apr 22 2022

Lens0021 awarded T303681: RL targets for gadget definition pages a Like token.
Apr 22 2022, 3:15 PM · MW-1.41-notes (1.41.0-wmf.1; 2023-03-20), MediaWiki-extensions-Gadgets

Apr 18 2022

SD0001 added a comment to T76204: Enforce JavaScript syntax check when editing user/site script pages.

The JSMinplus validator does not even support ES6 ( T75714). Even when it does, it's unlikely it would be constantly updated to support the latest ES variant of the day.

Apr 18 2022, 1:01 PM · Patch-For-Review, JavaScript, MediaWiki-ContentHandler
SD0001 added a comment to T75714: Update JavaScript syntax checker for gadgets and user-scripts for ES6.

I think validating on save and saving the result as a page property is a pretty good approach.

Apr 18 2022, 12:47 PM · MW-1.40-notes (1.40.0-wmf.7; 2022-10-24), Design-Systems-Team, Performance-Team, MediaWiki-ResourceLoader

Apr 7 2022

SD0001 added a comment to T298010: Querying ProcseeBot's user logs results in internal_api_error_DBQueryError.

I disabled the check for ProcseeBot's activity.

Apr 7 2022, 8:51 AM · MediaWiki-Action-API

Apr 3 2022

SD0001 added a comment to T253582: Let ResourceLoader only register skin modules for the current skin.

Now that ResourceLoaderModule::getSkins() patch has merged, possible approaches to move forward with this:

Apr 3 2022, 3:35 AM · MediaWiki-ResourceLoader, Performance-Team

Mar 19 2022

SD0001 added a comment to T300454: Edit Request Wizard.

@Ankur0710 Please review https://www.mediawiki.org/wiki/New_Developers#Some_general_communication_tips and https://www.gerv.net/hacking/how-to-ask-good-questions/. In short, to get further guidance you should mention what you've tried so far and where exactly you're stuck.

Mar 19 2022, 7:47 PM · VisualEditor, Google-Summer-of-Code (2022), Outreach-Programs-Projects

Mar 13 2022

SD0001 created T303681: RL targets for gadget definition pages .
Mar 13 2022, 1:08 PM · MW-1.41-notes (1.41.0-wmf.1; 2023-03-20), MediaWiki-extensions-Gadgets

Mar 12 2022

SD0001 added a comment to T302282: Real Time Preview performance safeguards.

Have we thought about coupling parse requests with the action=stashedit requests? The latter is also "real-time" with a debounce of 3 seconds IIRC. Instead of sending the full wikitext twice, how about creating a single API endpoint that does parse + stashedit? Or maybe modify either of those APIs to add an option to also do the other operation?

Mar 12 2022, 10:11 AM · Community-Tech (CommTech-Sprint-24), MW-1.39-notes (1.39.0-wmf.6; 2022-04-04), Patch-For-Review, Performance-Team, Realtime Preview

Mar 6 2022

SD0001 added a comment to T303124: Special:NewPagesFeed times incorrectly show as 1 hour ahead.

@Novem_Linguae What timezone have you set in Special:Preferences?

Mar 6 2022, 10:37 AM · Patch-For-Review, Growth-Team, PageTriage

Feb 27 2022

SD0001 added a comment to T294778: ApiQueryAllUsers with activeusers=1 excludes some clearly active users.

See also: T263931: Special:ActiveUsers misses some active users on some(?) wikis, T261290: Number of active users from ApiQueryAllUsers grossly different from Special:Statistics page

Feb 27 2022, 2:46 PM · MediaWiki-User-management
SD0001 added a project to T302669: ApiOptionsHook should allow modifying options: MediaWiki-Core-Preferences.

Couldn't SaveUserOptionsHook be used instead, as that's abortable?

Feb 27 2022, 2:35 PM · MediaWiki-Core-Preferences, MediaWiki-Action-API

Feb 26 2022

SD0001 added a comment to T241524: Parser function for loading gadgets.

This also serves the purpose of tracking which pages will be using the gadget.

Feb 26 2022, 5:39 AM · Patch-For-Review, MediaWiki-extensions-Gadgets

Feb 18 2022

Volker_E awarded T300000: Use capitallinkoverride for gadget namespace a Party Time token.
Feb 18 2022, 6:16 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets

Feb 14 2022

Jdlrobson awarded T272904: PageTriage extension causes TypeError: format.replace is not a function in randomToken function im SearchSatisfaction schema a Mountain of Wealth token.
Feb 14 2022, 7:13 PM · Patch-For-Review, Unstewarded-production-error, PageTriage, Growth-Team, MW-1.36-notes (1.36.0-wmf.34; 2021-03-09), JavaScript, Wikimedia-production-error
Krinkle awarded T251994: Add hook that allows extensions to prevent preferences from getting exported to client-side a Orange Medal token.
Feb 14 2022, 1:27 PM · MW-1.38-notes (1.38.0-wmf.22; 2022-02-14), Contributors-Team, MediaWiki-Core-Preferences, Performance-Team (Radar), MediaWiki-ResourceLoader

Feb 12 2022

SD0001 added a comment to T299537: ResourceLoader JS validator fails to recognize complex regex.

Do you perhaps have wgResourceLoaderValidateJS set to false?

Feb 12 2022, 2:06 PM · MW-1.38-notes (1.38.0-wmf.24; 2022-02-28), MediaWiki-ResourceLoader, Performance-Team

Feb 4 2022

SD0001 added a comment to T241524: Parser function for loading gadgets.

That said, I remain in the position that on-click interaction with supportsUrlLoad already fits 95% of the use cases ...

Feb 4 2022, 4:28 AM · Patch-For-Review, MediaWiki-extensions-Gadgets

Jan 31 2022

Remagoxer awarded T300000: Use capitallinkoverride for gadget namespace a Party Time token.
Jan 31 2022, 11:55 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets

Jan 26 2022

IN awarded T300000: Use capitallinkoverride for gadget namespace a Party Time token.
Jan 26 2022, 10:41 AM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets

Jan 25 2022

hashar awarded T300000: Use capitallinkoverride for gadget namespace a Love token.
Jan 25 2022, 10:15 PM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets
SD0001 created T300000: Use capitallinkoverride for gadget namespace .
Jan 25 2022, 9:30 AM · MW-1.39-notes (1.39.0-wmf.27; 2022-08-29), MediaWiki-extensions-Gadgets

Jan 23 2022

SD0001 added a comment to T36958: User-level gadget repositories.

With the above patch, preferences of enabled user gadgets are public. This helps with caching of the gadget startup module (group=user which enables them to be cached, unlike group=private which adds them to the HTML on every page load) – they get exposed from load.php?modules=ext.gadgets.userstartup&user=<username>.

Jan 23 2022, 5:05 PM · MediaWiki-ResourceLoader, Performance-Team (Radar), Patch-For-Review, Proposal, MediaWiki-extensions-Gadgets, JavaScript
SD0001 added a comment to T36958: User-level gadget repositories.

After doing some more research, I figured out a better approach (see linked patch, ready for review) that does not involve embedding modules on the page. This approach enables user gadgets to exist as normal modules, triggered by a user-level startup module. The issues with the earlier approaches are resolved, and only trivial resourceloader changes are needed. Contrary to bullet 5 in T36958#7594392, user gadgets can be loaded adhoc via load.php?modules=ext.usergadget.p12345 (where the number is the pageid of the definition page) though this would not be considered officially supported.

Jan 23 2022, 5:04 PM · MediaWiki-ResourceLoader, Performance-Team (Radar), Patch-For-Review, Proposal, MediaWiki-extensions-Gadgets, JavaScript
SD0001 added a comment to T36958: User-level gadget repositories.

@Nux This task is essentially about T36958#387742, though I believe setting position is no longer an explicit RL feature (any module with just styles load without flicker).

Jan 23 2022, 2:37 PM · MediaWiki-ResourceLoader, Performance-Team (Radar), Patch-For-Review, Proposal, MediaWiki-extensions-Gadgets, JavaScript
SD0001 added a comment to T6469: Provide per-namespace site notices.

@Ammarpad I forgot that sitenotices on enwiki were dismissable. In testing on my localhost wiki, they were persistent – as MW core doesn't have a dismiss capability. Which is the extension that makes them dismissable? I think the usecases are for persistent namespace notices, so maybe we could change the extension to not work on ns notices.

Jan 23 2022, 3:31 AM · Patch-For-Review, MW-1.38-notes (1.38.0-wmf.19; 2022-01-24), MediaWiki-Core-Skin-Architecture, MediaWiki-Interface

Jan 20 2022

SD0001 awarded T299677: Provide public API to know whether an ES6 module can be loaded a Like token.
Jan 20 2022, 6:40 PM · MW-1.38-notes (1.38.0-wmf.21; 2022-02-07), Performance-Team, MediaWiki-ResourceLoader
SD0001 added a comment to T75714: Update JavaScript syntax checker for gadgets and user-scripts for ES6.

A hacky alternative to provide ES6 support in gadgets would be:

  • Introduce a new reserved group which disables validation.
  • Gadgets which mark themselves as es6-only are put in that group - so they are retrieved in a separate request than other gadgets and core/extension-loaded JS.

This means that if any one of these ES6-only gadgets contains a syntax error, all other enabled ES6-only gadgets would also fail, but core/extension-loaded modules and non-ES6 gadgets would work as usual. That seems like a reasonable compromise. Thoughts?

Jan 20 2022, 5:39 PM · MW-1.40-notes (1.40.0-wmf.7; 2022-10-24), Design-Systems-Team, Performance-Team, MediaWiki-ResourceLoader

Jan 19 2022

SD0001 added a comment to T298386: ResourceLoader minifier mangles unicode regex to produce invalid JavaScript.

Thanks @Krinkle for investigating this.

Jan 19 2022, 4:51 PM · Performance-Team (Radar), JavaScript, MediaWiki-ResourceLoader