Page MenuHomePhabricator

[wmf.3] GuidedTours are broken (originally: Homepage: No intro tours for new accounts)
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue

  • Create a new account on any wiki (tested on testwiki and guwiki)
  • Special:Welcome page is correctly displayed and a user have a prompt to go to Special:Homepage

What happens?:

  • Special:Homepage is displayed correctly but a new user doesn't see the intro tours
  • the Console error is displayed
jquery.js:3783 jQuery.Deferred exception: Cannot read properties of undefined (reading 'isSinglePage') TypeError: Cannot read properties of undefined (reading 'isSinglePage')
    at Step.handleOnShow (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C…styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:1176:813)
    at options.onShow (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C…styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:1179:369)
    at mw.libs.guiders.guiders.show (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C…styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:1215:105)
    at https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C…styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:1185:180
    at fire (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C….styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:198:705)
    at fireWith (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C….styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:199:903)
    at mightThrow (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C….styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:202:252)
    at process (https://gu.wikipedia.org/w/load.php?lang=gu&modules=%40wikimedia%2Fcodex%2C….styles.icons-content%2Cicons-media&skin=vector-2022&version=ru901:202:309) undefined

What should have happened instead?:

  • the intro tours should be displayed to new users landing on Special:Homepage

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

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Maybe even all tours are broken! At least I tested it with the built-in ?tour=uprightdownleft and it fails with the same error

Michael moved this task from Incoming to Doing on the Growth-Team (Current Sprint) board.
Michael added a subscriber: Pppery.

All tours are indeed broken everywhere, including The-Wikipedia-Adventure. Will upload a fix.

Michael renamed this task from [wmf.3] Homepage: No intro tours for new accounts to [wmf.3] GuidedTours are broken (originally: Homepage: No intro tours for new accounts).Nov 18 2024, 10:19 AM

Change #1092200 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GuidedTour@master] fix tours by finishing partial variable rename

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

Change #1092200 merged by jenkins-bot:

[mediawiki/extensions/GuidedTour@master] fix tours by finishing partial variable rename

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

Change #1092207 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GuidedTour@master] Add Cypress test to confirm tours working

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

Added a browser-test to prevent this from happening again.

Change #1092207 merged by jenkins-bot:

[mediawiki/extensions/GuidedTour@master] Add Cypress test to confirm tours working

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

Both merged, thanks @Michael! Should we backport this?

Both merged, thanks @Michael! Should we backport this?

Sorry, seeing this only now. Yeah, backporting makes sense to me, otherwise we would need to wait till Thursday for it to roll out to most Wikipedias.

Thanks for the notice, but I don't think general GuidedTour issues should have that project tag. And I'm already watching MediaWiki-extensions-GuidedTour so don't need to be manually subscribed.

Change #1092741 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/GuidedTour@wmf/1.44.0-wmf.3] fix tours by finishing partial variable rename

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

Change #1092741 merged by jenkins-bot:

[mediawiki/extensions/GuidedTour@wmf/1.44.0-wmf.3] fix tours by finishing partial variable rename

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

Mentioned in SAL (#wikimedia-operations) [2024-11-19T08:34:04Z] <urbanecm@deploy2002> Started scap sync-world: Backport for [[gerrit:1092741|fix tours by finishing partial variable rename (T380071)]], [[gerrit:1092364|affcom contactpages: Fix Letter of intent and logo field labels (T375392)]], [[gerrit:1092743|Add nowiki to commonsuploads dblist (T380252)]]

Mentioned in SAL (#wikimedia-operations) [2024-11-19T08:39:41Z] <urbanecm@deploy2002> ammarpad, migr, jhsoby, urbanecm: Backport for [[gerrit:1092741|fix tours by finishing partial variable rename (T380071)]], [[gerrit:1092364|affcom contactpages: Fix Letter of intent and logo field labels (T375392)]], [[gerrit:1092743|Add nowiki to commonsuploads dblist (T380252)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-11-19T08:48:34Z] <urbanecm@deploy2002> Finished scap sync-world: Backport for [[gerrit:1092741|fix tours by finishing partial variable rename (T380071)]], [[gerrit:1092364|affcom contactpages: Fix Letter of intent and logo field labels (T375392)]], [[gerrit:1092743|Add nowiki to commonsuploads dblist (T380252)]] (duration: 14m 29s)

Checked Growth Homepage intro tours on beta and on testwiki wmf.4 - works as expected.