mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 00:06:49 +00:00
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:
parent
6089bf9fa8
commit
fe81f28aae
|
@ -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' ),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue