Add Realtime Preview vars to the virtual package's versionCallback

This should fix the caching issue we're seeing on Beta

Follow-Up: Iaf49f076c5a290ab9049267b0aede1e6b13a9136
Change-Id: Ibe2fc1b48f4ccc22138f6c16d8170a74500d68e6
This commit is contained in:
MusikAnimal 2022-03-30 16:54:15 -04:00
parent 6089bf9fa8
commit fe81f28aae

View file

@ -370,7 +370,9 @@ class Hooks implements
public static function getModuleDataSummary( ResourceLoaderContext $context, Config $config ) {
return [
'magicWords' => self::getMagicWords(),
'signature' => self::getSignatureMessage( $context, true )
'signature' => self::getSignatureMessage( $context, true ),
'realtimeDebounce' => $config->get( 'WikiEditorRealtimePreviewDebounce' ),
'realtimeDisableDuration' => $config->get( 'WikiEditorRealtimeDisableDuration' ),
];
}