mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-13 18:26:56 +00:00
a3d9b22a66
Related articles are loaded when the user scrolls past half the document height, which used to be calculated on page load. This height, however, changes after all sections are collapsed on small screens, thus never loading the related articles for the page. Calculating the document height just before showing related articles allows us to correctly decide whether it's time to load the needed modules. Bug: T121263 Change-Id: I1266894ab763cfb571b14f067086445fb6be1887 |
||
---|---|---|
.. | ||
ext.relatedArticles.readMore | ||
ext.relatedArticles.readMore.bootstrap | ||
ext.relatedArticles.readMore.gateway |