Page MenuHomePhabricator

Regression [production]: Adding a new topic throws an error
Closed, ResolvedPublic

Description

Replication steps:

I'm seeing the following error when adding a section to local, non-proxied content:

load.php?debug=false&lang=en&modules=jquery&skin=minerva&version=00rdyep:51 jQuery.Deferred exception: LoadingOverlay is not a constructor TypeError: LoadingOverlay is not a constructor
    at <anonymous>:215:683
    at OoEventEmitter.oo.EventEmitter.emit (<anonymous>:65:486)
    at <anonymous>:102:527
    at mightThrow (http://localhost:8181/w/load.php?debug=false&lang=en&modules=jquery&skin=minerva&version=00rdyep:48:856)
    at process (http://localhost:8181/w/load.php?debug=false&lang=en&modules=jquery&skin=minerva&version=00rdyep:49:516)

The URL in my case is http://localhost:8181/wiki/Talk:Woooo. Let me know if you have trouble reproducing.

QA steps

QA Results

StatusDetails
✅ PassedT216853#4983623

Event Timeline

Change 492400 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@master] Correct path for obtaining loadingOverlay

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

Change 492400 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Correct path for obtaining loadingOverlay

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

@Edtadros I've setup staging so you can test this!

Edtadros subscribed.

Test Result

Status: ✅ PASS
OS: macOS Mojave
Browser: Chrome DevTools Device Emulator (iPhone X)

Test Steps and Artifact(s):

StepDescriptionStatusArtifact
1Ask a developer to turn off API proxying on reading web stagingThanks @Jdlrobson T216853#4982396
2Visit https://reading-web-staging.wmflabs.org/wiki/User_talk:Jdlrobson as a logged in user on mobile.
3Click talk
4Click add a discussion
5Fill in a topic (subject and text) and hit save
6Verify it saved.
T216853.png (2×1 px, 257 KB)

Looks good, thanks all