Skip to content

Commit

Permalink
fix(search): 馃悰 undefined wgScript config
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Aug 4, 2023
1 parent 4b1a39e commit 69163be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/Hooks/ResourceLoaderHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public static function getCitizenSearchResourceLoaderConfig(
'wgCitizenSearchGateway' => $config->get( 'CitizenSearchGateway' ),
'wgCitizenSearchDescriptionSource' => $config->get( 'CitizenSearchDescriptionSource' ),
'wgCitizenMaxSearchResults' => $config->get( 'CitizenMaxSearchResults' ),
'wgScript' => $config->get( 'Script' ),
'wgScriptPath' => $config->get( 'ScriptPath' ),
'wgSearchSuggestCacheExpiry' => $config->get( 'SearchSuggestCacheExpiry' ),
'isMediaSearchExtensionEnabled' => ExtensionRegistry::getInstance()->isLoaded( 'MediaSearch' ),
Expand Down

0 comments on commit 69163be

Please sign in to comment.