Page MenuHomePhabricator

JavaScriptTag
ActivePublic

Members (9)

Watchers (11)

Details

Description

Tasks related to JavaScript in MediaWiki core or extensions.

See also Instrument-ClientError (Javascript error logging in Wikimedia production).

Recent Activity

Today

Nikerabbit closed T279297: Error: Unable to parse title at ve.ce.MWImageNode.static.getDescription as Resolved.

There are only a few Error: Unable to parse title items on Logstash and none are from this code path.

Wed, May 21, 8:12 AM · JavaScript, VisualEditor, ContentTranslation, Wikimedia-production-error
Nikerabbit moved T279297: Error: Unable to parse title at ve.ce.MWImageNode.static.getDescription from Bugs to *Translation editor on the ContentTranslation board.
Wed, May 21, 8:08 AM · JavaScript, VisualEditor, ContentTranslation, Wikimedia-production-error

Yesterday

simon04 updated the task description for T374314: Use native URL API instead of mw.Uri.
Tue, May 20, 7:00 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
Maintenance_bot added a project to T394820: Replace use of mw.Uri with native URL API: Abstract Wikipedia team.
Tue, May 20, 6:30 PM · Abstract Wikipedia team, WikiLambda Front-end, Abstract Wikipedia Fix-It tasks, Essential-Work, WikiLambda, Technical-Debt, JavaScript
Jdforrester-WMF created T394820: Replace use of mw.Uri with native URL API.
Tue, May 20, 5:42 PM · Abstract Wikipedia team, WikiLambda Front-end, Abstract Wikipedia Fix-It tasks, Essential-Work, WikiLambda, Technical-Debt, JavaScript
apaskulin moved T373973: JSDoc of mw.notification.notify is incorrect from Backlog to To be discussed further on the JSDoc WMF theme board.
Tue, May 20, 4:27 PM · Patch-For-Review, JSDoc WMF theme, Tech-Docs-Team, MediaWiki-General, JavaScript, Documentation
SerDIDG created T394776: Trigger diff-specific functions using the wikipage.diff hook in Mobile Diffs.
Tue, May 20, 1:12 PM · JavaScript, MinervaNeue, MobileFrontend
ReleaseTaggerBot edited projects for T374314: Use native URL API instead of mw.Uri, added: MW-1.45-notes (1.45.0-wmf.3; 2025-05-27); removed MW-1.45-notes (1.45.0-wmf.2; 2025-05-20).
Tue, May 20, 10:00 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
gerritbot added a comment to T374314: Use native URL API instead of mw.Uri.

Change #1141463 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Use browser native URL instead of mw.Uri

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

Tue, May 20, 9:47 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General

Mon, May 19

gerritbot added a comment to T374314: Use native URL API instead of mw.Uri.

Change #1143657 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Use browser native URL instead of mw.Uri

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

Mon, May 19, 8:07 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
Etonkovidova added a comment to T374314: Use native URL API instead of mw.Uri.

Checked https://gerrit.wikimedia.org/r/c/mediawiki/extensions/UploadWizard/+/1141463 on commons beta
Will check in commons wiki production after deployment.

Mon, May 19, 7:56 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
MusikAnimal added a comment to T360592: wikipage.content mw.hook doesn't reliably send #mw-content-text to handlers registered as early as possible.

I think this is a misconception of the wikipage.content hook. It is not restricted to solely #mw-content-text. I've filed T394707: Do something about misconceptions of the wikipage.content hook.

Mon, May 19, 5:16 PM · JavaScript, MediaWiki-User-Interface
MusikAnimal added a project to T394707: Do something about misconceptions of the wikipage.content hook: JavaScript.
Mon, May 19, 5:15 PM · JavaScript, MediaWiki-User-Interface

Sun, May 18

Bugreporter added a comment to T394596: Add wgMobileServer (or wgMobileUrl) constant to mw.config in JavaScript..

Mobile domain is plan to be deprecated per T214998: RFC: Remove m-dot subdomain, serve mobile and desktop variants through the same URL.

Sun, May 18, 4:07 PM · MediaWiki-User-Interface, JavaScript, MobileFrontend
SerDIDG updated the task description for T394596: Add wgMobileServer (or wgMobileUrl) constant to mw.config in JavaScript..
Sun, May 18, 7:55 AM · MediaWiki-User-Interface, JavaScript, MobileFrontend
SerDIDG added a project to T394596: Add wgMobileServer (or wgMobileUrl) constant to mw.config in JavaScript.: MediaWiki-User-Interface.
Sun, May 18, 6:37 AM · MediaWiki-User-Interface, JavaScript, MobileFrontend
SerDIDG removed projects from T394596: Add wgMobileServer (or wgMobileUrl) constant to mw.config in JavaScript.: Wikidata, Wikibase-JavaScript-Api.
Sun, May 18, 6:33 AM · MediaWiki-User-Interface, JavaScript, MobileFrontend
Maintenance_bot added a project to T394596: Add wgMobileServer (or wgMobileUrl) constant to mw.config in JavaScript.: Wikidata.
Sun, May 18, 6:29 AM · MediaWiki-User-Interface, JavaScript, MobileFrontend
SerDIDG created T394596: Add wgMobileServer (or wgMobileUrl) constant to mw.config in JavaScript..
Sun, May 18, 6:09 AM · MediaWiki-User-Interface, JavaScript, MobileFrontend

