mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 08:50:33 +00:00
Enable ReferencePreviews for old users by default
The behavior for PagePreviews – implemented years ago – was different. For old users it was disabled by default. This behavior is wrong for ReferencePreviews. Bug: T271206 Change-Id: I28c43ab3348ffdc27b068fc1ac1d6a6a06ee90a6
This commit is contained in:
parent
5e22d4c317
commit
5b6ed0e580
|
@ -224,7 +224,7 @@ class PopupsHooks {
|
|||
if ( $config->get( 'PopupsReferencePreviews' ) &&
|
||||
!$config->get( 'PopupsReferencePreviewsBetaFeature' )
|
||||
) {
|
||||
$defaultOptions[PopupsContext::REFERENCE_PREVIEWS_PREFERENCE_NAME_AFTER_BETA] = $default;
|
||||
$defaultOptions[PopupsContext::REFERENCE_PREVIEWS_PREFERENCE_NAME_AFTER_BETA] = '1';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue