Page MenuHomePhabricator

Cannot require undefined file in Special:Homepage
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Navigate to Special:Homepage in any beta wiki, (beta eswiki)
  • Observe the JS console

What happens?:
An uncaught error is thrown:

Error: Cannot require undefined file ext.growthExperiments.Homepage.Impact/index.js
    at require (startup.js:1009:11)
    at homepage.init.js:3:3
    at homepage.init.js (homepage.init.js:45:2)
    at runScript (startup.js:1282:6)
    at execute (startup.js:1403:4)
    at doPropagation (startup.js:748:6)

The error prevents the execution of some of the homepage modules JS code

What should have happened instead?:
No error should be thrown on the homepage load, all modules JS should run correctly.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Most probably a fallout of I049baf90a37453863354bd3e5b134866818c1604

Event Timeline

Sgs triaged this task as Unbreak Now! priority.Wed, Oct 9, 10:14 AM
Sgs moved this task from Inbox to Current Sprint on the Growth-Team board.
Sgs edited projects, added Growth-Team (Current Sprint); removed Growth-Team.

Change #1078914 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] Homepage: avoid loading inexisting script

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

Sgs lowered the priority of this task from Unbreak Now! to Needs Triage.
Sgs moved this task from Incoming to Code Review on the Growth-Team (Current Sprint) board.

Change #1078914 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Homepage: avoid loading inexisting script

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