mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-24 00:05:50 +00:00
18990e6631
When $wgRelatedArticlesShowReadMore was false, while deciding whether to show related articles on the sidebar, we used to incorrectly consider whether BetaFeatures was enabled for the user. BetaFeatures should only be used for enabling ReadMore and not for showing related articles on the sidebar. We also used to show the beta features option for ReadMore even when the ReadMore feature was disabled. Now we only show that option if ReadMore is enabled. Also rename isAbleToShowRelatedPages to isInSidebar to make the function less confusing. Bug: T119926 Change-Id: Ia5e44d94bb20660af711772cab7e3a59f98c931f |
||
---|---|---|
.. | ||
Hooks.php | ||
ReadMoreHooks.php |