Fri, May 16

PatchDemoBot added a comment to T373973: JSDoc of mw.notification.notify is incorrect.

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

Fri, May 16, 7:30 PM · Patch-For-Review, JSDoc WMF theme, Tech-Docs-Team, MediaWiki-General, JavaScript, Documentation
PatchDemoBot added a comment to T373973: JSDoc of mw.notification.notify is incorrect.

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

Fri, May 16, 7:28 PM · Patch-For-Review, JSDoc WMF theme, Tech-Docs-Team, MediaWiki-General, JavaScript, Documentation
ReleaseTaggerBot added a project to T342040: TypeError: undefined is not an object (evaluating 'src[src.length-1].res') : MW-1.45-notes (1.45.0-wmf.2; 2025-05-20).
Fri, May 16, 7:00 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), JavaScript, Unstewarded-production-error, TimedMediaHandler, Wikimedia-production-error
Maintenance_bot removed a project from T342040: TypeError: undefined is not an object (evaluating 'src[src.length-1].res') : Patch-For-Review.
Fri, May 16, 6:30 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), JavaScript, Unstewarded-production-error, TimedMediaHandler, Wikimedia-production-error
Novem_Linguae updated the task description for T381537: Raise Grade A JavaScript requirement from ES2016 (ES7) to ES2017 (ES8).
Fri, May 16, 6:21 PM · Patch-For-Review, User-notice, MediaWiki-Platform-Team, MediaWiki-ResourceLoader, JavaScript
gerritbot added a comment to T381537: Raise Grade A JavaScript requirement from ES2016 (ES7) to ES2017 (ES8).

Change #1141401 merged by jenkins-bot:

[mediawiki/core@master] Resourceloader: Raise compatibility test for ES2017

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

Fri, May 16, 6:15 PM · Patch-For-Review, User-notice, MediaWiki-Platform-Team, MediaWiki-ResourceLoader, JavaScript
gerritbot added a comment to T342040: TypeError: undefined is not an object (evaluating 'src[src.length-1].res') .

Change #1145254 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] Defensively check JS objects in chooseSrc to avoid JS errors

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

Fri, May 16, 6:09 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), JavaScript, Unstewarded-production-error, TimedMediaHandler, Wikimedia-production-error

Thu, May 15

Tacsipacsi updated the task description for T374314: Use native URL API instead of mw.Uri.
Thu, May 15, 9:54 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
gerritbot added a comment to T374314: Use native URL API instead of mw.Uri.

Change #1146717 had a related patch set uploaded (by Simon04; author: Simon04):

[mediawiki/core@master] Make mw.util.getParamValue use URLSearchParams

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

Thu, May 15, 8:00 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
ReleaseTaggerBot added a project to T348691: $textarea is undefined: MW-1.45-notes (1.45.0-wmf.2; 2025-05-20).
Thu, May 15, 7:00 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), User-Jdlrobson, patch-welcome, JavaScript, MediaWiki-extensions-Disambiguator, Wikimedia-production-error
Maintenance_bot removed a project from T348691: $textarea is undefined: Patch-For-Review.
Thu, May 15, 6:30 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), User-Jdlrobson, patch-welcome, JavaScript, MediaWiki-extensions-Disambiguator, Wikimedia-production-error
Quiddity updated the task description for T381537: Raise Grade A JavaScript requirement from ES2016 (ES7) to ES2017 (ES8).
Thu, May 15, 6:25 PM · Patch-For-Review, User-notice, MediaWiki-Platform-Team, MediaWiki-ResourceLoader, JavaScript
gerritbot added a comment to T348691: $textarea is undefined.

Change #1145381 merged by jenkins-bot:

[mediawiki/extensions/Disambiguator@master] Inject $textarea into the handler functions

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

Thu, May 15, 6:23 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), User-Jdlrobson, patch-welcome, JavaScript, MediaWiki-extensions-Disambiguator, Wikimedia-production-error
KSiebert removed a project from T42763: Implement repeated/fixed/floating/sticky table headers: Wikimedia Wishathon.
Thu, May 15, 8:16 AM · Timeless, MediaWiki-User-Interface (Tables), JavaScript
gerritbot added a comment to T374314: Use native URL API instead of mw.Uri.

Change #1146196 had a related patch set uploaded (by Simon04; author: Simon04):

[mediawiki/extensions/MediaSearch@master] Use browser native URL instead of mw.Uri

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

Thu, May 15, 5:56 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
simon04 updated the task description for T374314: Use native URL API instead of mw.Uri.
Thu, May 15, 5:42 AM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General

Wed, May 14

ReleaseTaggerBot edited projects for T374314: Use native URL API instead of mw.Uri, added: MW-1.45-notes (1.45.0-wmf.2; 2025-05-20); removed MW-1.45-notes (1.45.0-wmf.1; 2025-05-13).
Wed, May 14, 1:01 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
gerritbot added a comment to T374314: Use native URL API instead of mw.Uri.

