mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-24 00:05:50 +00:00
4b53afc983
If $wgRelatedArticlesShowInFooter is false, then we'll still test whether or not the page is a disambiguation page with the Disambiguator extension. Unfortunately, DisambiguatorHooks::isDisambiguationPage hits the DB. Order the tests in RelatedArticles\FooterHooks::onBeforePageDisplay from least expensive to most expensive so that the DB is queried only when it must be. This version of the patch takes into account namespace. Bug: T127068 Bug: T144409 Change-Id: Ie6ddaa4e9bd8326c8b84dc400b78e9a4f4d0d78d |
||
---|---|---|
i18n | ||
images/BetaFeatures | ||
includes | ||
resources | ||
tests | ||
.gitignore | ||
.gitreview | ||
.jscsrc | ||
.jshintignore | ||
.jshintrc | ||
.rubocop.yml | ||
composer.json | ||
extension.json | ||
Gemfile | ||
Gemfile.lock | ||
Gruntfile.js | ||
HISTORY | ||
package.json | ||
phpcs.xml | ||
Rakefile | ||
README | ||
RelatedArticles.i18n.magic.php | ||
RelatedArticles.php |
For information on how to install and use this extension, please see: <https://www.mediawiki.org/wiki/Extension:RelatedArticles>