mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-12-18 02:50:43 +00:00
9ede8913c7
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. Bug: T127068 Change-Id: Ie3e7e410026cf354d831ae3c2134cfc0957eb8db |
||
---|---|---|
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>