From 32ffddb2aad290a46f11b0cc5400472bbccf2e06 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Fri, 12 Mar 2021 14:33:28 -0500 Subject: [PATCH] doc: add remark on CitizenSearchDescriptionSource REST API search endpoint does not provide access to textextract and pagedescription value. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d25af69..fc64d751 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Name | Description | Values | Default :--- | :--- | :--- | :--- `$wgCitizenEnableSearch` | Enable or disable rich search suggestions |`true` - enable; `false` - disable | `true` `$wgCitizenUseREST` | Enable or disable the use of REST API search endpoint |`true` - enable; `false` - disable | `false` -`$wgCitizenSearchDescriptionSource` | Source of description text on search suggestions | `wikidata` - Use description provided by [WikibaseLib](Extension:WikibaseLib) or [ShortDescription](https://www.mediawiki.org/wiki/Extension:ShortDescription); `textextracts` - Use description provided by [TextExtracts](https://www.mediawiki.org/wiki/Extension:TextExtracts); `pagedescription` - Use description provided by [Description2](https://www.mediawiki.org/wiki/Extension:Description2) or any other extension that sets the `description` page property | `textextracts` +`$wgCitizenSearchDescriptionSource` | Source of description text on search suggestions (only takes effect if `$wgCitizenUseREST` is false) | `wikidata` - Use description provided by [WikibaseLib](Extension:WikibaseLib) or [ShortDescription](https://www.mediawiki.org/wiki/Extension:ShortDescription); `textextracts` - Use description provided by [TextExtracts](https://www.mediawiki.org/wiki/Extension:TextExtracts); `pagedescription` - Use description provided by [Description2](https://www.mediawiki.org/wiki/Extension:Description2) or any other extension that sets the `description` page property | `textextracts` `$wgCitizenMaxSearchResults` | Max number of search suggestions | Integer > 0 | `6` ### Image lazyload