Page MenuHomePhabricator

MediaWiki-extensions-GadgetsComponent
ActivePublic

Members (4)

Details

Description

PHP extension to allow users to enable JS-based, user-provided gadgets from their preferences page (Homepage). This is not meant for reporting bugs or problems with local gadgets themselves.

Recent Activity

Mon, May 19

Izno added a comment to T384926: Add support for templates in definitions.

I would categorically prefer a task like this to be implemented and have previously argued it when discussion of category templates was at hand (perhaps not on Phab?). Categories are almost always going to be a middleman in the context of these kinds of limited gadgets, and all the category gadgets on enwiki are closely associated to a handful of templates.

Mon, May 19, 5:08 PM · Patch-For-Review, MediaWiki-extensions-Gadgets

Fri, May 16

PatchDemoBot added a comment to T340460: Allow .vue files to be used in Gadgets.

Test wiki on Patch demo by SD0001 using patch(es) linked to this task was deleted:

Fri, May 16, 7:26 PM · Patch-For-Review, MediaWiki-Platform-Team (Radar), MediaWiki-ResourceLoader, MediaWiki-extensions-Gadgets, Design-System-Team, Front-end Modernization

Mon, May 12

Maintenance_bot removed a project from T46233: Add ability for section description of gadgets section: Patch-For-Review.
Mon, May 12, 5:32 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
ReleaseTaggerBot added a project to T46233: Add ability for section description of gadgets section: MW-1.45-notes (1.45.0-wmf.1; 2025-05-13).
Mon, May 12, 5:00 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
gerritbot added a comment to T46233: Add ability for section description of gadgets section.

Change #1144605 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@master] Hooks: change gadgets-section-info-$section to gadget-section-info-$section

https://gerrit.wikimedia.org/r/1144605

Mon, May 12, 4:57 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
SD0001 added a comment to T46233: Add ability for section description of gadgets section.

Gadgets-, with the s, was chosen to avoid conflicting with the description messages of gadgets (which start with Gadget-, without the s). In retrospect, agreed that being consistent with section name messages (which can already name-conflict anyway) makes more sense.

Mon, May 12, 4:33 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
gerritbot added a project to T46233: Add ability for section description of gadgets section: Patch-For-Review.
Mon, May 12, 3:59 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
gerritbot added a comment to T46233: Add ability for section description of gadgets section.

Change #1144605 had a related patch set uploaded (by Novem Linguae; author: Novem Linguae):

[mediawiki/extensions/Gadgets@master] Hooks: change gadgets-section-info-$section to gadget-section-info-$section

https://gerrit.wikimedia.org/r/1144605

Mon, May 12, 3:58 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
Novem_Linguae added a comment to T46233: Add ability for section description of gadgets section.

Oh I think I see what you mean now. One starts with gadget- and the other starts with gadgets-.

Mon, May 12, 3:49 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
stjn added a comment to T46233: Add ability for section description of gadgets section.

My suggestion is that both should start either with Gadget- or Gadgets- (Gadget- being preferable due to being an older convention and not requiring much changes). Right now it seems unsynchronised between the two despite the messages being related (one is section header and another is section description).

Mon, May 12, 3:39 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
Novem_Linguae added a comment to T46233: Add ability for section description of gadgets section.

It seemed OK to me. Do you have a suggestion of what we should change it to?

Mon, May 12, 3:37 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
stjn updated subscribers of T46233: Add ability for section description of gadgets section.

The message name ended up to be a bit confusing since gadget section headers use Gadget-section- convention but these new messages use Gadgets-section-info convention. Personally I think this needs to be fixed before it gets too prevalent. (I tried creating the section description by going to header description from Special:Gadgets and adding -info- and that’s how I spotted the issue.) @SD0001 @Novem_Linguae, what do you think?

Mon, May 12, 3:28 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets

Sun, May 4

