Merge "Enable configuration to supply options for Special:Search form"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 23 May 2019 14:48:55 +0000 (14:48 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 23 May 2019 14:48:55 +0000 (14:48 +0000)
1  2 
includes/DefaultSettings.php

@@@ -8497,7 -8497,6 +8497,7 @@@ $wgExternalDiffEngine = false
   * See $wgExternalDiffEngine.
   *
   * @since 1.30
 + * @deprecated since 1.34
   */
  $wgWikiDiff2MovedParagraphDetectionCutoff = 0;
  
@@@ -9083,6 -9082,17 +9083,17 @@@ $wgReportToEndpoints = []
   */
  $wgFeaturePolicyReportOnly = [];
  
+ /**
+  * Options for Special:Search completion widget form created by SearchFormWidget class.
+  * Settings that can be used:
+  * - showDescriptions: true/false - whether to show opensearch description results
+  * - performSearchOnClick:  true/false - whether to perform search on click
+  * See also TitleWidget.js UI widget.
+  * @since 1.34
+  * @var array
+  */
+ $wgSpecialSearchFormOptions = [];
  /**
   * For really cool vim folding this needs to be at the end:
   * vim: foldmarker=@{,@} foldmethod=marker