Change #1143105 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Use browser native URL instead of mw.Uri

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

Wed, May 14, 12:21 PM · MW-1.45-notes (1.45.0-wmf.3; 2025-05-27), MW-1.43-notes (1.43.0-wmf.27; 2024-10-15), Patch-For-Review, Technical-Debt, JavaScript, MediaWiki-General
Nikerabbit merged task T259558: TypeError: node.getModel().getTranslationIssues is not a function into T372636: Content Translation: TypeError: node.getModel(...).getTranslationIssues is not a function .
Wed, May 14, 8:59 AM · JavaScript, Wikimedia-production-error, ContentTranslation
Jdlrobson-WMF added a project to T276737: mw.util.getUrl using params should use short urls if they exist: mediawiki.util.
Wed, May 14, 5:06 AM · mediawiki.util, MediaWiki-General, JavaScript
Jdlrobson-WMF added a project to T372183: Proposal: mw.util.sanitizeIP should return null when a non-IP string is passed: mediawiki.util.
Wed, May 14, 5:05 AM · mediawiki.util, JavaScript, MediaWiki-User-Interface
Samwilson removed a project from T348691: $textarea is undefined: WikiEditor (2010).

It seems odd to clutter up, e.g., the WikiEditor (2010) workboard with this.

Wed, May 14, 2:24 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), User-Jdlrobson, patch-welcome, JavaScript, MediaWiki-extensions-Disambiguator, Wikimedia-production-error
gerritbot added a project to T348691: $textarea is undefined: Patch-For-Review.
Wed, May 14, 2:22 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), User-Jdlrobson, patch-welcome, JavaScript, MediaWiki-extensions-Disambiguator, Wikimedia-production-error
gerritbot added a comment to T348691: $textarea is undefined.

Change #1145381 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/extensions/Disambiguator@master] Inject $textarea into the handler functions

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

Wed, May 14, 2:22 AM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), User-Jdlrobson, patch-welcome, JavaScript, MediaWiki-extensions-Disambiguator, Wikimedia-production-error

Tue, May 13

Jdlrobson-WMF added a comment to T279321: TypeError: Cannot read property 'isWrapped' of null in shallowCloneFromRange.

Update: No errors in last 7 days for the stack trace at VeDmDocument.ve.dm.Document.shallowCloneFromRange

Tue, May 13, 4:17 PM · JavaScript, VisualEditor, Wikimedia-production-error
Restricted Application changed the subtype of T255641: " TypeError: surface.getModel().getSelection().getRange is not a function" appearing in the console in a specific scenario from "Task" to "Production Error".

Now only occurring on Arabic Wikipedia at low volume.

Tue, May 13, 4:16 PM · DiscussionTools, Editing-team (Tracking), JavaScript, Wikimedia-production-error, VisualEditor
Restricted Application changed the subtype of T259558: TypeError: node.getModel().getTranslationIssues is not a function from "Task" to "Production Error".

No errors in last 7 days. Was this fixed?

Tue, May 13, 4:15 PM · JavaScript, Wikimedia-production-error, ContentTranslation
Jdlrobson-WMF moved T332940: TypeError: undefined is not an object (evaluating 'a.j') / (evaluating 'a.h' / evaluating 'a.fa') from Backlog to Post-migration on the Web Team Essential Work 2025 (Use the same search UI in mobile and desktop) board.
Tue, May 13, 4:10 PM · Web Team Essential Work 2025 (Use the same search UI in mobile and desktop), JavaScript, SDAW-Search-Improvements, Discovery-Search, WMF-General-or-Unknown, Wikimedia-production-error, MediaWiki-extensions-WikimediaEvents, CirrusSearch
Jdlrobson-WMF added a project to T332940: TypeError: undefined is not an object (evaluating 'a.j') / (evaluating 'a.h' / evaluating 'a.fa'): Web Team Essential Work 2025 (Use the same search UI in mobile and desktop).
Tue, May 13, 4:10 PM · Web Team Essential Work 2025 (Use the same search UI in mobile and desktop), JavaScript, SDAW-Search-Improvements, Discovery-Search, WMF-General-or-Unknown, Wikimedia-production-error, MediaWiki-extensions-WikimediaEvents, CirrusSearch
DLynch closed T368684: [Mobile] TypeError: Cannot read properties of undefined (reading 'close') as Resolved.

I expanded it out to a slightly longer timeframe, and all we've seen this year is the same normalized error message but actually sourced from https://en.wikipedia.org/w/index.php?title=User:Chlod/Scripts/Deputy.js.

Tue, May 13, 4:09 PM · JavaScript, Wikimedia-production-error, VisualEditor
gerritbot added a project to T342040: TypeError: undefined is not an object (evaluating 'src[src.length-1].res') : Patch-For-Review.
Tue, May 13, 4:08 PM · MW-1.45-notes (1.45.0-wmf.2; 2025-05-20), JavaScript, Unstewarded-production-error, TimedMediaHandler, Wikimedia-production-error