Page MenuHomePhabricator

Uncaught Error: Module "mediawiki.storage" is not loaded (from tempUserBanner.js)
Closed, ResolvedPublic

Description

Uncaught Error: Module "mediawiki.storage" is not loaded
at require 
at require
at tempUserBanner.js http://localhost:4000/load.php?lang=en&modules=mediawiki.tempUserBanner&skin=vector&version=1cjjs:1

Looks like it is caused by this change, which used a module without declaring the dependency.

Change 1192868 merged:

[mediawiki/core@master] tempUserBanner: make use of mw.storage instead of localStorage

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

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Dreamy_Jazz moved this task from Inbox to Triaged (backlog) on the Product Safety and Integrity board.
Dreamy_Jazz subscribed.

T401978: TypeError: Cannot read properties of null (reading 'getItem'), the task which introduced it based on the ticket description, was handled by the Growth-Team so tagging them

KStoller-WMF moved this task from Product Backlog to Needs Estimation on the Growth-Team board.

Change #1238847 had a related patch set uploaded (by SomeRandomDeveloper; author: SomeRandomDeveloper):

[mediawiki/core@master] mediawiki.tempUserBanner: Add missing dependency

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

Change #1238847 merged by jenkins-bot:

[mediawiki/core@master] mediawiki.tempUserBanner: Add missing dependency

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