Page MenuHomePhabricator

"Read more" items at the bottom of articles should be loaded lazily.
Closed, ResolvedPublic

Description

We display three "read more" suggestions at the bottom of every article. This requires a separate API call, and we make this call unconditionally, upon every page view.
However, it's a small fraction of sessions when the user will actually scroll all the way to the bottom of an article. Therefore it's unnecessary to load these items unless the user scrolls far enough for them to be visible. (Mobile web already does it this way.)

Event Timeline

Change 982154 had a related patch set uploaded (by Dbrant; author: Dbrant):

[mediawiki/services/mobileapps@master] [WIP] No longer use page/related endpoint, and load lazily.

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

When it is time to test please test for Android and iOS @ABorbaWMF

Change #982154 merged by jenkins-bot:

[mediawiki/services/mobileapps@master] No longer use page/related endpoint, and offer lazy loading.

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