bd808 added a comment to T321458: Allow Javascript files from Wikimedia GitLab to be loaded as scripts in Wikimedia wikis.

@thcipriani What about hosting the resources in another domain? such as https://lectrician1.cdn.wikimedia.org/discographies-js/discographies2.js

  • The URL provided by GitLab Pages (once enabled) should be stable and any MIME type may be supported
  • "This comes with a different number of 9s" - userscripts are optional and not loaded by default. At least serving them from a production domain (such as gitlab.wikimedia.org) is better than serving them from Cloud Services.
Sun, May 4, 9:01 AM · GitLab (Infrastructure), Release-Engineering-Team, MediaWiki-extensions-Gadgets, Security-Team, Security

Sat, May 3

Novem_Linguae added a watcher for MediaWiki-extensions-Gadgets: Novem_Linguae.
Sat, May 3, 9:28 PM

Fri, May 2

SD0001 closed T46233: Add ability for section description of gadgets section as Resolved.
Fri, May 2, 7:46 AM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets

Thu, May 1

ReleaseTaggerBot added a project to T46233: Add ability for section description of gadgets section: MW-1.44-notes (1.44.0-wmf.28; 2025-05-06).
Thu, May 1, 9:00 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
Maintenance_bot removed a project from T46233: Add ability for section description of gadgets section: Patch-For-Review.
Thu, May 1, 8:31 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
gerritbot added a comment to T46233: Add ability for section description of gadgets section.

Change #1109707 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@master] Add support for gadgets section descriptions

https://gerrit.wikimedia.org/r/1109707

Thu, May 1, 8:18 PM · MW-1.45-notes (1.45.0-wmf.1; 2025-05-13), MW-1.44-notes (1.44.0-wmf.28; 2025-05-06), MediaWiki-extensions-Gadgets
Samwilson added a comment to T376875: Parse API does not return category-triggered gadgets.

This doesn't seem related to Realtime Preview as that just uses the same core feature that live preview does. I've updated the description.

Thu, May 1, 3:21 AM · MediaWiki-Page-editing, MediaWiki-extensions-Gadgets
Samwilson removed a project from T376875: Parse API does not return category-triggered gadgets: Realtime Preview.
Thu, May 1, 3:19 AM · MediaWiki-Page-editing, MediaWiki-extensions-Gadgets

Apr 23 2025

Krinkle closed T385952: "Parse error: Unexpected: )" for a gadget JS file with no syntax errors, a subtask of T357197: Allow ES2017 (ES8) syntax in gadgets, as Resolved.
Apr 23 2025, 4:43 PM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets

Apr 16 2025

DMburugu moved T382959: Add support for using CommunityConfiguration to create and manage settings pages for gadgets and bots from Inbox to Triaged on the Growth-Team board.
Apr 16 2025, 3:59 PM · MediaWiki-extensions-Gadgets, Growth-Team, MediaWiki-extensions-CommunityConfiguration
DMburugu moved T382959: Add support for using CommunityConfiguration to create and manage settings pages for gadgets and bots from Support non-Growth use cases to Backlog on the MediaWiki-extensions-CommunityConfiguration board.
Apr 16 2025, 3:59 PM · MediaWiki-extensions-Gadgets, Growth-Team, MediaWiki-extensions-CommunityConfiguration
DMburugu moved T382959: Add support for using CommunityConfiguration to create and manage settings pages for gadgets and bots from Backlog to Support non-Growth use cases on the MediaWiki-extensions-CommunityConfiguration board.
Apr 16 2025, 3:58 PM · MediaWiki-extensions-Gadgets, Growth-Team, MediaWiki-extensions-CommunityConfiguration

Apr 11 2025

Aklapper changed the status of T345438: Make Special:GadgetUsage show how many users deactivate the default gadgets from In Progress to Open.

Resetting task status from "In Progress" to "Open" as this task has been "in progress" for more than one year (see T380300). Feel free to set that status again, or rather break down into smaller subtasks.

