Page MenuHomePhabricator

Nothing is shown after visiting Special:Homepage by following links on mobile
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

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

  • Make sure JavaScript is working.
  • Try editing an article that should not have been suggested to you because it had already been edited before and click 'Back to all suggested edits' when an error message is inevitably shown.

OR:
Edit a page and click 'View all suggested edits' after the success message is shown.

What happens?:
A seemingly blank page is shown albeit there must be some HTML in there because the page title is displayed correctly.

What should have happened instead?:
The usual newcomer homepage should have loaded.

Other information (browser name/version, screenshots, etc.):
Browser: Chrome 138.0.7204.63 (mobile)

Notes

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Redmin renamed this task from Nothing is shown after visiting Special:Homepage by following links to Nothing is shown after visiting Special:Homepage by following links on mobile.Jul 21 2025, 4:04 AM
Redmin updated the task description. (Show Details)
Etonkovidova subscribed.

The issue is reproducible on testwiki wmf.11 - in a browser emulator (Chrome) and on a real device (iPhone); see the gif below:

blank_page_post_edit3.gif (690×366 px, 127 KB)

<a class="oo-ui-buttonElement-button" role="button" tabindex="0" href="/w/index.php?title=Special:Homepage&amp;source=postedit-panel&amp;overlay=1#/homepage/suggested-edits" rel="nofollow"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon"></span><span class="oo-ui-labelElement-label">View all suggested edits</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator"></span></a>

Reloading the page redirects successfully to Special:Homepage

Not yet sure what is going on.

That the page is white is due to this rule that is setting display: none; on the body:

.client-js body.mw-special-Homepage.growthexperiments-homepage-mobile-summary--opening-overlay {
  display: none;
}

The browser console has these four warnings:

mediawiki.jqueryMsg: growthexperiments-homepage-mentorship-optout-text: can't access property "mwJQueryMsgHasAlreadyBeenUsedAsAReplacement", replacements[index] is null mediawiki.jqueryMsg.js:164:11
mediawiki.jqueryMsg: growthexperiments-homepage-mentorship-about-subheader-mentor: can't access property "mwJQueryMsgHasAlreadyBeenUsedAsAReplacement", replacements[index] is null mediawiki.jqueryMsg.js:164:11
mediawiki.jqueryMsg: growthexperiments-homepage-mentorship-about-mentor-par1: can't access property "mwJQueryMsgHasAlreadyBeenUsedAsAReplacement", replacements[index] is null mediawiki.jqueryMsg.js:164:11
mediawiki.jqueryMsg: growthexperiments-homepage-mentorship-about-mentor-par2: can't access property "mwJQueryMsgHasAlreadyBeenUsedAsAReplacement", replacements[index] is null mediawiki.jqueryMsg.js:164:11
mediawiki.jqueryMsg: growthexperiments-homepage-mentorship-optout-text: can't access property "mwJQueryMsgHasAlreadyBeenUsedAsAReplacement", replacements[index] is null mediawiki.jqueryMsg.js:164:11

They might or might not be related.

The error can indeed be reliably reproduced with this link: https://en.wikipedia.beta.wmcloud.org/w/index.php?title=Special:Homepage&source=postedit-panel&overlay=1#/homepage/suggested-edits

So it was introduced for T297233 then, apparently to hide the homepage till the overlay loaded. The problem, of course, is that the latter does not happen any more.

KStoller-WMF lowered the priority of this task from High to Medium.Aug 18 2025, 4:29 PM

Change #1216798 had a related patch set uploaded (by Cyndywikime; author: Cyndywikime):

[mediawiki/extensions/GrowthExperiments@master] Fix blank page when navigating to Special:Homepage with overlay parameter

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

Change #1216798 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Fix blank page when navigating to Special:Homepage with overlay parameter

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

Checked both test case scenarios described in the task description - in both cases the SE page is displayed.

  • clicking on 'Back to all suggested edits' - works as expected
  • clicking on 'View all suggested edits' - works as expected