mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 06:24:22 +00:00
Enabled search description #2
This commit is contained in:
parent
0566166753
commit
676ff4e25c
|
@ -215,7 +215,7 @@ window.WMTypeAhead = function(appendTo, searchInput) { // eslint-disable-line no
|
||||||
format: 'json',
|
format: 'json',
|
||||||
generator: 'prefixsearch',
|
generator: 'prefixsearch',
|
||||||
prop: 'pageprops|pageimages|extracts',
|
prop: 'pageprops|pageimages|extracts',
|
||||||
exlimit: '1',
|
exlimit: '6',
|
||||||
exintro: 1,
|
exintro: 1,
|
||||||
exchars: '100',
|
exchars: '100',
|
||||||
explaintext: 1,
|
explaintext: 1,
|
||||||
|
@ -294,7 +294,7 @@ window.WMTypeAhead = function(appendTo, searchInput) { // eslint-disable-line no
|
||||||
|
|
||||||
page = suggestions[i];
|
page = suggestions[i];
|
||||||
// Changed to TextExtracts
|
// Changed to TextExtracts
|
||||||
pageDescription = page.extracts || '';
|
pageDescription = page.extract || '';
|
||||||
|
|
||||||
// Ensure that the value from the previous iteration isn't used
|
// Ensure that the value from the previous iteration isn't used
|
||||||
sanitizedThumbURL = false;
|
sanitizedThumbURL = false;
|
||||||
|
|
Loading…
Reference in a new issue