Apr 11 2025, 10:19 PM · Patch-For-Review, MediaWiki-extensions-Gadgets

Apr 8 2025

HCoplin-WMF closed T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions as Resolved.
Apr 8 2025, 3:33 PM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents
A_smart_kitten moved T332118: Add namespace translations in Angika from External to Backlog on the Scribunto board.
Apr 8 2025, 12:42 PM · MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), MW-1.41-notes (1.41.0-wmf.1; 2023-03-20), Scribunto, MediaWiki-extensions-Gadgets, I18n, MediaWiki-Internationalization
Aklapper moved T304790: Update Namespace translations on Ks Wiki from External to Backlog on the Scribunto board.
Apr 8 2025, 11:46 AM · MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), User-MarcoAurelio, MediaWiki-extensions-Gadgets, Scribunto, MW-1.39-notes (1.39.0-wmf.4; 2022-03-23), User-Juan90264, I18n, Wikimedia-Site-requests
Aklapper moved T323464: Namespace changes on uzwiki from External to Backlog on the Scribunto board.
Apr 8 2025, 11:46 AM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), User-MarcoAurelio, I18n, MediaWiki-extensions-Gadgets, Scribunto

Apr 4 2025

daniel moved T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions from Code Review to Demo Ready! on the MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)) board.
Apr 4 2025, 7:19 AM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents

Mar 26 2025

RheingoldRiver added a comment to T31272: Implement Gadgets 2.0.

Does this also mean all those properties get saved in the JSON page? It used to be that way originally, but was removed as it makes the schema harder to evolve (T331222).

Mar 26 2025, 3:58 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, Gadgets-2.0, MediaWiki-extensions-Gadgets
SD0001 added a comment to T31272: Implement Gadgets 2.0.

Additionally, we've expanded the preloaded text at any gadget contentmodel page:

...

Mar 26 2025, 3:49 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, Gadgets-2.0, MediaWiki-extensions-Gadgets

Mar 25 2025

RheingoldRiver added a comment to T31272: Implement Gadgets 2.0.

On wiki.gg we've implemented most of what I described, with one small difference:

Mar 25 2025, 9:30 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, Gadgets-2.0, MediaWiki-extensions-Gadgets
HCoplin-WMF edited projects for T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions, added: MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)); removed MW-Interfaces-Team (MWI-Sprint-5 (2025-03-11 to 2025-03-25)).
Mar 25 2025, 2:34 PM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents

Mar 24 2025

ReleaseTaggerBot added a project to T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions: MW-1.44-notes (1.44.0-wmf.22; 2025-03-25).
Mar 24 2025, 10:00 PM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents
Maintenance_bot removed a project from T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions: Patch-For-Review.
Mar 24 2025, 9:30 PM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents
gerritbot added a comment to T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions.

Change #1122193 merged by jenkins-bot:

[mediawiki/extensions/Gadgets@master] Use events instead of hooks where possible

https://gerrit.wikimedia.org/r/1122193

Mar 24 2025, 9:21 PM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents

Mar 22 2025

Od1n added a comment to T357197: Allow ES2017 (ES8) syntax in gadgets.

@Xover Note that browser requirements for the optional JavaScript layer are very different from browser requirements to render web pages (HTML/CSS). https://www.mediawiki.org/wiki/Compatibility#Browsers

Mar 22 2025, 9:48 AM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets
Krinkle added a comment to T357197: Allow ES2017 (ES8) syntax in gadgets.

@Xover Note that browser requirements for the optional JavaScript layer are very different from browser requirements to render web pages (HTML/CSS). https://www.mediawiki.org/wiki/Compatibility#Browsers

Mar 22 2025, 9:36 AM · MediaWiki-Platform-Team (Radar), MediaWiki-extensions-Gadgets

Mar 16 2025

