Page MenuHomePhabricator

Homepage: null pageviews should not be a link
Closed, ResolvedPublicBUG REPORT

Description

This bug found by @Urbanecm.

Steps to Reproduce:

Open up a production Wikipedia. Save an edit on a page in the article namespace. Go to your newcomer homepage. Click the link in the impact module for that article's pageviews (the link labeled "--").

Actual Results:

The "--" is a link that tries to open up the Pageviews Analysis tool, which tries to open with a "from" date after the "to" date. This spins for a couple minutes and then errors out. That bug with the Pageviews Analysis tool is filed at T222403.

image.png (534×1 px, 295 KB)

Expected Results:

The "--" should not be a link at all, because there are no pageviews to see yet. We want to convey to the newbie that they should check back tomorrow for pageviews, but we haven't come up with a good design for that yet (T216220).

Note: this is important to fix before turning on the experiment on May 6.

Event Timeline

Change 507956 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/extensions/GrowthExperiments@master] Impact: No link to pageviews tool when data is not available (--)

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

Change 507956 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Impact: No link to pageviews tool when data is not available (--)

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

Moving for PM review. Checked in betalabs - the link is not present until Pageviews will get updated info.

Open questions:
(1) Could we prioritize T216220: Homepage: design for indicating that the user should check back for pageviews and T216220: Homepage: design for indicating that the user should check back for pageviews?
(2) Presently there is no info to user (not even a tooltip) what -- means. And -- stays on a page for about 24h.

Change 508315 had a related patch set uploaded (by Kosta Harlan; owner: Sbisson):
[mediawiki/extensions/GrowthExperiments@wmf/1.34.0-wmf.3] Impact: No link to pageviews tool when data is not available (--)

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

Change 508315 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@wmf/1.34.0-wmf.3] Impact: No link to pageviews tool when data is not available (--)

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

Mentioned in SAL (#wikimedia-operations) [2019-05-06T18:47:10Z] <catrope@deploy1001> Synchronized php-1.34.0-wmf.3/extensions/GrowthExperiments/: Remove link to pageviews tool when no data available (T222405) (duration: 00m 52s)