From ce56dec7da53739f8c02e6ddf6a8e1ebe4b245b2 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 1 May 2024 21:26:37 -0300 Subject: data: WikiInfo.enableSearch, WikiInfo.searchDataAvailable --- src/upd8.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/upd8.js') diff --git a/src/upd8.js b/src/upd8.js index 258abd95..74f38ece 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2215,6 +2215,10 @@ async function main() { }); } + wikiData.wikiInfo.searchDataAvailable = + webRouteSources + .some(({to}) => to[0].startsWith('searchData')); + if (stepStatusSummary.performBuild.status === STATUS_NOT_APPLICABLE) { return true; } -- cgit 1.3.0-6-gf8a5