This_was_the_i moved T323464: Namespace changes on uzwiki from Backlog to External on the Scribunto board.
Mar 16 2025, 12:23 PM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), User-MarcoAurelio, I18n, MediaWiki-extensions-Gadgets, Scribunto
This_was_the_i moved T304790: Update Namespace translations on Ks Wiki from Backlog to External on the Scribunto board.
Mar 16 2025, 12:23 PM · MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), User-MarcoAurelio, MediaWiki-extensions-Gadgets, Scribunto, MW-1.39-notes (1.39.0-wmf.4; 2022-03-23), User-Juan90264, I18n, Wikimedia-Site-requests
This_was_the_i moved T332118: Add namespace translations in Angika from Backlog to External on the Scribunto board.
Mar 16 2025, 12:23 PM · MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), MW-1.41-notes (1.41.0-wmf.1; 2023-03-20), Scribunto, MediaWiki-extensions-Gadgets, I18n, MediaWiki-Internationalization

Mar 15 2025

Reedy added a subtask for T311099: Allow on-wiki scripts and gadgets to use Codex icons: T388964: Create https://www.mediawiki.org/wiki/Special:MyLanguage/API:CodexIcons.
Mar 15 2025, 12:42 PM · MW-1.44-notes (1.44.0-wmf.21; 2025-03-18), Patch-For-Review, MediaWiki-extensions-Gadgets, Design-System-Team, User-DannyS712, Codex
ReleaseTaggerBot added a project to T311099: Allow on-wiki scripts and gadgets to use Codex icons: MW-1.44-notes (1.44.0-wmf.21; 2025-03-18).
Mar 15 2025, 1:00 AM · MW-1.44-notes (1.44.0-wmf.21; 2025-03-18), Patch-For-Review, MediaWiki-extensions-Gadgets, Design-System-Team, User-DannyS712, Codex
gerritbot added a comment to T311099: Allow on-wiki scripts and gadgets to use Codex icons.

Change #1109112 merged by jenkins-bot:

[mediawiki/core@master] api: Add query module for retrieving Codex icons

https://gerrit.wikimedia.org/r/1109112

Mar 15 2025, 12:16 AM · MW-1.44-notes (1.44.0-wmf.21; 2025-03-18), Patch-For-Review, MediaWiki-extensions-Gadgets, Design-System-Team, User-DannyS712, Codex

Mar 13 2025

Pppery removed a project from T185996: Change gadgets' names for Russian Wikipedia: MediaWiki-Maintenance-system.
Mar 13 2025, 9:31 PM · MediaWiki-extensions-Gadgets, Russian-Sites

Mar 11 2025

HCoplin-WMF edited projects for T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions, added: MW-Interfaces-Team (MWI-Sprint-5 (2025-03-11 to 2025-03-25)); removed MW-Interfaces-Team (MWI-Sprint-4 (2025-02-25 to 2025-03-11)).
Mar 11 2025, 3:30 PM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents
daniel removed a subtask for T388108: Make the gadgets extension use events instead of hooks to invalidate caches on edits and deletions: T388488: Make the Wikistories extension use events instead of hooks to invalidate caches on edits and deletions.
Mar 11 2025, 6:23 AM · MW-Interfaces-Team (MWI-Sprint-6 (2025-03-25 to 2025-04-08)), MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-extensions-Gadgets, MediaWiki-DomainEvents

Mar 10 2025

Jdlrobson-WMF closed T381817: Special:Gadget should add Codex message box styles to page as Resolved.

thanks!

Mar 10 2025, 4:36 PM · MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), MediaWiki-extensions-Gadgets

Mar 8 2025

ReleaseTaggerBot added a project to T381817: Special:Gadget should add Codex message box styles to page: MW-1.44-notes (1.44.0-wmf.20; 2025-03-11).
Mar 8 2025, 4:00 AM · MW-1.44-notes (1.44.0-wmf.20; 2025-03-11), MediaWiki-extensions-Gadgets