mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-12 00:59:46 +00:00
Oops forgot to pass the var
This commit is contained in:
parent
7e42f8c432
commit
dc454604d4
|
@ -60,6 +60,13 @@ class CitizenHooks {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
$vars['wgCitizenSearchDescriptionSource'] = $config->get( 'CitizenSearchDescriptionSource' );
|
||||||
|
} catch ( ConfigException $e ) {
|
||||||
|
// Should not happen
|
||||||
|
$vars['wgCitizenSearchDescriptionSource'] = 'textextracts';
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$vars['wgCitizenMaxSearchResults'] = $config->get( 'CitizenMaxSearchResults' );
|
$vars['wgCitizenMaxSearchResults'] = $config->get( 'CitizenMaxSearchResults' );
|
||||||
} catch ( ConfigException $e ) {
|
} catch ( ConfigException $e ) {
|
||||||
|
@ -67,13 +74,6 @@ class CitizenHooks {
|
||||||
$vars['wgCitizenMaxSearchResults'] = 6;
|
$vars['wgCitizenMaxSearchResults'] = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
$vars['wgCitizenSearchExchars'] = $config->get( 'CitizenSearchExchars' );
|
|
||||||
} catch ( ConfigException $e ) {
|
|
||||||
// Should not happen
|
|
||||||
$vars['wgCitizenSearchExchars'] = 60;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue