mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-28 10:10:35 +00:00
Do not disable footer feature when BetaFeatures is not installed
Bug: T146436 Change-Id: I0ac855cdace3f40977ca3af3cfc187856532bba8
This commit is contained in:
parent
473108939a
commit
3cf6d638f7
|
@ -86,7 +86,7 @@ class FooterHooks {
|
|||
if ( $skinName === 'minerva' ) {
|
||||
return true;
|
||||
}
|
||||
return class_exists( 'BetaFeatures' ) && BetaFeatures::isFeatureEnabled( $user, 'read-more' );
|
||||
return !class_exists( 'BetaFeatures' ) || BetaFeatures::isFeatureEnabled( $user, 'read-more' );
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue