diff --git a/includes/CitizenHooks.php b/includes/CitizenHooks.php index 699d1609..2390977d 100644 --- a/includes/CitizenHooks.php +++ b/includes/CitizenHooks.php @@ -44,6 +44,7 @@ class CitizenHooks { $config = MediaWikiServices::getInstance()->getConfigFactory() ->makeConfig( 'Citizen' ); + $vars['wgCitizenMaxSearchResults'] = $config->get( 'CitizenMaxSearchResults' ); $vars['wgCitizenSearchExchars'] = $config->get( 'CitizenSearchExchars' ); return true;